/*
Theme Name: TEQ District
Theme URI: https://teqdistrict.com
Description: Editorial WordPress theme for TEQ District — connected fleet intelligence (fleet telematics, AI video, fuel management, IoT connectivity, cargo tracking).
Version: 4.4.2
Requires at least: 6.3
Requires PHP: 7.4
Author: Design Corner
Author URI: https://designcorner.co.ke
License: GPL v2 or later
Text Domain: teq-district
*/


/* ==========================================================================
   FONTS — Manrope, self-hosted (SIL OFL, see assets/fonts/OFL-LICENSE.txt).
   Manrope is the only typeface. Two-tone headlines pair 300 (light) with 800.
   ========================================================================== */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 300; font-display: swap; src: url('assets/fonts/manrope-latin-ext-300-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 300; font-display: swap; src: url('assets/fonts/manrope-latin-300-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/manrope-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/manrope-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/manrope-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/manrope-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/manrope-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/manrope-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/manrope-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/manrope-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/manrope-latin-ext-800-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/manrope-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   0. TOKENS
   ========================================================================== */
:root {
  /* Brand */
  --green: #79bd42;          /* TEQ green — accents, active states, interaction */
  --green-deep: #3e6b1d;     /* green for small text on light grounds (AA) */
  --ink: #111214;
  --ink-soft: #2a2c2f;

  /* Grounds */
  --paper: #f7f6f2;          /* warm off-white base */
  --paper-2: #efede6;        /* alternate section */
  --white: #ffffff;
  --night: #0e0f10;          /* dark sections + footer */

  /* Text */
  --muted: #5d605c;          /* 5.6:1 on paper */
  --slate: #6b7d90;          /* light half of two-tone headlines (large text) */
  --light: #f3f2ee;
  --light-muted: rgba(243, 242, 238, 0.7);

  /* Lines */
  --line: rgba(17, 18, 20, 0.12);
  --line-strong: rgba(17, 18, 20, 0.28);
  --line-light: rgba(255, 255, 255, 0.16);

  /* Type */
  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  /* Scale (Manrope). Hierarchy comes from composition first, size second. */
  --f-hero: clamp(2.25rem, 1.45rem + 2.4vw, 3.625rem);       /* 36 → 58 */
  --f-display: var(--f-hero);
  --f-page: var(--f-hero);
  --f-statement: clamp(1.75rem, 1.35rem + 1.25vw, 2.5rem);   /* primary H2 28 → 40 */
  --f-title: clamp(1.5rem, 1.25rem + 0.8vw, 2rem);           /* secondary H2 24 → 32 */
  --f-h3: clamp(1.25rem, 1.12rem + 0.4vw, 1.5rem);           /* H3 20 → 24 */
  --f-lead: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);      /* 17 → 19 */
  --f-body: 1.0625rem;                                       /* 17 */
  --f-small: 0.875rem;

  /* Reading widths */
  --measure: 620px;
  --measure-s: 520px;
  --measure-h: 700px;

  /* Layout — 1280px container, 32px / 20px side padding */
  --max: 1216px;
  --gutter: clamp(1.25rem, 2.6vw, 2rem);
  --col-gap: clamp(1rem, 2vw, 1.75rem);
  --section: clamp(4.5rem, 2.6rem + 5.6vw, 8.5rem);
  --header-h: 76px;
  --radius: 16px;      /* images */
  --radius-card: 12px; /* cards */
  --radius-btn: 8px;   /* buttons */

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (max-width: 1023px) {
  :root { --header-h: 64px; }
}

/* ==========================================================================
   1. BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--f-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
:where(ul[class], ol[class]) { list-style: none; padding: 0; }
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
strong { font-weight: 600; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }

::selection { background: var(--green); color: var(--night); }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.teq-skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  text-decoration: none;
}
.teq-skip-link:focus { top: 1rem; }

.teq-anchor { display: block; height: 0; }

/* ==========================================================================
   2. LAYOUT PRIMITIVES
   ========================================================================== */
.teq-container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.teq-section { padding-block: var(--section); }
.teq-section--tight { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.teq-tone-paper { background: var(--paper-2); }
.teq-tone-ink { background: var(--night); color: var(--light); }

/* ==========================================================================
   3. TYPE ATOMS
   ========================================================================== */
.teq-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.teq-label::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--green);
}
.teq-label--light { color: rgba(255, 255, 255, 0.82); }

.teq-statement {
  font-size: var(--f-statement);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 500;
  max-width: var(--measure-h);
  text-wrap: balance;
}
.teq-statement--light { color: var(--white); }

/* Two-tone headline — Manrope 300 + 800 (teq_tt(): "Light|Strong") */
.teq-tt-light { font-weight: 300; color: var(--slate); }
.teq-tt-strong { font-weight: 700; color: var(--ink); }
.teq-hero .teq-tt-light,
.teq-panel .teq-tt-light,
.teq-tone-ink .teq-tt-light,
.teq-cta-band .teq-tt-light { color: rgba(255, 255, 255, 0.74); }
.teq-panel .teq-tt-strong,
.teq-tone-ink .teq-tt-strong,
.teq-cta-band .teq-tt-strong { color: var(--white); }
/* Hero: strong line drops below and indents, in TEQ green */
/* Hero: both lines start at the same left edge; strong line in TEQ green */
.teq-hero__title .teq-tt-light,
.teq-hero__title .teq-tt-strong { display: block; padding: 0; margin: 0; }
.teq-hero__title .teq-tt-strong { color: var(--green); }

.teq-lead {
  margin-top: 1.5rem;
  font-size: var(--f-lead);
  line-height: 1.6;
  color: var(--muted);
  max-width: var(--measure);
}

/* ==========================================================================
   4. ACTIONS
   ========================================================================== */
.teq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 1.25rem;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--ink);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.teq-btn .teq-icon { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.teq-btn:hover { background: var(--green); color: var(--night); }
.teq-btn:hover .teq-icon { transform: translateX(3px); }
.teq-btn--light { background: var(--white); color: var(--ink); }

.teq-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.teq-link__text {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.4s var(--ease);
}
.teq-link__icon { display: inline-flex; color: var(--green-deep); }
.teq-link__icon .teq-icon { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.teq-link:hover .teq-link__text { background-size: 100% 1px; }
.teq-link:hover .teq-link__icon .teq-icon { transform: translateX(3px); }
.teq-link--light { color: var(--white); }
.teq-link--light .teq-link__icon { color: var(--green); }

.teq-round-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.teq-round-btn .teq-icon { width: 18px; height: 18px; }
.teq-round-btn:hover { background: var(--green); border-color: var(--green); color: var(--night); }
.teq-round-btn:disabled { opacity: 0.35; pointer-events: none; }

.teq-text-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 1rem;
  padding: 0;
  border: 0;
  background: none;
  font-size: var(--f-small);
  font-weight: 500;
}
.teq-text-btn .teq-icon { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.teq-text-btn:hover .teq-icon { transform: translateX(3px); }
html:not(.js) .teq-text-btn { display: none; }

/* ==========================================================================
   5. HEADER + NAVIGATION
   ========================================================================== */
.teq-header {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 100;
  color: var(--ink);
  background: rgba(247, 246, 242, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

/* The header is fixed on every page; pages without an image hero get room for it. */
body:not(.teq-has-hero) .teq-header { position: fixed; left: 0; right: 0; }
body:not(.teq-has-hero) .teq-site-content { padding-top: var(--header-h); }

/* Over an image hero: transparent until the page scrolls. */
.teq-has-hero .teq-header {
  position: fixed;
  left: 0;
  right: 0;
  color: var(--white);
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.teq-has-hero .teq-header.is-solid,
.teq-has-hero.teq-menu-open .teq-header {
  color: var(--ink);
  background: rgba(247, 246, 242, 0.94);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}

.teq-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: calc(var(--max) + 2 * var(--gutter));
  height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.teq-header-logo { display: flex; align-items: center; flex: none; }
.teq-header-logo img { width: auto; height: 38px; }

.teq-header-nav { display: flex; align-items: center; gap: 0.25rem; }

.teq-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 0.8rem;
  border: 0;
  background: none;
  font-size: 0.90625rem;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  letter-spacing: -0.005em;
}
.teq-nav-item::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.teq-nav-item:hover::after,
.teq-mega-trigger[aria-expanded="true"]::after { transform: scaleX(1); }
.teq-nav-chevron { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.teq-mega-trigger[aria-expanded="true"] .teq-nav-chevron { transform: rotate(180deg); }

.teq-nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-left: 0.75rem;
  padding: 0 1rem;
  border: 1px solid currentColor;
  border-radius: var(--radius-btn);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.teq-nav-cta:hover { background: var(--green); border-color: var(--green); color: var(--night); }

/* On scroll: a floating capsule, centred — 50% of the screen on wide
   displays (never narrower than the nav needs), 25px inner side padding. */
.teq-header .teq-header-inner {
  transition: width 0.45s var(--ease), max-width 0.45s var(--ease), height 0.45s var(--ease), border-radius 0.45s var(--ease), background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), padding 0.45s var(--ease);
}
.teq-header.is-solid,
.teq-has-hero .teq-header.is-solid {
  padding-top: 12px;
  color: var(--ink);
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.teq-header.is-solid .teq-header-inner {
  width: max(50%, 880px);
  max-width: calc(100% - 48px);
  height: 60px;
  padding: 0 25px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 10px 30px -12px rgba(17, 18, 20, 0.22), 0 0 0 1px rgba(17, 18, 20, 0.06);
}
.teq-header.is-solid .teq-header-logo img { height: 30px; }
.teq-header.is-solid .teq-nav-cta { background: var(--ink); border-color: var(--ink); color: var(--white); border-radius: 999px; }
.teq-header.is-solid .teq-nav-cta:hover { background: var(--green); border-color: var(--green); color: var(--night); }
.teq-header.is-solid .teq-mega-menu { top: calc(100% + 18px); }

/* Mega menus */
.teq-mega-trigger-wrapper { position: relative; }
.teq-mega-trigger-wrapper::before { /* hover bridge */
  content: "";
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 20px;
}
.teq-mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 10;
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding: 2rem 2.25rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 48px -28px rgba(17, 18, 20, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.25s;
}
.teq-mega-trigger-wrapper:hover .teq-mega-menu,
.teq-mega-trigger-wrapper:focus-within .teq-mega-menu,
.teq-mega-trigger-wrapper.is-open .teq-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease);
}
.teq-mega-trigger-wrapper.is-closed .teq-mega-menu { opacity: 0; visibility: hidden; }

.teq-mega-column { display: flex; flex-direction: column; min-width: 190px; }
.teq-mega-col-title {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.teq-mega-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s var(--ease), transform 0.3s var(--ease);
}
.teq-mega-item .teq-icon { width: 18px; height: 18px; color: var(--green-deep); flex: none; }
.teq-mega-item:hover { color: var(--ink); transform: translateX(3px); }
.teq-mega-divider { width: 1px; align-self: stretch; background: var(--line); }
.teq-mega-menu-company { flex-direction: column; gap: 0.25rem; min-width: 220px; padding: 1.25rem 1.75rem; }

/* Hamburger */
.teq-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  margin-right: -12px;
  padding: 12px;
  border: 0;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  transition: background-color 0.3s var(--ease);
}
.teq-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.teq-hamburger:hover {
  background-color: var(--green-deep);
}
.teq-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.teq-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.teq-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu */
.teq-mobile-menu { display: none; }

@media (max-width: 1100px) {
  .teq-nav-item { padding: 0 0.6rem; }
  .teq-nav-item::after { left: 0.6rem; right: 0.6rem; }
}

@media (max-width: 1023px) {
  /* backdrop-filter would become the containing block of the fixed mobile menu */
  .teq-header,
  .teq-has-hero .teq-header.is-solid,
  .teq-has-hero.teq-menu-open .teq-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .teq-header,
  .teq-has-hero .teq-header.is-solid,
  .teq-has-hero.teq-menu-open .teq-header { background-color: rgba(247, 246, 242, 0.98); }
  .teq-has-hero .teq-header:not(.is-solid) { background-color: transparent; }
  .teq-header.is-solid,
  .teq-has-hero .teq-header.is-solid { background-color: transparent; }
  .teq-header.is-solid .teq-header-inner { width: calc(100% - 24px); max-width: none; height: 56px; padding: 0 12px 0 20px; background: rgba(255, 255, 255, 0.97); }
  .teq-menu-open .teq-header,
  .teq-menu-open .teq-header.is-solid { padding-top: 0; background: var(--paper); }
  .teq-menu-open .teq-header.is-solid .teq-header-inner { width: 100%; height: var(--header-h); border-radius: 0; box-shadow: none; background: transparent; padding: 0 var(--gutter); }
  .teq-has-hero.teq-menu-open .teq-header { background-color: var(--paper); }
  .teq-header-nav { display: none; }
  .teq-hamburger { display: flex; }
  .teq-header-logo img { height: 32px; }

  .teq-mobile-menu {
    display: block;
    position: fixed;
    top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 0px));
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    color: var(--ink);
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.3s;
  }
  .teq-mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
  }
  .teq-mobile-menu__inner { padding: 0.5rem var(--gutter) 3rem; }

  .teq-mobile-nav-item,
  .teq-mobile-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 64px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: none;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    text-align: left;
    text-decoration: none;
  }
  .teq-mobile-dropdown-trigger .teq-icon { width: 20px; height: 20px; transition: transform 0.3s var(--ease); }
  .teq-mobile-dropdown-trigger[aria-expanded="true"] .teq-icon { transform: rotate(180deg); }
  .teq-mobile-dropdown-menu { display: none; padding: 0.5rem 0 1rem; border-bottom: 1px solid var(--line); }
  .teq-mobile-dropdown-menu.is-open { display: block; }
  .teq-mobile-dropdown-item {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-size: 1rem;
    color: var(--ink-soft);
    text-decoration: none;
  }
  .teq-mobile-dropdown-item--muted { color: var(--muted); font-size: 0.9375rem; }
  .teq-mobile-cta { width: 100%; margin-top: 2rem; }
  .teq-hero__actions .teq-btn { width: auto; }

  body.teq-menu-open { overflow: hidden; }
}

/* ==========================================================================
   6. HERO
   ========================================================================== */
.teq-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: var(--night);
}
.teq-hero--service { min-height: 88vh; min-height: 88svh; }

.teq-hero__media { position: absolute; inset: 0; z-index: -2; }
.teq-hero__media picture,
.teq-hero__media img,
.teq-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 55%;
}
.teq-hero--home .teq-hero__img { object-position: 72% 50%; }
.teq-hero--service .teq-hero__shade { background-color: rgba(8, 9, 10, 0.12); }

@media (prefers-reduced-motion: no-preference) {
  .teq-hero__img { animation: teq-hero-settle 2.4s var(--ease) both; }
}
@keyframes teq-hero-settle {
  from { transform: scale(1.07); }
  to { transform: scale(1); }
}

.teq-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 9, 10, 0.45) 0%, rgba(8, 9, 10, 0) 22%),
    linear-gradient(0deg, rgba(8, 9, 10, 0.78) 0%, rgba(8, 9, 10, 0.36) 32%, rgba(8, 9, 10, 0) 58%),
    linear-gradient(90deg, rgba(8, 9, 10, 0.32) 0%, rgba(8, 9, 10, 0) 55%);
}

.teq-hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: clamp(3rem, 2rem + 4.5vw, 6.5rem);
}

.teq-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "label"
    "title"
    "aside";
  align-items: end;
  column-gap: clamp(2rem, 5vw, 6rem);
}
.teq-hero__label { grid-area: label; }
.teq-hero__title {
  grid-area: title;
  font-size: var(--f-hero);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 500;
  max-width: 13ch;
  text-wrap: balance;
}
.teq-hero--home .teq-hero__title { max-width: 20ch; }
.teq-story-page .teq-hero__title { max-width: 22ch; } /* long, two-part headline */
.teq-hero__aside { grid-area: aside; margin-top: 1.5rem; max-width: 34rem; }
.teq-hero__text {
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  max-width: var(--measure-s);
}
.teq-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
  margin-top: 2rem;
}
.teq-hero__actions .teq-link { margin-top: 0; }

.teq-hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
.teq-hero__scroll-line {
  position: relative;
  width: 1px;
  height: 44px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
}
.teq-hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateY(-100%);
}
@media (prefers-reduced-motion: no-preference) {
  .teq-hero__scroll-line::after { animation: teq-scroll-line 2.4s var(--ease) infinite; }
}
@keyframes teq-scroll-line {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* Breadcrumbs */
.teq-breadcrumbs { font-size: 0.8125rem; color: var(--muted); }
.teq-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; }
.teq-breadcrumbs li { display: inline-flex; align-items: center; }
.teq-breadcrumbs li + li::before { content: "/"; margin: 0 0.6rem; opacity: 0.5; }
.teq-breadcrumbs a { text-decoration: none; }
.teq-breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.teq-breadcrumbs [aria-current] { color: var(--ink); }
.teq-breadcrumbs--hero { margin-bottom: auto; padding-top: 1.5rem; color: rgba(255, 255, 255, 0.7); }
.teq-breadcrumbs--hero a:hover,
.teq-breadcrumbs--hero [aria-current] { color: var(--white); }
.teq-breadcrumbs--hero + .teq-hero__content { margin-top: 3rem; }

@media (max-width: 899px) {
  .teq-hero { min-height: 86vh; min-height: 86svh; }
  .teq-hero--service { min-height: 74vh; min-height: 74svh; }
  .teq-hero__content { grid-template-columns: 1fr; grid-template-areas: "label" "title" "aside"; }
  .teq-hero__aside { margin-top: 1.75rem; max-width: 34rem; }
  .teq-hero__scroll { display: none; }
  .teq-hero__shade {
    background:
      linear-gradient(180deg, rgba(8, 9, 10, 0.55) 0%, rgba(8, 9, 10, 0) 24%),
      linear-gradient(0deg, rgba(8, 9, 10, 0.9) 0%, rgba(8, 9, 10, 0.6) 45%, rgba(8, 9, 10, 0.1) 80%);
  }
}

/* ==========================================================================
   7. PAGE HEAD (pages without an image hero)
   ========================================================================== */
.teq-page-head {
  padding-top: clamp(3rem, 2rem + 6vw, 8rem);
  padding-bottom: clamp(2.5rem, 1.5rem + 4vw, 5.5rem);
  border-bottom: 1px solid var(--line);
}
.teq-page-head .teq-breadcrumbs { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.teq-page-head__title {
  font-size: var(--f-hero);
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 14ch;
  text-wrap: balance;
}

/* ==========================================================================
   8. INTRO (label + statement + numbered points)
   ========================================================================== */
/* ALIGNMENT RULE: every section head is flush-left — label, then heading,
   then lead — all starting on the container's left edge. Nothing centred. */
.teq-intro__head,
.teq-industries__head,
.teq-values__head,
.teq-steps__head,
.teq-beliefs__head,
.teq-components__head,
.teq-solutions__head,
.teq-impact__head,
.teq-timeline__head,
.teq-quotes__head,
.teq-related__head,
.teq-faq__head {
  display: block;
  max-width: var(--measure-h);
  text-align: left;
}
.teq-intro__head > .teq-label,
.teq-industries__head > .teq-label,
.teq-values__head > .teq-label,
.teq-steps__head > .teq-label,
.teq-beliefs__head > .teq-label,
.teq-components__head > .teq-label { margin-top: 0; }
.teq-intro .teq-statement { max-width: 22ch; }

.teq-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--col-gap);
  margin-top: clamp(3rem, 2rem + 3vw, 5rem);
}
.teq-points--three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 3rem; }
.teq-points--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.teq-principles .teq-points { margin-top: 0; }
.teq-points--two .teq-point { padding: 2rem 2rem 2.25rem; }
.teq-points--two .teq-point__top { margin-bottom: 2rem; }
.teq-points--two .teq-point__title { font-size: clamp(1.25rem, 1.1rem + 0.45vw, 1.5rem); letter-spacing: -0.02em; }
.teq-points--two .teq-point__text { margin-top: 0.875rem; font-size: 1rem; max-width: 52ch; }
.teq-point {
  padding: 1.75rem 1.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius-card);
}
.teq-tone-paper .teq-point { background: var(--paper); }
.teq-point__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2.5rem; }
.teq-point__num { font-size: 0.8125rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.teq-point__icon { width: 22px; height: 22px; color: var(--green-deep); }
.teq-point__title { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.teq-point__text { margin-top: 0.625rem; font-size: 0.9375rem; line-height: 1.6; color: var(--muted); }

/* Services index */
.teq-index { margin-top: clamp(5rem, 3rem + 7vw, 10rem); }
.teq-index--standalone { margin-top: 0; }
.teq-index__list { border-top: 1px solid var(--line-strong); }
.teq-index__row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1.15fr) minmax(0, 1fr) 48px;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.4rem, 1rem + 1.2vw, 2.25rem) 0;
  border-bottom: 1px solid var(--line-strong);
  text-decoration: none;
}
.teq-index__num { font-size: 0.8125rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.teq-index__name {
  font-size: var(--f-h3);
  letter-spacing: -0.025em;
  line-height: 1.15;
  transition: transform 0.5s var(--ease);
}
.teq-index__text { font-size: 0.9375rem; color: var(--muted); max-width: 46ch; }
.teq-index__arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.teq-index__arrow .teq-icon { width: 18px; height: 18px; }
.teq-index__row:hover .teq-index__name { transform: translateX(10px); }
.teq-index__row:hover .teq-index__arrow { background: var(--green); border-color: var(--green); transform: rotate(45deg); }

/* ==========================================================================
   9. STORY (alternating image / text)
   ========================================================================== */
.teq-story { padding-block: clamp(3.5rem, 2rem + 4vw, 6.5rem); }
.teq-story--compact { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }

.teq-story__grid {
  --track: calc((min(100vw, var(--max) + 2 * var(--gutter)) - 2 * var(--gutter) - 11 * var(--col-gap)) / 12);
  display: grid;
  grid-template-columns:
    [full-start] minmax(calc(var(--gutter) - var(--col-gap)), 1fr)
    repeat(12, minmax(0, var(--track)))
    minmax(calc(var(--gutter) - var(--col-gap)), 1fr) [full-end];
  column-gap: var(--col-gap);
  align-items: center;
}
/* lines: 1 = full-start, 2 = col 1 … 14 = after col 12, 15 = full-end */
.teq-story__media { grid-column: 2 / 8; grid-row: 1; position: relative; overflow: hidden; aspect-ratio: 5 / 4; max-height: 82vh; border-radius: var(--radius); background: var(--paper-2); }
.teq-story__copy { grid-column: 9 / 14; grid-row: 1; }
.teq-story--reverse .teq-story__media { grid-column: 8 / 14; }
.teq-story--reverse .teq-story__copy { grid-column: 2 / 7; }

.teq-story--compact .teq-story__media { grid-column: 2 / 8; aspect-ratio: 5 / 4; }
.teq-story--compact .teq-story__copy { grid-column: 9 / 14; }
.teq-story--compact.teq-story--reverse .teq-story__media { grid-column: 8 / 14; }
.teq-story--compact.teq-story--reverse .teq-story__copy { grid-column: 2 / 7; }

.teq-story__media picture,
.teq-story__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }

.teq-story__title {
  font-size: var(--f-title);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 18ch;
  text-wrap: balance;
}
h3.teq-story__title { font-size: var(--f-h3); letter-spacing: -0.02em; line-height: 1.15; }
.teq-story__sub { margin-top: 1rem; font-size: var(--f-lead); font-weight: 500; letter-spacing: -0.01em; color: var(--ink); max-width: var(--measure-s); }
.teq-story__text { margin-top: 1.25rem; font-size: 1.0625rem; color: var(--muted); max-width: var(--measure-s); }

.teq-mini-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem var(--col-gap);
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.teq-mini-features__title { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.teq-mini-features p { margin-top: 0.4rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted); }
.teq-mini-features--compact { margin-top: 2rem; padding-top: 1.5rem; }

.teq-ruled-list { margin-top: 2rem; border-top: 1px solid var(--line); }
.teq-ruled-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.teq-ruled-list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.teq-tone-paper .teq-story__media { background: var(--paper); }

/* Variant: contained — image sits inside the container with a soft radius */
.teq-story--contained .teq-story__media { grid-column: 2 / 8; border-radius: var(--radius); aspect-ratio: 5 / 4; }
.teq-story--contained .teq-story__copy { grid-column: 9 / 14; }
.teq-story--contained.teq-story--reverse .teq-story__media { grid-column: 8 / 14; }
.teq-story--contained.teq-story--reverse .teq-story__copy { grid-column: 2 / 7; }

/* Variant: wide — larger image, smaller text column */
.teq-story--wide .teq-story__media { grid-column: 2 / 10; aspect-ratio: 16 / 10; }
.teq-story--wide .teq-story__copy { grid-column: 10 / 14; padding-left: var(--col-gap); }
.teq-story--wide.teq-story--reverse .teq-story__media { grid-column: 6 / 14; }
.teq-story--wide.teq-story--reverse .teq-story__copy { grid-column: 2 / 6; padding-left: 0; padding-right: var(--col-gap); }
.teq-story--wide .teq-mini-features { grid-template-columns: 1fr; gap: 1.25rem; }

/* Variant: full — full-width visual, copy set below in two columns */
.teq-story--full .teq-story__media { grid-column: 2 / 14; grid-row: 1; aspect-ratio: 21 / 9; border-radius: var(--radius); max-height: none; }
.teq-story--full .teq-story__copy {
  grid-column: 2 / 14;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  column-gap: var(--col-gap);
  align-items: start;
  margin-top: clamp(2.5rem, 4vw, 4rem);
}
.teq-story--full .teq-story__copy > * { grid-column: 7 / -1; }
.teq-story--full .teq-story__copy > .teq-label { grid-column: 1 / -1; grid-row: 1; }
.teq-story--full .teq-story__copy > .teq-story__title { grid-column: 1 / 6; grid-row: 2 / span 6; }
.teq-story--full .teq-story__copy > .teq-story__text { margin-top: 0; }
.teq-story--full .teq-mini-features { margin-top: 2rem; }

@media (max-width: 1023px) {
  .teq-story__grid { display: block; }
  .teq-story__media { margin-inline: var(--gutter); }
  .teq-story--full .teq-story__media { aspect-ratio: 4 / 3; }
  .teq-story--full .teq-story__copy { display: block; margin-top: 0; }
  .teq-story--wide .teq-story__copy { padding-left: var(--gutter); padding-right: var(--gutter); }
  .teq-story__media { aspect-ratio: 4 / 3; max-height: none; }
  .teq-story__copy { padding: 2.5rem var(--gutter) 0; max-width: 42rem; }
}

/* ==========================================================================
   10. SECTION HEAD
   ========================================================================== */
.teq-section-head { padding-top: var(--section); padding-bottom: clamp(1rem, 3vw, 2.5rem); }
.teq-section-head__title {
  font-size: var(--f-title);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 24ch;
  text-wrap: balance;
}
.teq-section-head__inner--flush { margin-bottom: 3rem; }
.teq-intro + .teq-section-head,
.teq-logos + .teq-section-head { padding-top: 0; }

/* ==========================================================================
   11. FEATURE PANEL (dark)
   ========================================================================== */
.teq-panel { background: var(--night); color: var(--light); }
.teq-panel__text { margin-top: 1.5rem; font-size: var(--f-lead); line-height: 1.6; color: var(--light-muted); max-width: var(--measure); }
.teq-panel__text + .teq-panel__text { margin-top: 1rem; }
.teq-panel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; margin-top: 2.5rem; }
.teq-panel__actions .teq-link { margin-top: 0; }
.teq-panel__media { overflow: hidden; border-radius: var(--radius); background: #1b1c1e; }
.teq-panel__media picture,
.teq-panel__media img { width: 100%; height: 100%; object-fit: cover; }
.teq-panel__items { display: grid; gap: 2rem var(--col-gap); }
.teq-panel__items li { padding-top: 1.5rem; border-top: 1px solid var(--line-light); }
.teq-panel__item-title { font-size: 1.0625rem; font-weight: 600; color: var(--white); letter-spacing: -0.01em; line-height: 1.35; }
.teq-panel__items p { margin-top: 0.5rem; font-size: 0.9375rem; color: var(--light-muted); }

/* split: head + items left, image right */
.teq-panel--split .teq-container {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-areas: "head head head head head . media media media media media media" "items items items items items . media media media media media media";
  column-gap: var(--col-gap);
  row-gap: 3.5rem;
  align-items: start;
}
.teq-panel--split .teq-panel__head { grid-area: head; }
.teq-panel--split .teq-panel__media { grid-area: media; aspect-ratio: 4 / 5; align-self: start; width: 100%; }
.teq-panel--split .teq-panel__items { grid-area: items; grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: end; }
.teq-panel--split .teq-statement { font-size: var(--f-title); line-height: 1.1; letter-spacing: -0.03em; }

/* wide: platform */
.teq-panel--wide .teq-panel__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: end;
}
.teq-panel--wide .teq-panel__head > .teq-label { grid-column: 1 / -1; }
.teq-panel--wide .teq-panel__head { grid-auto-flow: dense; align-items: start; }
.teq-panel--wide .teq-panel__head > .teq-statement { grid-column: 1 / span 6; grid-row: 2 / span 4; max-width: 14ch; }
.teq-panel--wide .teq-panel__head > .teq-panel__text { grid-column: 8 / -1; margin-top: 0; font-size: 1.0625rem; }
.teq-panel--wide .teq-panel__head > .teq-panel__text + .teq-panel__text { margin-top: 1rem; }
.teq-panel--wide .teq-panel__head > .teq-panel__actions { grid-column: 8 / -1; margin-top: 2rem; }
.teq-panel--wide .teq-panel__media { margin-top: clamp(3rem, 5vw, 5rem); aspect-ratio: 16 / 8; }
.teq-panel--wide .teq-panel__media img { object-position: 50% 40%; }
.teq-panel--wide .teq-panel__items { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(2.5rem, 4vw, 4rem); }

@media (max-width: 1023px) {
  .teq-panel--split .teq-container { grid-template-columns: 1fr; grid-template-areas: "head" "media" "items"; }
  .teq-panel--split .teq-panel__media { aspect-ratio: 4 / 3; }
  .teq-panel--wide .teq-panel__head > * { grid-column: 1 / -1 !important; }
  .teq-panel--wide .teq-panel__head > .teq-panel__text { margin-top: 1.5rem; }
  .teq-panel--wide .teq-panel__media { aspect-ratio: 4 / 3; }
  .teq-panel--wide .teq-panel__items { grid-template-columns: 1fr; }
}

/* ==========================================================================
   12. INDUSTRIES — image-led entry points
   ========================================================================== */
.teq-industries__list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--col-gap);
  margin-top: clamp(3rem, 2rem + 3vw, 5rem);
}
.teq-industry { grid-column: span 2; }
.teq-industry:nth-child(4),
.teq-industry:nth-child(5) { grid-column: span 3; }
.teq-industry__card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: clamp(20rem, 30vw, 26rem);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--night);
  text-decoration: none;
}
.teq-industry:nth-child(4) .teq-industry__card,
.teq-industry:nth-child(5) .teq-industry__card { min-height: clamp(18rem, 24vw, 22rem); }
.teq-industry__media { position: absolute; inset: 0; z-index: -2; }
.teq-industry__media picture,
.teq-industry__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.teq-industry__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(8, 9, 10, 0.82) 0%, rgba(8, 9, 10, 0.4) 42%, rgba(8, 9, 10, 0) 70%);
}
.teq-industry__name { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.teq-industry__text { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.5; color: rgba(255, 255, 255, 0.8); max-width: 36ch; }
.teq-industry__arrow { position: absolute; top: clamp(1.25rem, 2vw, 1.75rem); right: clamp(1.25rem, 2vw, 1.75rem); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color 0.3s var(--ease); }
.teq-industry__arrow .teq-icon { width: 16px; height: 16px; }
.teq-industry__card:hover .teq-industry__media img { transform: scale(1.04); }
.teq-industry__card:hover .teq-industry__arrow { background: var(--green); color: var(--night); }

/* ==========================================================================
   13. TESTIMONIALS
   ========================================================================== */
.teq-quotes__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.teq-quotes__head .teq-label { width: 100%; margin-bottom: 0; }
.teq-quotes__title { font-size: var(--f-title); letter-spacing: -0.03em; line-height: 1.1; }
.teq-quotes__nav { display: flex; align-items: center; gap: 0.75rem; }
.teq-quotes__nav[hidden] { display: none; }
.teq-quotes__count { min-width: 3.5rem; font-size: 0.875rem; text-align: center; font-variant-numeric: tabular-nums; color: var(--muted); }

.teq-quotes__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: var(--col-gap);
  margin-top: clamp(3rem, 5vw, 5rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.teq-quotes__track::-webkit-scrollbar { display: none; }
.teq-quotes__track:focus-visible { outline-offset: 8px; }
.teq-quote { scroll-snap-align: start; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.teq-quote__text { grid-column: 1 / span 9; position: relative; }
.teq-quote__text::before {
  content: "\201C";
  display: block;
  height: 0.5em;
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--green);
}
.teq-quote__text p {
  font-size: clamp(1.375rem, 1.05rem + 1vw, 2rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-weight: 400;
  text-wrap: pretty;
}
.teq-quote__author { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; margin-top: clamp(2rem, 4vw, 3.5rem); }
.teq-quote__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.teq-quote__name { display: block; font-weight: 600; font-size: 0.9375rem; }
.teq-quote__role { display: block; font-size: 0.875rem; color: var(--muted); }

/* ==========================================================================
   14. TABS (Fleet Solutions, Fuel features) — CSS-only radio tabs
   ========================================================================== */
.teq-solutions__head { max-width: 52rem; }
.teq-tabs-root {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(3rem, 6vw, 5.5rem);
}
.teq-tab-radio {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.teq-tab-labels { grid-column: 1; grid-row: 1; align-self: start; border-top: 1px solid var(--line-strong); }
.teq-tab-label {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  min-height: 48px;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s var(--ease);
}
.teq-tab-label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.teq-tab-label:hover { color: var(--ink); }
.teq-tab-label__num { font-size: 0.8125rem; letter-spacing: 0; font-variant-numeric: tabular-nums; color: var(--muted); }

.teq-tab-panel { grid-column: 2; grid-row: 1; display: none; }
.teq-tab-panel__media { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--paper-2); }
.teq-tab-panel__media picture,
.teq-tab-panel__media img { width: 100%; height: 100%; object-fit: cover; }
.teq-tab-panel__copy { max-width: 46rem; }
.teq-tab-panel__title { font-size: var(--f-h3); letter-spacing: -0.02em; }
.teq-tab-panel__text { margin-top: 0.875rem; color: var(--muted); max-width: var(--measure); }

/* active state per index (any tab group, up to 6 tabs) */
.teq-tab-radio[data-i="0"]:checked ~ .teq-tab-panel[data-tab="0"],
.teq-tab-radio[data-i="1"]:checked ~ .teq-tab-panel[data-tab="1"],
.teq-tab-radio[data-i="2"]:checked ~ .teq-tab-panel[data-tab="2"],
.teq-tab-radio[data-i="3"]:checked ~ .teq-tab-panel[data-tab="3"],
.teq-tab-radio[data-i="4"]:checked ~ .teq-tab-panel[data-tab="4"],
.teq-tab-radio[data-i="5"]:checked ~ .teq-tab-panel[data-tab="5"] { display: contents; }

/* Layout: tab list + the active industry's image stacked on the left;
   the industry text runs top-down in the right column. */
.teq-tab-panel__media { grid-column: 1; grid-row: 2; margin-top: 2rem; animation: teq-fade-up 0.6s var(--ease) both; }
.teq-tab-panel__copy { grid-column: 2; grid-row: 1 / span 2; align-self: start; padding-top: 0; animation: teq-fade-up 0.6s var(--ease) both; }

.teq-tab-radio[data-i="0"]:checked ~ .teq-tab-labels .teq-tab-label[data-i="0"],
.teq-tab-radio[data-i="1"]:checked ~ .teq-tab-labels .teq-tab-label[data-i="1"],
.teq-tab-radio[data-i="2"]:checked ~ .teq-tab-labels .teq-tab-label[data-i="2"],
.teq-tab-radio[data-i="3"]:checked ~ .teq-tab-labels .teq-tab-label[data-i="3"],
.teq-tab-radio[data-i="4"]:checked ~ .teq-tab-labels .teq-tab-label[data-i="4"],
.teq-tab-radio[data-i="5"]:checked ~ .teq-tab-labels .teq-tab-label[data-i="5"] { color: var(--ink); font-weight: 600; }

.teq-tab-radio[data-i="0"]:checked ~ .teq-tab-labels .teq-tab-label[data-i="0"]::after,
.teq-tab-radio[data-i="1"]:checked ~ .teq-tab-labels .teq-tab-label[data-i="1"]::after,
.teq-tab-radio[data-i="2"]:checked ~ .teq-tab-labels .teq-tab-label[data-i="2"]::after,
.teq-tab-radio[data-i="3"]:checked ~ .teq-tab-labels .teq-tab-label[data-i="3"]::after,
.teq-tab-radio[data-i="4"]:checked ~ .teq-tab-labels .teq-tab-label[data-i="4"]::after,
.teq-tab-radio[data-i="5"]:checked ~ .teq-tab-labels .teq-tab-label[data-i="5"]::after { transform: scaleX(1); }

.teq-tab-radio[data-i="0"]:focus-visible ~ .teq-tab-labels .teq-tab-label[data-i="0"],
.teq-tab-radio[data-i="1"]:focus-visible ~ .teq-tab-labels .teq-tab-label[data-i="1"],
.teq-tab-radio[data-i="2"]:focus-visible ~ .teq-tab-labels .teq-tab-label[data-i="2"],
.teq-tab-radio[data-i="3"]:focus-visible ~ .teq-tab-labels .teq-tab-label[data-i="3"],
.teq-tab-radio[data-i="4"]:focus-visible ~ .teq-tab-labels .teq-tab-label[data-i="4"],
.teq-tab-radio[data-i="5"]:focus-visible ~ .teq-tab-labels .teq-tab-label[data-i="5"] { outline: 2px solid var(--green); outline-offset: 4px; }

@keyframes teq-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1023px) {
  .teq-tabs-root { grid-template-columns: 1fr; }
  .teq-tab-labels {
    grid-column: 1;
    display: flex;
    gap: 0.5rem;
    margin-inline: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 0.25rem;
    border: 0;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .teq-tab-labels::-webkit-scrollbar { display: none; }
  .teq-tab-label {
    flex: none;
    align-items: center;
    gap: 0.6rem;
    padding: 0 1.1rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-btn);
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
    scroll-snap-align: start;
  }
  .teq-tab-label::after { display: none; }
  .teq-tab-panel__media { grid-column: 1; grid-row: 2; margin-top: 1.5rem; }
  .teq-tab-panel__copy { grid-column: 1; grid-row: 3; padding-top: 1.75rem; }

  .teq-tab-radio[data-i="0"]:checked ~ .teq-tab-labels .teq-tab-label[data-i="0"],
  .teq-tab-radio[data-i="1"]:checked ~ .teq-tab-labels .teq-tab-label[data-i="1"],
  .teq-tab-radio[data-i="2"]:checked ~ .teq-tab-labels .teq-tab-label[data-i="2"],
  .teq-tab-radio[data-i="3"]:checked ~ .teq-tab-labels .teq-tab-label[data-i="3"],
  .teq-tab-radio[data-i="4"]:checked ~ .teq-tab-labels .teq-tab-label[data-i="4"],
  .teq-tab-radio[data-i="5"]:checked ~ .teq-tab-labels .teq-tab-label[data-i="5"] { color: var(--white); background: var(--ink); border-color: var(--ink); }
  .teq-tab-label__num { color: inherit; }
}

/* ==========================================================================
   15. RELATED SERVICES
   ========================================================================== */
.teq-related { border-top: 1px solid var(--line); }
.teq-related__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.teq-related__head .teq-label { width: 100%; margin-bottom: 0; }
.teq-related__title { font-size: var(--f-title); letter-spacing: -0.03em; }
.teq-related__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--col-gap); margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.teq-related__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.teq-related__media { display: block; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 1.25rem; border-radius: var(--radius-card); background: var(--paper-2); }
.teq-related__media picture,
.teq-related__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.teq-related__link:hover .teq-related__media img { transform: scale(1.04); }
.teq-related__label { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.02em; color: var(--muted); }
.teq-related__name { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 0.375rem; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.teq-related__name .teq-icon { flex: none; width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.teq-related__link:hover .teq-related__name .teq-icon { transform: translate(2px, -2px); color: var(--green-deep); }
.teq-related__text { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted); }

/* ==========================================================================
   16. CTA BAND
   ========================================================================== */
.teq-cta-band {
  position: relative;
  isolation: isolate;
  width: calc(100% - 2 * var(--gutter));
  max-width: var(--max);
  margin: 0 auto var(--section);
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  min-height: clamp(26rem, 62vh, 40rem);
  overflow: hidden;
  color: var(--white);
  background: var(--night);
}
/* A dark full-width section directly above the band (Our Story, Our Philosophy) gives it no breathing room — add the standard section gap. */
.teq-tone-ink + .teq-cta-band { margin-top: var(--section); }
.teq-cta-band__media { position: absolute; inset: 0; z-index: -2; }
.teq-cta-band__media picture,
.teq-cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.teq-cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(8, 9, 10, 0.82) 0%, rgba(8, 9, 10, 0.35) 55%, rgba(8, 9, 10, 0.15) 100%);
}
.teq-cta-band__inner { padding-block: clamp(4rem, 8vw, 7rem) clamp(2rem, 4vw, 3.5rem); padding-inline: clamp(1.5rem, 4vw, 3.5rem); }
.teq-cta-band__title {
  font-size: var(--f-statement);
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 16ch;
  text-wrap: balance;
}
.teq-cta-band__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-top: clamp(2.5rem, 5vw, 4.5rem); padding-top: 2rem; border-top: 1px solid var(--line-light); }
.teq-cta-band__text { max-width: var(--measure-s); font-size: var(--f-lead); color: rgba(255, 255, 255, 0.82); }

/* ==========================================================================
   17. FAQ
   ========================================================================== */
.teq-faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 2.5rem; }
.teq-faq__head { grid-column: 1 / span 4; }
.teq-faq__title { font-size: var(--f-title); letter-spacing: -0.03em; max-width: 14ch; }
.teq-faq__list { grid-column: 6 / -1; border-top: 1px solid var(--line-strong); }
.teq-faq__item { border-bottom: 1px solid var(--line-strong); }
.teq-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 48px;
  padding: 1.5rem 0;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.teq-faq__item summary::-webkit-details-marker { display: none; }
.teq-faq__icon { flex: none; width: 22px; height: 22px; transition: transform 0.35s var(--ease); }
.teq-faq__item[open] .teq-faq__icon { transform: rotate(45deg); }
.teq-faq__answer { padding: 0 3rem 1.75rem 0; color: var(--muted); max-width: 62ch; }

/* ==========================================================================
   18. LOGOS
   ========================================================================== */
.teq-logos { padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.teq-logos__row { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem 3.5rem; }
.teq-logos__row img { max-height: 48px; width: auto; filter: grayscale(1); opacity: 0.75; }

/* ==========================================================================
   19. FUEL COMPONENTS
   ========================================================================== */
.teq-components__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); margin-top: clamp(3rem, 6vw, 5.5rem); }
.teq-component__media { display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 1.5rem; overflow: hidden; background: var(--white); border-radius: var(--radius-card); }
.teq-component__media picture,
.teq-component__media img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.teq-component__title { margin-top: 1.25rem; font-size: 1.125rem; letter-spacing: -0.015em; }
.teq-component__text { margin-top: 0.5rem; font-size: 0.9375rem; color: var(--muted); max-width: 38ch; }

/* ==========================================================================
   20. COMPANY PAGES — timeline, impact, steps, beliefs, commitment, dialog
   ========================================================================== */
.teq-timeline__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.teq-timeline__head .teq-label { width: 100%; margin-bottom: 0; }
.teq-timeline__nav { display: flex; gap: 0.75rem; }
.teq-timeline__nav[hidden] { display: none; }
.teq-timeline__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(82vw, 30rem);
  gap: clamp(1.5rem, 3vw, 3rem);
  margin: clamp(3rem, 5vw, 4.5rem) 0 0;
  padding: 0 var(--gutter) 1.5rem;
  padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--green) transparent;
}
.teq-timeline__item { position: relative; scroll-snap-align: start; padding-top: 1.75rem; border-top: 1px solid var(--line-strong); }
.teq-timeline__year { font-size: clamp(2.75rem, 2rem + 2.4vw, 4.5rem); font-weight: 600; line-height: 1; letter-spacing: -0.05em; color: var(--green-deep); margin-bottom: 1.5rem; }
.teq-timeline__title { font-size: 1.375rem; letter-spacing: -0.02em; }
.teq-timeline__body { margin-top: 1rem; font-size: 0.9375rem; color: var(--muted); }
.teq-timeline__note { margin-top: 1rem; font-size: 0.9375rem; }
.teq-timeline__metrics { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.teq-timeline__metrics li { padding: 0.35rem 0.8rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.8125rem; }

/* Our Story intro — full-width lead, then a 50/50 text + image row */
.teq-story-intro__body { max-width: none; }
.teq-story-intro__lead { font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem); line-height: 1.45; letter-spacing: -0.015em; color: var(--ink); }
.teq-story-intro__text { margin-top: 1.5rem; font-size: var(--f-lead); line-height: 1.6; color: var(--muted); max-width: var(--measure); }
.teq-story-intro__split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  margin-top: clamp(3rem, 2rem + 3vw, 5rem);
}
.teq-story-intro__split .teq-story-intro__text { margin-top: 0; }
.teq-story-intro__media { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--paper-2); }
.teq-story-intro__media picture,
.teq-story-intro__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) {
  .teq-story-intro__split { grid-template-columns: 1fr; row-gap: 2rem; }
}

.teq-impact__head > .teq-statement { margin-top: 0; }
.teq-impact__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem var(--col-gap); margin-top: clamp(3.5rem, 6vw, 6rem); }
.teq-impact__item { padding-top: 1.5rem; border-top: 1px solid var(--line-light); }
.teq-impact__number { display: block; font-size: clamp(2.5rem, 1.8rem + 2.2vw, 4rem); font-weight: 600; line-height: 1; letter-spacing: -0.05em; color: var(--white); font-variant-numeric: tabular-nums; }
.teq-impact__number span { color: var(--green); }
.teq-impact__label { display: block; margin-top: 0.75rem; color: var(--light-muted); }

.teq-points--wide { margin-top: clamp(3.5rem, 6vw, 6rem); }

.teq-steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem var(--col-gap); margin-top: clamp(3.5rem, 6vw, 6rem); counter-reset: step; }
.teq-step { padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.teq-step__num { display: block; font-size: clamp(2rem, 1.7rem + 1vw, 2.75rem); font-weight: 600; line-height: 1; letter-spacing: -0.05em; color: var(--green-deep); }
.teq-step__title { margin-top: 1.5rem; font-size: 1.25rem; letter-spacing: -0.02em; }
.teq-step__text { margin-top: 0.75rem; font-size: 0.9375rem; color: var(--muted); }

.teq-beliefs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--col-gap); margin-top: clamp(3.5rem, 6vw, 6rem); }
.teq-beliefs__grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.teq-beliefs__grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.teq-beliefs__grid--four .teq-belief__title { max-width: none; }
.teq-belief { padding: 2rem 0 3rem; border-top: 1px solid var(--line-strong); }
.teq-belief__title { font-size: clamp(1.25rem, 1.1rem + 0.45vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.2; max-width: 20ch; }
.teq-belief__text { margin-top: 1rem; font-size: 0.9375rem; color: var(--muted); max-width: 40ch; }

.teq-commitment__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 3rem; align-items: start; }
.teq-commitment__grid > :first-child { grid-column: 1 / span 6; }
.teq-commitment__list { grid-column: 8 / -1; border-top: 1px solid var(--line-light); }
.teq-commitment__list li { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line-light); font-size: 1.0625rem; letter-spacing: -0.01em; }
.teq-commitment__list .teq-icon { flex: none; width: 22px; height: 22px; margin-top: 0.2rem; color: var(--green); }

.teq-dialog {
  width: min(42rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
}
.teq-dialog::backdrop { background: rgba(8, 9, 10, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.teq-dialog[open] { animation: teq-fade-up 0.4s var(--ease) both; }
.teq-dialog__inner { position: relative; padding: clamp(2rem, 5vw, 3.5rem); }
.teq-dialog__title { font-size: var(--f-h3); letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.teq-dialog__inner p:not(.teq-label) { color: var(--muted); }
.teq-dialog__inner p + p { margin-top: 1rem; }
.teq-dialog__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: none;
}
.teq-dialog__close .teq-icon { width: 20px; height: 20px; transform: rotate(45deg); }

/* ==========================================================================
   21. CONTACT
   ========================================================================== */
.teq-contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 4rem; }
.teq-contact__form-wrap { grid-column: 1 / span 7; }
.teq-contact__offices { grid-column: 9 / -1; }
.teq-contact__title { font-size: var(--f-h3); letter-spacing: -0.02em; margin-bottom: 2rem; }

.teq-form { display: grid; gap: 1.75rem; }
.teq-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem var(--col-gap); }
.teq-field label { display: block; margin-bottom: 0.35rem; font-size: 0.8125rem; font-weight: 500; color: var(--muted); }
.teq-field input,
.teq-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  font-size: 1.0625rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.teq-field textarea { min-height: 9rem; resize: vertical; }
.teq-field input:focus,
.teq-field textarea:focus { outline: none; border-color: var(--green-deep); box-shadow: 0 1px 0 0 var(--green-deep); }
.teq-field input::placeholder { color: rgba(17, 18, 20, 0.35); }
.teq-form .teq-btn { justify-self: start; margin-top: 0.5rem; }
.teq-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.teq-notice { margin-bottom: 2rem; padding: 1rem 1.25rem; border-left: 3px solid; font-size: 0.9375rem; background: var(--white); }
.teq-notice--ok { border-color: var(--green); }
.teq-notice--error { border-color: #b3261e; }

.teq-offices { border-top: 1px solid var(--line-strong); }
.teq-office { padding: 1.75rem 0; border-bottom: 1px solid var(--line-strong); }
.teq-office__city { font-size: 1.125rem; letter-spacing: -0.015em; }
.teq-office__address { margin-top: 0.75rem; font-size: 0.9375rem; color: var(--muted); }
.teq-office__contact { margin-top: 0.75rem; font-size: 0.9375rem; }
.teq-office__contact a { text-decoration-color: var(--green); }

/* ==========================================================================
   22. POSTS + PROSE
   ========================================================================== */
.teq-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3.5rem var(--col-gap); }
.teq-post-card__link { display: block; text-decoration: none; }
.teq-post-card__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 1.5rem; border-radius: var(--radius-card); background: var(--paper-2); }
.teq-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.teq-post-card__link:hover .teq-post-card__media img { transform: scale(1.04); }
.teq-post-card .teq-label { margin-bottom: 0.75rem; }
.teq-post-card__title { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.25; }
.teq-post-card__text { display: block; margin-top: 0.75rem; font-size: 0.9375rem; color: var(--muted); }
a.teq-post-card__link:hover .teq-post-card__title { text-decoration: underline; text-decoration-color: var(--green); }

.teq-pagination { margin-top: 4rem; }
.teq-pagination .nav-links,
.teq-pagination { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.teq-pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 48px;
  height: 48px;
  padding: 0 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-btn);
  text-decoration: none;
}
.teq-pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--white); }

.teq-article__media { margin-top: clamp(2rem, 4vw, 3.5rem); }
.teq-article__media img { width: 100%; border-radius: var(--radius); }

.teq-prose { max-width: var(--measure); padding-block: clamp(3rem, 6vw, 5rem); font-size: 1.0625rem; line-height: 1.75; color: var(--ink-soft); }
.teq-section .teq-prose { padding-block: 0; }
.teq-prose > * + * { margin-top: 1.25em; }
.teq-prose h2 { margin-top: 2em; font-size: var(--f-title); letter-spacing: -0.03em; color: var(--ink); }
.teq-prose h3 { margin-top: 1.6em; font-size: var(--f-h3); letter-spacing: -0.02em; color: var(--ink); }
.teq-prose a { text-decoration-color: var(--green); }
.teq-prose ul, .teq-prose ol { padding-left: 1.25em; }
.teq-prose li + li { margin-top: 0.4em; }
.teq-prose img { border-radius: var(--radius); }
.teq-prose blockquote { padding-left: 1.5rem; border-left: 2px solid var(--green); font-size: 1.25rem; }
.teq-prose--lead > p:first-child { font-size: var(--f-lead); color: var(--ink); }

/* ==========================================================================
   23. FOOTER
   ========================================================================== */
.teq-footer {
  padding-top: clamp(4rem, 3rem + 4vw, 6.5rem);
  color: var(--light);
  background: var(--night);
  border-top: 1px solid var(--line-light);
}
.teq-footer-top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 2rem;
  align-items: start;
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.teq-footer-brand { grid-column: 1 / span 5; }
.teq-footer-logo { display: inline-block; }
.teq-footer-brand img { display: block; width: auto; height: 44px; }
.teq-footer-tagline {
  margin-top: 0.875rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--light);
}
.teq-footer-statement {
  grid-column: 7 / -1;
  max-width: 34ch;
  font-size: clamp(1.1875rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: -0.02em;
  color: var(--light);
}

.teq-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr) minmax(0, 1.25fr);
  gap: 2.5rem var(--col-gap);
  padding-block: clamp(2.5rem, 4vw, 3.5rem) clamp(3rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line-light);
}
.teq-footer-heading {
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light);
}
@media (min-width: 1200px) { .teq-footer-heading { white-space: nowrap; } }
.teq-footer ul { list-style: none; margin: 0; padding: 0; }
.teq-footer-col li + li { margin-top: 0.375rem; }
.teq-footer-col li a {
  display: inline-flex;
  align-items: flex-end;
  min-height: 36px;
  padding-bottom: 0.375rem;
  font-size: 0.9375rem;
  line-height: 1.3;
  color: var(--light-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.teq-footer-col li a:hover,
.teq-footer-col li a:focus-visible { color: var(--white); border-color: var(--green); box-shadow: 0 1px 0 var(--green); }
.teq-footer-col li a[aria-current="page"] { color: var(--white); border-color: var(--green); box-shadow: 0 1px 0 var(--green); }
.teq-footer-address { font-style: normal; font-size: 0.9375rem; line-height: 1.6; color: var(--light-muted); max-width: 30ch; }
.teq-footer-address strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--light);
}
.teq-footer-col--cta p:not(.teq-footer-heading) { font-size: 0.9375rem; line-height: 1.55; color: var(--light-muted); max-width: 30ch; }
.teq-footer-col--cta .teq-btn { margin-top: 1.25rem; }

.teq-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.8125rem;
  color: var(--light-muted);
}
.teq-footer-bottom__end { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.teq-footer-socials { display: flex; gap: 0.5rem; }
.teq-footer-socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--light);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.teq-footer-socials a:hover { background: var(--green); border-color: var(--green); color: var(--night); }
.teq-footer-socials .teq-icon { width: 16px; height: 16px; }
.teq-footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-size: 0.8125rem;
  color: var(--light-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.teq-footer-top-link .teq-icon { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.teq-footer-top-link:hover,
.teq-footer-top-link:focus-visible { color: var(--white); }
.teq-footer-top-link:hover .teq-icon { transform: translateY(-3px); color: var(--green); }

/* ==========================================================================
   6b. HERO SLIDER (homepage)
   ========================================================================== */
.teq-slider { display: block; }
.teq-slider__slides { display: grid; width: 100%; min-height: inherit; }
.teq-slide {
  grid-area: 1 / 1;
  position: relative;
  isolation: isolate;
  display: none;
  min-height: inherit;
}
.teq-slide.is-active { display: flex; }
.teq-slide .teq-hero__inner { width: 100%; padding-bottom: calc(clamp(3rem, 2rem + 4vw, 6rem) + 76px); }

/* JS enabled: all slides present, cross-fade between them */
.teq-slider.is-ready .teq-slide {
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 0s linear 1.1s;
}
.teq-slider.is-ready .teq-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1.1s var(--ease);
}
.teq-slider.is-ready .teq-slide .teq-hero__content > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 1s var(--ease);
}
.teq-slider.is-ready .teq-slide.is-active .teq-hero__content > * { opacity: 1; transform: none; }
.teq-slider.is-ready .teq-slide.is-active .teq-hero__content > :nth-child(2) { transition-delay: 0.12s; }
.teq-slider.is-ready .teq-slide.is-active .teq-hero__content > :nth-child(3) { transition-delay: 0.24s; }
@media (prefers-reduced-motion: no-preference) {
  .teq-slider.is-ready .teq-slide.is-active .teq-hero__img { animation: teq-slow-zoom 9s linear both; }
}
@keyframes teq-slow-zoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

/* Control bar */
.teq-slider__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.teq-slider__bar[hidden] { display: none; }
.teq-slider__bar-inner { display: flex; align-items: center; gap: 2rem; min-height: 76px; }
.teq-slider__controls { display: flex; align-items: center; gap: 0.5rem; flex: none; }
.teq-slider__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.teq-slider__btn:hover { background: var(--green); border-color: var(--green); color: var(--night); }
.teq-slider__btn .teq-icon { width: 16px; height: 16px; }
.teq-slider__pause { margin-left: 0.25rem; }
.teq-slider__pause .teq-icon--play { display: none; }
.teq-slider__pause[aria-pressed="true"] .teq-icon--play { display: block; }
.teq-slider__pause[aria-pressed="true"] .teq-icon--pause { display: none; }
.teq-slider__count { min-width: 4.5rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-align: center; font-variant-numeric: tabular-nums; }

.teq-slider__tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1.25rem; flex: 1; margin: 0; padding: 0; list-style: none; }
.teq-slider__tab {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: left;
  transition: color 0.3s var(--ease);
}
.teq-slider__tab:hover,
.teq-slider__tab.is-active { color: var(--white); }
.teq-slider__tab-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.teq-slider__progress { position: relative; display: block; height: 2px; background: rgba(255, 255, 255, 0.22); overflow: hidden; }
.teq-slider__progress span { position: absolute; inset: 0; background: var(--green); transform: scaleX(0); transform-origin: left; }
.teq-slider__tab.is-done .teq-slider__progress span { transform: scaleX(1); }
.teq-slider__tab.is-active .teq-slider__progress span { transform: scaleX(1); }
.teq-slider.is-playing .teq-slider__tab.is-active .teq-slider__progress span { animation: teq-progress var(--interval, 7000ms) linear both; }
.teq-slider.is-paused .teq-slider__tab.is-active .teq-slider__progress span { animation-play-state: paused; }
@keyframes teq-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 899px) {
  .teq-slider__tabs { display: none; }
  .teq-slider__bar-inner { min-height: 64px; justify-content: space-between; }
  .teq-slide .teq-hero__inner { padding-bottom: calc(2.5rem + 64px); }
}

/* ==========================================================================
   6d. SERVICE OVERVIEW + WHO IT'S FOR (long-form SEO content)
   ========================================================================== */
.teq-overview__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 3rem; align-items: start; }
.teq-overview__main { grid-column: 1 / span 7; }
.teq-overview__prose { margin-top: 2rem; max-width: var(--measure); }
.teq-overview__prose p { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-soft); }
.teq-overview__prose p + p { margin-top: 1.1em; }
.teq-overview__aside {
  grid-column: 9 / -1;
  position: sticky;
  top: 110px;
  padding: 1.75rem;
  border-radius: var(--radius-card);
  background: var(--white);
}
.teq-overview__aside-title { font-size: 0.9375rem; font-weight: 700; letter-spacing: -0.01em; }
.teq-overview__aside .teq-ruled-list { margin-top: 1rem; }
.teq-overview__aside .teq-ruled-list li { font-size: 0.875rem; padding: 0.75rem 0; }
.teq-overview__aside .teq-btn { margin-top: 1.5rem; width: 100%; }

.teq-fit__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--col-gap); margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.teq-fit__media { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--paper-2); }
.teq-fit__media picture,
.teq-fit__media img { width: 100%; height: 100%; object-fit: cover; }
.teq-fit__title { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; }
.teq-fit__title a { text-decoration: none; }
.teq-fit__title a:hover { text-decoration: underline; text-decoration-color: var(--green); }
.teq-fit__text { margin-top: 0.5rem; font-size: 0.9375rem; color: var(--muted); }

@media (max-width: 1023px) {
  .teq-overview__main,
  .teq-overview__aside { grid-column: 1 / -1; position: static; }
  .teq-fit__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .teq-fit__list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   6c. CLIENT LOGO MARQUEE
   ========================================================================== */
.teq-clients { padding-block: clamp(2.5rem, 4vw, 3.5rem); background: var(--white); border-bottom: 1px solid var(--line); }
.teq-clients__head .teq-label { margin-bottom: 1.5rem; }
.teq-clients--empty { padding-block: 1rem; font-size: 0.875rem; color: var(--muted); background: #fff8e1; }
.teq-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.teq-marquee__track { display: flex; width: max-content; }
.teq-marquee__group { display: flex; align-items: center; gap: clamp(2.5rem, 5vw, 4.5rem); margin: 0; padding: 0 clamp(1.25rem, 2.5vw, 2.25rem); list-style: none; }
.teq-marquee__item { flex: none; display: flex; align-items: center; height: 56px; }
.teq-marquee__item a { display: flex; align-items: center; height: 100%; }
.teq-marquee__logo { width: auto; max-width: 170px; max-height: 44px; object-fit: contain; filter: grayscale(1); opacity: 0.68; transition: filter 0.3s var(--ease), opacity 0.3s var(--ease); }
.teq-marquee__item:hover .teq-marquee__logo { filter: none; opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .teq-marquee__track { animation: teq-marquee var(--marquee-duration, 40s) linear infinite; }
  .teq-marquee:hover .teq-marquee__track,
  .teq-marquee:focus-within .teq-marquee__track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .teq-marquee { overflow-x: auto; }
  .teq-marquee__group[aria-hidden="true"] { display: none; }
}
@keyframes teq-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   24. MOTION — scroll reveals (only when JS is running and motion is OK)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .teq-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
    transition-delay: calc(var(--d, 0) * 90ms);
  }
  .js-reveal .teq-reveal--image { opacity: 1; transform: none; }
  .js-reveal .teq-reveal--image img { transform: scale(1.08); transition: transform 1.8s var(--ease); }
  .js-reveal .teq-reveal.is-in { opacity: 1; transform: none; }
  .js-reveal .teq-reveal--image.is-in img { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   25. RESPONSIVE
   ========================================================================== */
@media (max-width: 1199px) {
  .teq-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teq-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teq-related__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teq-footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .teq-footer-col--office,
  .teq-footer-col--cta { grid-column: 1 / -1; }
  .teq-footer-col--office { display: flex; flex-wrap: wrap; column-gap: 2rem; }
  .teq-footer-col--office .teq-footer-heading { width: 100%; }
}

@media (max-width: 1023px) {
  .teq-intro__head > .teq-label,
  .teq-industries__head > .teq-label,
  .teq-values__head > .teq-label,
  .teq-steps__head > .teq-label,
  .teq-beliefs__head > .teq-label,
  .teq-components__head > .teq-label,
  .teq-intro__body,
  .teq-industries__head > :not(.teq-label),
  .teq-values__head > :not(.teq-label),
  .teq-steps__head > :not(.teq-label),
  .teq-beliefs__head > :not(.teq-label),
  .teq-components__head > :not(.teq-label) { grid-column: 1 / -1; }
  .teq-intro__head > .teq-label { margin-top: 0; }

  /* Industries + related → swipeable rows */
  .teq-industry,
  .teq-industry:nth-child(4),
  .teq-industry:nth-child(5) { grid-column: auto; }
  .teq-industry__card,
  .teq-industry:nth-child(4) .teq-industry__card,
  .teq-industry:nth-child(5) .teq-industry__card { min-height: 24rem; }
  .teq-industries__list,
  .teq-related__list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(78vw, 22rem);
    margin-inline: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 0.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .teq-industries__list::-webkit-scrollbar,
  .teq-related__list::-webkit-scrollbar { display: none; }
  .teq-industry,
  .teq-related__item { scroll-snap-align: start; }

  .teq-faq__head,
  .teq-faq__list,
  .teq-contact__form-wrap,
  .teq-contact__offices,
  .teq-commitment__grid > :first-child,
  .teq-commitment__list,
  .teq-footer-brand,
  .teq-footer-statement { grid-column: 1 / -1; }

  .teq-components__list,
  .teq-post-grid,
  .teq-beliefs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teq-impact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teq-quote__text { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .teq-index__row { grid-template-columns: 2.25rem minmax(0, 1fr) 44px; row-gap: 0.5rem; column-gap: 1rem; }
  .teq-index__text { grid-column: 2; grid-row: 2; }
  .teq-index__arrow { grid-column: 3; grid-row: 1; width: 44px; height: 44px; }
  .teq-index__row:hover .teq-index__name { transform: none; }

  .teq-mini-features { grid-template-columns: 1fr; gap: 1.25rem; }
  .teq-points,
  .teq-points--three,
  .teq-steps__list,
  .teq-components__list,
  .teq-post-grid,
  .teq-beliefs__grid,
  .teq-beliefs__grid--two { grid-template-columns: 1fr; }
  .teq-point__top { margin-bottom: 1.5rem; }
  .teq-step__title { margin-top: 1.25rem; }
  .teq-form__row { grid-template-columns: 1fr; }
  .teq-panel--split .teq-panel__items { grid-template-columns: 1fr; }
  .teq-footer-grid { grid-template-columns: 1fr 1fr; }
  .teq-cta-band__foot .teq-btn { width: 100%; }
}

/* ==========================================================================
   MOBILE HERO (max-width: 767px) — Responsive adjustment
   Single vertical column: text section → image → tracker
   Desktop completely unchanged.
   ========================================================================== */

@media (max-width: 767px) {
  /* Main hero: reduce height, off-white background, single column flow */
  .teq-hero {
    min-height: auto;
    background-color: var(--paper);
    color: var(--ink);
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  /* Slider container: auto height on mobile */
  .teq-slider__slides {
    min-height: auto !important;
  }

  /* Slide: flex column to enable visual reordering with order property */
  .teq-slide {
    display: flex;
    flex-direction: column;
    min-height: auto !important;
    gap: 0;
  }

  /* Image APPEARS LAST (order: 2), but is first in DOM */
  .teq-hero__media {
    order: 2;
    position: relative !important;
    inset: auto !important;
    width: 100%;
    height: auto;
    padding: 0 var(--gutter);
    margin: 1.5rem 0 0 0 !important;
    z-index: 5;
    flex-shrink: 0;
  }

  .teq-hero__media picture,
  .teq-hero__media img,
  .teq-hero__img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    display: block;
  }

  /* Shade overlay: hidden on mobile */
  .teq-hero__shade {
    display: none !important;
  }

  /* Text section APPEARS FIRST (order: 1), positioned normally */
  .teq-hero__inner {
    order: 1;
    position: relative;
    z-index: 10;
    background-color: var(--paper);
    padding-top: clamp(4.5rem, 10vw, 6rem);
    padding-bottom: 0;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    margin: 0 !important;
    justify-content: flex-start;
    flex-shrink: 0;
  }

  /* Override the 100px+ padding-bottom from .teq-slide .teq-hero__inner (line 1704, 1800)
     This specific selector must match to override the desktop/899px rule */
  .teq-slide .teq-hero__inner {
    padding-bottom: 1rem !important;
    width: 100%;
  }

  /* Content: flex column for text stacking; remove desktop grid completely */
  .teq-hero__content {
    display: flex !important;
    flex-direction: column;
    gap: 1.5rem;
    grid-template-areas: unset !important;
    grid-template-columns: unset !important;
    align-items: flex-start !important;
  }

  /* Label: green, not white; reset grid positioning to normal flow */
  .teq-hero__label {
    color: var(--green) !important;
    background: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    grid-area: auto !important;
  }

  /* Title: DARK text on mobile, override white inheritance from .teq-hero */
  .teq-hero__title {
    color: var(--ink) !important;
    grid-area: auto !important;
  }

  .teq-slide .teq-hero__title {
    color: var(--ink) !important;
    font-size: clamp(2rem, 7.5vw, 3rem) !important;
    line-height: 1.1 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 600 !important;
  }

  /* CRITICAL FIX: Override child element colors inside heading
     Desktop rule .teq-hero .teq-tt-light { color: rgba(255, 255, 255, 0.74); }
     must be overridden explicitly on the children */
  .teq-hero__title .teq-tt-light {
    color: var(--ink) !important;
  }

  /* Green accent in title stays green */
  .teq-hero__title .teq-tt-strong {
    color: var(--green) !important;
  }

  /* Description text: dark, readable; reset grid positioning to normal flow */
  .teq-hero__aside {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    grid-area: auto !important;
  }

  .teq-hero__text {
    color: var(--ink) !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  /* CTA: green button, full width, consistent spacing */
  .teq-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0.5rem 0 0 0 !important;
    padding: 0 !important;
    align-items: stretch;
    flex-shrink: 0;
  }

  .teq-hero__actions .teq-btn {
    background-color: var(--green) !important;
    color: var(--white) !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 0 1.5rem !important;
    font-size: 1rem !important;
  }

  .teq-hero__actions .teq-link {
    color: var(--green) !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .teq-hero__actions .teq-link--light {
    color: var(--green) !important;
  }

  /* Scroll indicator: hide on mobile */
  .teq-hero__scroll {
    display: none !important;
  }

  /* Slider bar: mobile layout below image, consistent spacing with other elements */
  .teq-slider__bar {
    background: var(--paper);
    border: none !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    padding: 1.5rem var(--gutter) !important;
    margin: 0 !important;
    z-index: 5;
  }

  .teq-slider__bar[hidden] {
    display: block !important;
  }

  .teq-slider__bar-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0 !important;
    min-height: auto !important;
  }

  /* Slider controls: centered */
  .teq-slider__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    order: 1;
  }

  .teq-slider__btn {
    width: 40px !important;
    height: 40px !important;
    border: 1px solid var(--green) !important;
    background: transparent !important;
    color: var(--green) !important;
    border-radius: 50% !important;
  }

  .teq-slider__count {
    font-size: 0.9rem;
    color: var(--ink);
    font-weight: 600;
  }

  /* Slider tabs: HIDE on mobile (too many labels, too narrow) */
  .teq-slider__tabs {
    display: none !important;
  }

  .teq-slider__tab {
    width: 36px !important;
    min-height: auto !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none !important;
    border: 0 !important;
    color: var(--ink) !important;
    gap: 4px;
  }

  .teq-slider__tab-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
  }

  .teq-slider__tab:hover .teq-slider__tab-text,
  .teq-slider__tab.is-active .teq-slider__tab-text {
    color: var(--green);
  }

  .teq-slider__progress {
    width: 100%;
    max-width: 220px;
    height: 3px;
    background: var(--line);
    border-radius: 2px;
  }

  .teq-slider__progress span {
    background: var(--green);
    display: block;
    height: 100%;
    border-radius: 2px;
  }
}

@media (max-width: 479px) {
  .teq-impact__grid { grid-template-columns: 1fr; }
  .teq-footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   26. WORDPRESS CORE
   ========================================================================== */
.alignwide { max-width: 100%; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text, figcaption.wp-element-caption { font-size: 0.875rem; color: var(--muted); }
.aligncenter { margin-inline: auto; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }

/* ==========================================================================
   27. INSIGHTS (blog listing) + SINGLE ARTICLE
   ========================================================================== */

/* Article hero: same image hero as the service pages, sized for long titles */
.teq-hero--article { min-height: 78vh; min-height: 78svh; }
.teq-hero--article .teq-hero__shade { background-color: rgba(8, 9, 10, 0.2); }
.teq-hero--article .teq-hero__title {
  max-width: 24ch;
  font-size: clamp(2rem, 1.35rem + 2.2vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.teq-hero--article .teq-hero__text { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.82); }

/* Listing head + category tabs */
.teq-articles__head { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.teq-articles__head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.teq-articles__title { font-size: var(--f-title); letter-spacing: -0.03em; line-height: 1.15; }

.teq-filter { margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.teq-filter__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.teq-filter__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.teq-filter__count { font-size: 0.75rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.teq-filter__item:hover { border-color: var(--ink); color: var(--ink); }
.teq-filter__item[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.teq-filter__item[aria-current="page"] .teq-filter__count { color: var(--green); }

/* Article grid + card (16:9 thumbnail, category, title, excerpt, date + Read) */
.teq-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.5rem, 4vw, 3.5rem) var(--col-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.teq-article-card { display: flex; flex-direction: column; }
.teq-article-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-card);
  background: var(--paper-2);
}
.teq-article-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.teq-article-card:hover .teq-article-card__media img { transform: scale(1.04); }
.teq-article-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; }
.teq-article-card__media .teq-article-card__placeholder img { width: 30%; height: auto; opacity: 0.55; transform: none; }
.teq-article-card__cat { align-self: flex-start; margin-bottom: 0.75rem; text-decoration: none; }
.teq-article-card__cat:hover { color: var(--ink); }
.teq-article-card__title { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.teq-article-card__title a { color: var(--ink); text-decoration: none; }
.teq-article-card__title a:hover { text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 3px; }
.teq-article-card__text { margin-top: 0.75rem; font-size: 0.9375rem; line-height: 1.6; color: var(--muted); }
.teq-article-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
.teq-article-card__read { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; font-weight: 600; color: var(--ink); text-decoration: none; }
.teq-article-card__read .teq-icon { width: 16px; height: 16px; color: var(--green-deep); transition: transform 0.3s var(--ease); }
.teq-article-card__read:hover .teq-icon { transform: translateX(3px); }

.teq-pagination--articles { justify-content: center; }
.teq-pagination--articles .page-numbers .teq-icon { width: 18px; height: 18px; }
.teq-pagination--articles a.page-numbers:hover { border-color: var(--ink); }
.teq-pagination--articles .page-numbers.dots { border-color: transparent; }

.teq-articles__empty { padding-block: 2rem; }
.teq-articles__empty .teq-link { margin-top: 1rem; }

/* Single article */
.teq-page-head--article .teq-page-head__title { max-width: 24ch; font-size: clamp(2rem, 1.35rem + 2.2vw, 3.25rem); line-height: 1.05; }
.teq-page-head--article .teq-label { text-decoration: none; }
.teq-article__meta { margin-top: 1.25rem; font-size: 0.9375rem; color: var(--muted); }

.teq-article__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 3rem;
  align-items: start;
}
.teq-article__main { grid-column: 1 / span 8; min-width: 0; }
.teq-article__main .teq-prose { max-width: 720px; }
.teq-article__lead { max-width: 720px; margin-bottom: 2rem; font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.4375rem); line-height: 1.5; letter-spacing: -0.01em; color: var(--ink); }
.teq-article__body img,
.teq-article__body figure { max-width: 100%; height: auto; }
.teq-article__body figure { margin-inline: 0; }
.teq-article__body table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.teq-article__body th,
.teq-article__body td { padding: 0.75rem; border-bottom: 1px solid var(--line); text-align: left; }

.teq-article__aside {
  grid-column: 10 / -1;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: grid;
  gap: 1.5rem;
}
.teq-article__share,
.teq-article__cta { padding: 1.5rem; border-radius: var(--radius-card); background: var(--white); }
.teq-article__aside-title { margin-bottom: 1rem; font-size: 0.9375rem; font-weight: 700; letter-spacing: -0.01em; }
.teq-article__share-list { display: flex; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.teq-article__share-list a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.teq-article__share-list a:hover { background: var(--green); border-color: var(--green); }
.teq-article__share-list .teq-icon { width: 16px; height: 16px; }
.teq-article__cta p:not(.teq-article__aside-title) { font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }
.teq-article__cta .teq-btn { margin-top: 1.25rem; width: 100%; }

.teq-article__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: 720px; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.teq-article__tags li { padding: 0.35rem 0.8rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.8125rem; color: var(--ink-soft); }

.teq-article__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--col-gap);
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.teq-article__nav-link { display: grid; gap: 0.5rem; text-decoration: none; color: var(--ink); }
.teq-article__nav-link--next { text-align: right; justify-items: end; }
.teq-article__nav-label { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.teq-article__nav-label .teq-icon { width: 16px; height: 16px; color: var(--green-deep); }
.teq-article__nav-title { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.015em; }
.teq-article__nav-link:hover .teq-article__nav-title { text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 3px; }

.teq-tone-paper .teq-article-card__media { background: var(--paper-2); }

@media (max-width: 1023px) {
  .teq-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teq-article__main,
  .teq-article__aside { grid-column: 1 / -1; }
  .teq-article__aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .teq-filter__list { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 0.5rem; scrollbar-width: thin; }
  .teq-article-grid { grid-template-columns: 1fr; }
  .teq-article__aside { grid-template-columns: 1fr; }
  .teq-article__nav { grid-template-columns: 1fr; }
  .teq-article__nav-link--next { text-align: left; justify-items: start; }
}
