:root {
  --ts-green: #00c853;
  --ts-green-deep: #00a94f;
  --ts-white: #fff;
  --ts-navy: #10284d;
  --ts-gutter: 96px;
  --ts-content: 1728px;
  --ts-font: "Manrope", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: var(--ts-font); }
body { background: #fff; color: var(--ts-white); }
a { color: inherit; text-decoration: none; }
a:hover, a:focus { color: inherit; text-decoration: none; }
button { font: inherit; }
.ts-container { width: min(var(--ts-content), calc(100% - (2 * var(--ts-gutter)))); margin-inline: auto; position: relative; z-index: 3; }
.ts-hero { position: relative; height: 756px; overflow: hidden; isolation: isolate; }
.ts-hero__bg { position: absolute; inset: 0; z-index: -3; background: url("../images/hero-refinery.png") center center / cover no-repeat; }
.ts-hero__shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(2,25,42,.90) 0%, rgba(2,25,42,.70) 28%, rgba(2,25,42,.08) 57%, rgba(2,25,42,.12) 100%), linear-gradient(180deg, rgba(1,19,33,.34) 0%, rgba(1,19,33,0) 35%, rgba(1,19,33,.22) 100%); }
.ts-header { height: 142px; display: grid; grid-template-columns: 360px 1fr auto; align-items: center; column-gap: 34px; }
.ts-brand { display: block; width: 282px; }
.ts-brand img { width: 100%; height: auto; display: block; }
.ts-nav { display: flex; align-items: center; justify-content: flex-end; gap: 48px; white-space: nowrap; }
.ts-nav a { position: relative; font-size: 16px; line-height: 1; font-weight: 600; color: #fff; padding: 10px 0 14px; }
.ts-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; }
.ts-nav a.is-active::after { background: var(--ts-green); }
.ts-header-actions { display: flex; align-items: center; gap: 32px; }
.ts-search { width: 56px; height: 56px; border: 0; border-radius: 50%; background: #fff; display: grid; place-items: center; padding: 0; color: var(--ts-navy); cursor: pointer; }
.ts-search svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.ts-btn { display: inline-flex; align-items: center; justify-content: center; gap: 24px; border-radius: 999px; font-size: 16px; line-height: 1; font-weight: 800; white-space: nowrap; text-decoration: none !important; }
.ts-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.ts-btn--header { min-width: 236px; height: 56px; padding: 0 26px; background: var(--ts-green); color: #fff; }
.ts-hero__content { position: relative; height: 614px; }
.ts-hero__copy { position: absolute; left: 0; top: 22px; }
.ts-kicker { display: flex; align-items: center; gap: 24px; font-size: 20px; font-weight: 800; letter-spacing: 2.4px; line-height: 1.2; margin-bottom: 16px; }
.ts-kicker span { display: block; width: 58px; height: 2px; background: rgba(255,255,255,.9); }
.ts-hero h1 { margin: 0; font-size: 60px; line-height: 1.08; letter-spacing: -1.8px; font-weight: 800; color: #fff; }
.ts-hero h1 strong { color: var(--ts-green); font-weight: 800; }
.ts-hero__copy > p { margin: 20px 0 30px; font-size: 20px; line-height: 1.55; font-weight: 500; color: #fff; }
.ts-hero__actions { display: flex; align-items: center; gap: 28px; }
.ts-btn--primary { height: 56px; min-width: 235px; padding: 0 28px; background: var(--ts-green); color: #fff; }
.ts-video { display: inline-flex; align-items: center; gap: 18px; font-size: 16px; font-weight: 700; color: #fff; text-decoration: none !important; }
.ts-video__circle { width: 58px; height: 58px; border: 2px solid var(--ts-green); border-radius: 50%; display: grid; place-items: center; }
.ts-video__circle svg { width: 25px; height: 25px; fill: var(--ts-green); }
.ts-hero__sidewords { position: absolute; right: 0; top: 80px; width: 175px; padding-left: 20px; border-left: 1px solid rgba(0,200,83,.85); display: flex; flex-direction: column; gap: 12px; font-size: 20px; line-height: 1.1; font-weight: 600; letter-spacing: 2px; }
.ts-trusted { position: absolute; right: 0; bottom: 28px; font-size: 24px; line-height: 1.3; font-weight: 800; }
.ts-scroll { position: absolute; left: 0; bottom: 29px; display: flex; align-items: center; gap: 20px; font-size: 16px; font-weight: 600; }
.ts-scroll__mouse { width: 36px; height: 58px; border: 2px solid #fff; border-radius: 20px; position: relative; display: inline-block; }
.ts-scroll__mouse i { position: absolute; width: 3px; height: 10px; border-radius: 3px; background: var(--ts-green); top: 10px; left: 50%; transform: translateX(-50%); }
.ts-stats { height: 160px; background: #fff; color: var(--ts-navy); }
.ts-stats__grid { height: 100%; display: grid; grid-template-columns: repeat(4, 1fr); }
.ts-stat { display: flex; align-items: center; justify-content: center; gap: 30px; position: relative; padding: 0 26px; }
.ts-stat + .ts-stat::before { content: ""; position: absolute; left: 0; top: 31px; bottom: 31px; width: 1px; background: #cbd3dd; }
.ts-stat img { width: 72px; height: 72px; object-fit: contain; flex: 0 0 72px; }
.ts-stat strong { display: block; font-size: 30px; line-height: 1.08; font-weight: 800; letter-spacing: -.5px; }
.ts-stat span { display: block; margin-top: 4px; font-size: 16px; line-height: 1.25; font-weight: 500; }
.ts-stat:last-child { justify-content: center; }
.ts-stat:last-child strong { font-size: 24px; line-height: 1.15; }
@media (max-width: 1199px) and (min-width: 992px) {
  :root { --ts-gutter: 64px; }
  .ts-header { grid-template-columns: 260px 1fr auto; column-gap: 20px; }
  .ts-brand { width: 235px; }
  .ts-nav { gap: 20px; }
  .ts-nav a { font-size: 14px; }
  .ts-header-actions { gap: 16px; }
  .ts-btn--header { min-width: 190px; }
  .ts-hero h1 { font-size: 56px; }
  .ts-kicker { font-size: 17px; }
  .ts-hero__copy > p { font-size: 18px; }
  .ts-hero__sidewords { width: 155px; font-size: 16px; }
  .ts-trusted { font-size: 20px; }
  .ts-stat { gap: 18px; padding-inline: 14px; }
  .ts-stat img { width: 58px; height: 58px; flex-basis: 58px; }
  .ts-stat strong { font-size: 25px; }
  .ts-stat span { font-size: 14px; }
}
@media (max-width: 991px) and (min-width: 768px) {
  :root { --ts-gutter: 42px; }
  .ts-hero { height: 700px; }
  .ts-header { height: 120px; grid-template-columns: 230px 1fr auto; gap: 18px; }
  .ts-brand { width: 220px; }
  .ts-nav { gap: 15px; }
  .ts-nav a { font-size: 13px; }
  .ts-header-actions { gap: 12px; }
  .ts-search { width: 48px; height: 48px; }
  .ts-btn--header { min-width: 165px; height: 48px; font-size: 14px; }
  .ts-hero__content { height: 580px; }
  .ts-hero__copy { top: 12px; }
  .ts-hero h1 { font-size: 48px; }
  .ts-kicker { font-size: 15px; gap: 15px; }
  .ts-hero__copy > p { font-size: 17px; }
  .ts-hero__sidewords { top: 65px; width: 130px; font-size: 14px; }
  .ts-trusted { font-size: 17px; }
  .ts-stats { height: 135px; }
  .ts-stat { gap: 12px; padding-inline: 10px; }
  .ts-stat img { width: 50px; height: 50px; flex-basis: 50px; }
  .ts-stat strong { font-size: 22px; }
  .ts-stat span { font-size: 12px; }
}


/* =========================================================
   BLOCK 2 — ABOUT TECHNOSAFE coded by Mumtaz
   Approved reference: 2048 × 728
   Desktop geometry: 1920 canvas / 1728 content / 96 gutters
   ========================================================= */
.ts-about {
  min-height: 728px;
  background: #f2f9fb;
  color: var(--ts-navy);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ts-about__grid {
  min-height: 728px;
  display: grid;
  grid-template-columns: 650px 758px 1fr;
  column-gap: 28px;
  align-items: center;
}
.ts-about__copy {
  align-self: center;
  padding-top: 2px;
}
.ts-section-kicker {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 0 25px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 3px;
  color: #10284d;
}
.ts-section-kicker span {
  width: 70px;
  height: 2px;
  display: block;
  background: #149b60;
}
.ts-about h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.14;
  letter-spacing: -1.4px;
  font-weight: 800;
  color: #10284d;
}
.ts-about h2 strong {
  color: #08a957;
  font-weight: 800;
}
.ts-about__copy > p {
  max-width: 650px;
  margin: 28px 0 34px;
  font-size: 20px;
  line-height: 1.48;
  font-weight: 500;
  color: #61718a;
}
.ts-about__button {
  min-width: 380px;
  height: 72px;
  padding: 0 42px;
  gap: 34px;
  background: #08ad55;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none !important;
}
.ts-about__button svg {
  width: 25px;
  height: 25px;
}
.ts-about__image-wrap {
  width: 758px;
  height: 553px;
  border-radius: 10px;
  overflow: hidden;
}

.ts-about__image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;

  /* New image zoom settings */
  transition: transform 0.65s cubic-bezier(.2, .65, .2, 1);
  transform: scale(1);
  will-change: transform;
}

.ts-about__image-wrap:hover img {
  transform: scale(1.045);
}
.ts-about__values {
  height: 553px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: 20px;
}
.ts-value {
  min-height: 112px;
  display: grid;
  grid-template-columns: 112px 1fr;
  column-gap: 20px;
  align-items: center;
  border-left: 1px solid rgba(126, 203, 190, .48);
  padding-left: 28px;
}
.ts-value__icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #e0f8ef;
  display: grid;
  place-items: center;
}
.ts-value__icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}
.ts-value h3 {
  margin: 0 0 6px;
  color: #10284d;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.5px;
}
.ts-value p {
  margin: 0;
  color: #61718a;
  font-size: 20px;
  line-height: 1.34;
  font-weight: 500;
}

@media (max-width: 1199px) and (min-width: 992px) {
  .ts-about {
    min-height: 650px;
  }
  .ts-about__grid {
    min-height: 650px;
    grid-template-columns: minmax(390px, 1fr) minmax(390px, 1.08fr);
    gap: 30px;
  }
  .ts-about__copy > p { font-size: 18px; }
  .ts-about__image-wrap { width: 100%; height: 480px; }
  .ts-about__values {
    grid-column: 1 / -1;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
    padding: 0;
  }
  .ts-value { padding-left: 18px; }
  .ts-value p { font-size: 17px; }
}

@media (max-width: 991px) and (min-width: 768px) {
  .ts-about { min-height: 0; padding: 72px 0; }
  .ts-about__grid {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .ts-section-kicker { font-size: 17px; letter-spacing: 2.2px; }
  .ts-about h2 { font-size: 40px; }
  .ts-about__copy > p { font-size: 17px; }
  .ts-about__button { min-width: 310px; height: 58px; font-size: 17px; }
  .ts-about__image-wrap { width: 100%; height: 430px; }
  .ts-about__values {
    grid-column: 1 / -1;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0;
  }
  .ts-value { min-height: 100px; padding-left: 18px; grid-template-columns: 86px 1fr; column-gap: 15px; }
  .ts-value__icon { width: 76px; height: 76px; }
  .ts-value__icon img { width: 58px; height: 58px; }
  .ts-value h3 { font-size: 20px; }
  .ts-value p { font-size: 16px; }
}

/* =========================================================
   BLOCK 3 — OUR SERVICES
   Approved reference: supplied 2048 × 728 artwork
   Desktop system: 1920 canvas / 1728 content / 96 gutters
   ========================================================= */
.ts-services {
  position: relative;
  min-height: 728px;
  overflow: hidden;
  background: #00513f;
  color: #fff;
  isolation: isolate;
}
.ts-services__decor {
  position: absolute;
  width: 980px;
  height: 500px;
  left: -250px;
  bottom: -340px;
  border: 2px solid rgba(34, 192, 132, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(34,192,132,.045), 0 0 0 84px rgba(34,192,132,.035);
  z-index: -1;
}
.ts-services__grid {
  min-height: 728px;
  display: grid;
  grid-template-columns: 540px minmax(0, 1fr);
  column-gap: 28px;
  align-items: center;
}
.ts-services__intro {
  align-self: center;
  padding-top: 8px;
}
.ts-section-kicker--light {
  color: #fff;
  margin-bottom: 26px;
}
.ts-section-kicker--light span {
  background: #00d878;
}
.ts-services h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -1.3px;
  font-weight: 800;
  color: #fff;
}
.ts-services h2 strong {
  color: #00d878;
  font-weight: 800;
}
.ts-services__intro > p {
  max-width: 530px;
  margin: 26px 0 34px;
  font-size: 20px;
  line-height: 1.48;
  font-weight: 500;
  color: rgba(255,255,255,.92);
}
.ts-services__button {
  min-width: 325px;
  height: 72px;
  padding: 0 32px;
  gap: 30px;
  background: #08b95c;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none !important;
}
.ts-services__button:hover,
.ts-services__button:focus { color: #fff; text-decoration: none !important; }
.ts-services__cards {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-self: center;
}
.ts-service-card {
  min-width: 0;
  height: 544px;
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
  color: var(--ts-navy);
  box-shadow: 0 8px 25px rgba(0,0,0,.08);
}
.ts-service-card__image {
  height: 278px;
  overflow: hidden;
  background: #dfe9e7;
}

.ts-service-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;

  /* New image zoom settings */
  transition: transform 0.65s cubic-bezier(.2, .65, .2, 1);
  transform: scale(1);
  will-change: transform;
}

.ts-service-card:hover .ts-service-card__image img {
  transform: scale(1.045);
}
.ts-service-card__body {
  position: relative;
  min-height: 266px;
  padding: 0 25px 22px;
}
.ts-service-card__icon {
  position: relative;
  z-index: 2;
  width: 66px;
  height: 66px;
  margin-top: 0;
  border-radius: 50%;
  background: #e0faef;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.ts-service-card__icon img {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
}
.ts-service-card h3 {
  margin: 11px 0 7px;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -.6px;
  font-weight: 800;
  color: #10284d;
}
.ts-service-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.38;
  font-weight: 500;
  color: #64728a;
}
.ts-service-card__arrow {
  position: absolute;
  left: 25px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  color: #08ad63;
  text-decoration: none !important;
  font-size: 29px;
  line-height: 1;
  font-weight: 500;
}
.ts-service-card__arrow:hover,
.ts-service-card__arrow:focus { color: #08ad63; text-decoration: none !important; }
.ts-service-card__arrow span { display: block; transform: translateY(-1px); }

@media (max-width: 1199px) and (min-width: 992px) {
  .ts-services { min-height: 700px; }
  .ts-services__grid { min-height: 700px; grid-template-columns: 420px minmax(0,1fr); column-gap: 24px; }
  .ts-services h2 { font-size: 36px; }
  .ts-services__intro > p { font-size: 18px; }
  .ts-services__button { min-width: 290px; height: 62px; font-size: 18px; }
  .ts-services__cards { gap: 12px; }
  .ts-service-card { height: 500px; }
  .ts-service-card__image { height: 235px; }
  .ts-service-card__body { min-height: 265px; padding-inline: 18px; }
  .ts-service-card__icon { width: 58px; height: 58px; }
  .ts-service-card__icon img { width: 42px; height: 42px; }
  .ts-service-card h3 { font-size: 20px; }
  .ts-service-card p { font-size: 14px; }
  .ts-service-card__arrow { left: 18px; }
}
@media (max-width: 991px) and (min-width: 768px) {
  .ts-services { min-height: 0; padding: 78px 0; }
  .ts-services__grid { min-height: 0; display: block; }
  .ts-services__intro { max-width: 690px; margin-bottom: 42px; }
  .ts-services h2 { font-size: 40px; }
  .ts-services__intro > p { font-size: 17px; }
  .ts-services__cards { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
  .ts-service-card { height: 510px; }
  .ts-service-card__image { height: 245px; }
  .ts-service-card__body { min-height: 265px; padding-inline: 20px; }
  .ts-service-card h3 { font-size: 22px; }
  .ts-service-card p { font-size: 15px; }
  .ts-service-card__arrow { left: 20px; }
}

/* =========================================================
   BLOCK 4 — FEATURED PROJECT / LEADERSHIP / PARTNERS
   Approved reference supplied by user.
   ========================================================= */
.ts-project-leadership { color: var(--ts-navy); background: #fff; }
.ts-project { position: relative; min-height: 337px; overflow: hidden; background: #eaf8f9; isolation: isolate; }
.ts-project__photo { position: absolute; inset: 0; z-index: -2; background: url('../images/projects/featured-project.jpg') center center / cover no-repeat; }
.ts-project::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(90deg, rgba(241,250,252,.99) 0%, rgba(241,250,252,.97) 25%, rgba(241,250,252,.56) 36%, rgba(241,250,252,0) 53%, rgba(0,67,53,.08) 73%, rgba(0,61,48,.96) 78%, rgba(0,61,48,.98) 100%); }
.ts-project__left { width: min(620px, calc(100% - 2 * var(--ts-gutter))); margin-left: max(var(--ts-gutter), calc((100% - var(--ts-content))/2)); padding: 31px 0 20px; position: relative; z-index: 2; }
.ts-project__kicker { margin-bottom: 16px; color:#0d654d; }
.ts-project__kicker span { background:#1aa76a; }
.ts-project h2 { margin:0; color:#10284d; font-size:40px; line-height:1.1; font-weight:800; letter-spacing:-1.4px; }
.ts-project h2 strong { color:#0aa95a; }
.ts-project__left > p { max-width:560px; margin:11px 0 13px; color:#61718a; font-size:16px; line-height:1.42; font-weight:500; }
.ts-project__button { min-width:240px; height:48px; padding:0 28px; gap:24px; background:#08ad5b; color:#fff; font-size:16px; font-weight:800; text-decoration:none!important; }
.ts-project__panel { position:absolute; top:0; right:0; width:25%; min-width:420px; height:100%; padding:34px 54px; color:#fff; background:rgba(0,61,48,.92); z-index:2; }
.ts-project__panel-kicker { display:flex; align-items:center; gap:18px; color:#12ce79; font-size:14px; font-weight:800; letter-spacing:1.8px; }
.ts-project__panel-kicker span { width:48px; height:2px; background:#12ce79; }
.ts-project__panel h3 { margin:12px 0 10px; color:#fff; font-size:32px; line-height:1.12; font-weight:800; letter-spacing:-.7px; }
.ts-project__panel p { max-width:365px; margin:0; color:rgba(255,255,255,.92); font-size:16px; line-height:1.45; font-weight:500; }

.ts-leadership { position:relative; min-height:228px; overflow:hidden; background:#eff9f8; }
.ts-leadership__plant { position:absolute; inset:0; background:url('../images/projects/featured-project.jpg') right center / cover no-repeat; opacity:.08; filter:saturate(.75); }
.ts-leadership::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(223,248,238,.88), rgba(241,250,250,.82) 42%, rgba(241,250,250,.9)); }
.ts-leadership__inner { min-height:228px; display:grid; grid-template-columns:610px 1fr; align-items:center; gap:34px; }
.ts-ceo-media { position:relative; height:228px; align-self:end; overflow:visible; }
.ts-ceo-media img { position:absolute; z-index:3; left:86px; bottom:0; width:300px; height:270px; object-fit:contain; object-position:center bottom; }
.ts-ceo-leaf { position:absolute; border-radius:65% 15% 65% 15%; transform:rotate(-30deg); background:linear-gradient(135deg, rgba(25,190,112,.88), rgba(41,220,140,.25)); z-index:1; }
.ts-ceo-leaf--one { width:430px; height:145px; left:-100px; bottom:16px; }
.ts-ceo-leaf--two { width:380px; height:125px; left:10px; bottom:65px; opacity:.7; transform:rotate(-18deg); }
.ts-leadership__copy { position:relative; z-index:3; padding:15px 0 14px; }
.ts-leadership__copy .ts-section-kicker { margin-bottom:8px; color:#0d654d; font-size:14px; letter-spacing:2px; }
.ts-leadership__copy .ts-section-kicker span { width:54px; }
.ts-leadership__copy h2 { margin:0 0 5px; font-size:32px; line-height:1.15; color:#10284d; font-weight:800; letter-spacing:-.8px; }
.ts-quote { position:relative; display:flex; align-items:flex-start; gap:12px; max-width:760px; }
.ts-quote p { margin:0; color:#61718a; font-size:16px; line-height:1.35; font-weight:500; }
.ts-quote__mark { color:#08ad5b; font-family:Georgia,serif; font-size:54px; line-height:.7; font-weight:700; flex:0 0 auto; }
.ts-quote__mark--close { align-self:flex-end; transform:translateY(-2px); }
.ts-ceo-name { margin:7px 0 0 45px; color:#10284d; font-size:16px; line-height:1.2; font-weight:800; }
.ts-ceo-title { margin-left:45px; color:#61718a; font-size:14px; line-height:1.2; font-weight:500; }

.ts-partners { background:#fff; min-height:116px; }
.ts-partners__inner { padding-top:9px; padding-bottom:13px; }
.ts-partners__heading .ts-section-kicker { margin:0 0 7px; font-size:14px; letter-spacing:2px; color:#0d654d; gap:18px; }
.ts-partners__heading .ts-section-kicker span { width:50px; }
.ts-partner-slider { position:relative; display:flex; align-items:center; gap:14px; }
.ts-partner-window { overflow:hidden; flex:1; border-radius:10px; background:#fff; box-shadow:0 4px 16px rgba(16,40,77,.08); }
.ts-partner-track { display:flex; width:max-content; animation:none; will-change:transform; }
.ts-partner-set { display:flex; align-items:center; }
.ts-partner-cell { width:176px; height:61px; display:grid; place-items:center; position:relative; flex:0 0 176px; }
.ts-partner-cell + .ts-partner-cell::before { content:""; position:absolute; left:0; top:11px; bottom:11px; width:1px; background:#d8e1e3; }
.ts-partner-cell img { width:150px; height:54px; object-fit:contain; display:block; }
.ts-partner-control { width:46px; height:46px; flex:0 0 46px; border:0; border-radius:50%; background:#dff6eb; color:#149d63; display:grid; place-items:center; cursor:pointer; transition:transform .2s ease, background .2s ease; padding:0; }
.ts-partner-control:hover, .ts-partner-control:focus-visible { transform:scale(1.04); background:#c9f0df; outline:none; }
.ts-partner-control svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
@keyframes tsPartnerMarquee { from { transform:translateX(0); } to { transform:translateX(-50%); } }
.ts-partner-slider:hover .ts-partner-track, .ts-partner-slider:focus-within .ts-partner-track { animation-play-state:paused; }

@media (max-width:1199px) and (min-width:992px) {
  .ts-project__left { width:500px; }
  .ts-project__panel { min-width:330px; padding:28px 34px; }
  .ts-project__panel h3 { font-size:27px; }
  .ts-leadership__inner { grid-template-columns:470px 1fr; gap:20px; }
  .ts-ceo-media img { left:48px; width:260px; height:245px; }
  .ts-ceo-leaf--one { left:-130px; }
  .ts-partner-cell { width:150px; flex-basis:150px; }
  .ts-partner-cell img { width:132px; }
}
@media (max-width:991px) and (min-width:768px) {
  .ts-project { min-height:520px; }
  .ts-project::after { background:linear-gradient(90deg, rgba(241,250,252,.97), rgba(241,250,252,.82) 56%, rgba(0,61,48,.96) 100%); }
  .ts-project__left { width:58%; margin-left:var(--ts-gutter); padding-top:45px; }
  .ts-project__panel { width:38%; min-width:0; padding:44px 26px; }
  .ts-project__panel h3 { font-size:25px; }
  .ts-leadership { min-height:360px; }
  .ts-leadership__inner { min-height:360px; grid-template-columns:1fr 1fr; gap:20px; }
  .ts-ceo-media { height:360px; }
  .ts-ceo-media img { left:30px; width:245px; height:330px; }
  .ts-leadership__copy { padding-right:12px; }
  .ts-leadership__copy h2 { font-size:27px; }
  .ts-quote p { font-size:15px; }
  .ts-partner-cell { width:145px; flex-basis:145px; }
  .ts-partner-cell img { width:125px; }
}

/* =========================================================
   BLOCK 5 — CTA / SAFETY INSIGHTS
   Approved reference supplied by user.
   ========================================================= */
.ts-cta { position:relative; min-height:306px; overflow:hidden; isolation:isolate; color:#fff; }
.ts-cta__bg { position:absolute; inset:0; z-index:-3; background:url('../images/cta/safer-workplace-refinery.jpg') center 55% / cover no-repeat; }
.ts-cta__overlay { position:absolute; inset:0; z-index:-2; background:linear-gradient(90deg, rgba(0,39,48,.96) 0%, rgba(0,45,45,.88) 28%, rgba(0,45,40,.40) 58%, rgba(0,52,45,.20) 72%, rgba(0,49,43,.92) 100%); }
.ts-cta__inner { min-height:306px; display:grid; grid-template-columns:minmax(0,1fr) 470px; align-items:center; }
.ts-cta__copy { padding:25px 0 24px; }
.ts-cta__kicker { margin:0 0 12px; color:#11d67b; font-size:20px; letter-spacing:3px; gap:22px; }
.ts-cta__kicker span { width:58px; background:#11d67b; }
.ts-cta h2 { margin:0; color:#fff; font-size:40px; line-height:1.12; font-weight:800; letter-spacing:-1.3px; }
.ts-cta h2 strong { color:#08c969; font-weight:800; }
.ts-cta__copy > p { margin:13px 0 18px; color:#fff; font-size:20px; line-height:1.35; font-weight:500; }
.ts-cta__actions { display:flex; align-items:center; gap:18px; }
.ts-cta__primary { height:58px; min-width:268px; padding:0 28px; background:#08c969; color:#fff; gap:20px; }
.ts-cta__secondary { height:58px; min-width:275px; padding:0 25px; border:2px solid rgba(255,255,255,.85); background:transparent; color:#fff; gap:15px; }
.ts-cta__secondary img { width:27px; height:27px; object-fit:contain; }
.ts-cta__benefits { align-self:stretch; margin-right:0; padding:23px 0 23px 32px; border-left:1px solid rgba(16,219,127,.85); display:flex; flex-direction:column; justify-content:center; gap:13px; background:linear-gradient(90deg, rgba(0,62,52,.52), rgba(0,62,52,.86)); }
.ts-cta__benefits article { display:flex; align-items:center; gap:18px; min-height:47px; font-size:20px; line-height:1.2; font-weight:600; }
.ts-cta__benefit-icon { width:46px; height:46px; flex:0 0 46px; border:2px solid #0bd57a; border-radius:50%; display:grid; place-items:center; }
.ts-cta__benefit-icon img { width:27px; height:27px; object-fit:contain; display:block; }
.ts-insights { position:relative; min-height:376px; overflow:hidden; background:#f2f9fb; color:var(--ts-navy); isolation:isolate; }
.ts-insights__decor { position:absolute; z-index:-1; pointer-events:none; border-radius:50%; border:1px solid rgba(34,206,135,.16); }
.ts-insights__decor--left { width:570px; height:570px; left:-360px; bottom:-380px; box-shadow:0 0 0 42px rgba(34,206,135,.035), 0 0 0 84px rgba(34,206,135,.025); }
.ts-insights__decor--right { width:620px; height:620px; right:-390px; top:-330px; box-shadow:0 0 0 44px rgba(34,206,135,.035), 0 0 0 88px rgba(34,206,135,.025); }
.ts-insights__inner { padding-top:17px; padding-bottom:24px; }
.ts-insights__top { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:10px; }
.ts-insights__kicker { margin:0 0 7px; color:#0d654d; font-size:20px; letter-spacing:3px; gap:22px; }
.ts-insights__kicker span { width:56px; }
.ts-insights h2 { margin:0; font-size:40px; line-height:1.08; font-weight:800; letter-spacing:-1.2px; color:#10284d; }
.ts-insights h2 strong { color:#08a957; font-weight:800; }
.ts-insights__view-all { display:inline-flex; align-items:center; gap:14px; margin-bottom:7px; color:#08a957; font-size:20px; line-height:1; font-weight:800; text-decoration:none !important; border-bottom:2px solid #08a957; padding-bottom:7px; }
.ts-insights__view-all svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.ts-insights__cards { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:22px; }
.ts-insight-card { background:#fff; border-radius:8px; overflow:hidden; box-shadow:0 3px 14px rgba(16,40,77,.05); }
.ts-insight-card__image { height:132px; overflow:hidden; }
.ts-insight-card__image img { width:100%; height:100%; object-fit:cover; display:block; }
.ts-insight-card__body { min-height:127px; padding:11px 26px 12px; }
.ts-insight-card time { display:block; color:#71819a; font-size:16px; line-height:1.2; font-weight:600; }
.ts-insight-card h3 { margin:5px 0 8px; color:#10284d; font-size:20px; line-height:1.25; font-weight:800; letter-spacing:-.3px; }
.ts-insight-card a { display:inline-flex; align-items:center; gap:9px; color:#08a957; font-size:18px; line-height:1; font-weight:800; text-decoration:none !important; }
.ts-insight-card a svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }

@media (max-width:1199px) and (min-width:992px) {
  .ts-cta__inner { grid-template-columns:minmax(0,1fr) 380px; }
  .ts-cta__copy > p { font-size:18px; }
  .ts-cta h2, .ts-insights h2 { font-size:36px; }
  .ts-cta__benefits { padding-left:22px; }
  .ts-cta__benefits article { font-size:17px; gap:13px; }
  .ts-cta__actions { gap:12px; }
  .ts-cta__primary, .ts-cta__secondary { min-width:0; padding-inline:20px; }
  .ts-insights__cards { gap:16px; }
  .ts-insight-card__body { padding-inline:20px; }
  .ts-insight-card h3 { font-size:18px; }
}
@media (max-width:991px) and (min-width:768px) {
  .ts-cta { min-height:440px; }
  .ts-cta__inner { min-height:440px; display:block; padding-top:35px; padding-bottom:35px; }
  .ts-cta__copy { padding:0; }
  .ts-cta__benefits { margin-top:28px; min-height:150px; padding:18px 0 18px 24px; display:grid; grid-template-columns:repeat(2,1fr); border-left:1px solid rgba(16,219,127,.85); }
  .ts-cta__benefits article { font-size:17px; }
  .ts-insights { min-height:520px; }
  .ts-insights__top { align-items:flex-start; }
  .ts-insights__cards { grid-template-columns:repeat(2,1fr); gap:18px; }
  .ts-insight-card:last-child { grid-column:1 / -1; max-width:calc(50% - 9px); }
}

/* =========================================================
   FOOTER — BLOCK 6 / APPROVED REFERENCE
   Desktop target: 1920px canvas, 1728px content, 96px gutters.
   All footer links explicitly suppress text underlines.
   ========================================================= */
.ts-footer {
  position: relative;
  overflow: hidden;
  background: #003d32;
  color: #fff;
  isolation: isolate;
}
.ts-footer-main { height: 558px; background: #003d32; }
.ts-footer-shell {
  height: 100%;
  display: grid;
  grid-template-columns: 410px 250px 335px 345px 310px 1fr;
  padding-top: 182px;
}
.ts-footer-shell > * { min-width: 0; }
.ts-footer-brand,
.ts-footer-column,
.ts-footer-signature {
  position: relative;
  min-height: 330px;
  border-right: 1px solid rgba(37,217,135,.48);
}
.ts-footer-brand { padding-right: 38px; }
.ts-footer-column { padding-left: 52px; padding-right: 30px; }
.ts-footer-logo {
  display: block;
  width: 365px;
  max-width: 100%;
  height: auto;
}
.ts-footer-rule,
.ts-footer-heading-line,
.ts-footer-signature-rule {
  display: block;
  height: 3px;
  background: #25d987;
}
.ts-footer-rule { width: 54px; margin: 25px 0 18px; }
.ts-footer-brand h2,
.ts-footer-column h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
}
.ts-footer-brand h2 { margin-bottom: 18px; line-height: 1.35; }
.ts-footer-brand p {
  max-width: 390px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}
.ts-footer-heading-line { width: 54px; margin: 22px 0 24px; }
.ts-footer-column ul { list-style: none; margin: 0; padding: 0; }
.ts-footer-column li { margin: 0 0 13px; }
.ts-footer-column a,
.ts-footer-bottom a {
  color: rgba(255,255,255,.86);
  text-decoration: none !important;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
}
.ts-footer-column a:hover,
.ts-footer-bottom a:hover { color: #25d987; text-decoration: none !important; }
.ts-footer-contact li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(255,255,255,.86);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
}
.ts-footer-contact li img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}
.ts-footer-socials { display: flex; align-items: center; gap: 15px; }
.ts-footer-socials a {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  text-decoration: none !important;
  transition: transform .2s ease, opacity .2s ease;
}
.ts-footer-socials a img { width: 60px; height: 60px; display: block; object-fit: contain; }
.ts-footer-socials a:hover { transform: translateY(-2px); opacity: .86; }
.ts-footer-signature { border-right: 0; overflow: visible; }
.ts-footer-watermark {
  position: absolute;
  top: -68px;
  right: -105px;
  width: 430px;
  height: auto;
  max-width: none;
  opacity: .16;
  pointer-events: none;
}
.ts-footer-tagline {
  position: absolute;
  left: 36px;
  bottom: 25px;
  color: #fff;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 3px;
  font-weight: 800;
  z-index: 2;
}
.ts-footer-signature-rule {
  position: absolute;
  left: 36px;
  bottom: 0;
  width: 36px;
}
.ts-footer-bottom {
  height: 170px;
  border-top: 1px solid rgba(37,217,135,.75);
  background: #003d32;
}
.ts-footer-bottom-shell {
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 36px;
}
.ts-footer-bottom p,
.ts-footer-bottom nav {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.4;
}
.ts-footer-bottom nav { display: flex; align-items: center; gap: 18px; }
.ts-footer-bottom nav span { color: #25d987; }

@media (max-width:1199px) and (min-width:992px) {
  .ts-footer-main { height: auto; min-height: 560px; }
  .ts-footer-shell {
    height: auto;
    min-height: 560px;
    padding-top: 100px;
    padding-bottom: 50px;
    grid-template-columns: 1.3fr .8fr 1fr 1fr .85fr .65fr;
  }
  .ts-footer-brand,
  .ts-footer-column,
  .ts-footer-signature { min-height: 350px; }
  .ts-footer-column { padding-left: 28px; padding-right: 20px; }
  .ts-footer-logo { width: 300px; }
  .ts-footer-socials { gap: 8px; }
  .ts-footer-socials a, .ts-footer-socials a img { width: 50px; height: 50px; }
  .ts-footer-watermark { width: 350px; right: -115px; }
  .ts-footer-bottom { height: 120px; }
  .ts-footer-bottom-shell { padding-top: 28px; }
}

@media (max-width:991px) and (min-width:768px) {
  .ts-footer-main { height: auto; }
  .ts-footer-shell {
    height: auto;
    padding-top: 65px;
    padding-bottom: 45px;
    grid-template-columns: repeat(2, minmax(0,1fr));
    row-gap: 42px;
  }
  .ts-footer-brand,
  .ts-footer-column,
  .ts-footer-signature { min-height: 270px; }
  .ts-footer-brand { padding-right: 25px; }
  .ts-footer-column { padding-left: 28px; padding-right: 18px; }
  .ts-footer-logo { width: 310px; }
  .ts-footer-signature { grid-column: 2; border-right: 0; }
  .ts-footer-watermark { width: 340px; right: -100px; top: -50px; }
  .ts-footer-bottom { height: 110px; }
  .ts-footer-bottom-shell { padding-top: 28px; }
}

/* =========================================================
   FINAL QA OVERRIDES — navigation, search, arrows, carousel
   ========================================================= */
.ts-nav a,
.ts-nav a:visited,
.ts-nav a:focus {
  color: #fff;
  text-decoration: none !important;
}
.ts-nav a:hover { color: var(--ts-green) !important; }
.ts-nav a.is-active { color: #fff; }
.ts-nav a.is-active:hover { color: var(--ts-green) !important; }

.ts-btn,
.ts-btn:hover,
.ts-btn:focus,
.ts-btn:active,
.ts-video,
.ts-video:hover,
.ts-video:focus,
.ts-service-card__arrow,
.ts-service-card__arrow:hover,
.ts-service-card__arrow:focus,
.ts-insights__view-all,
.ts-insight-card a,
.ts-insight-card a:hover,
.ts-insight-card a:focus,
.ts-footer a,
.ts-footer a:hover,
.ts-footer a:focus {
  text-decoration: none !important;
}

.ts-search {
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.ts-search:hover,
.ts-search:focus-visible {
  color: var(--ts-green-deep);
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,200,83,.22);
}
.ts-search-panel {
  position: absolute;
  z-index: 20;
  top: 118px;
  right: 0;
  width: min(520px, 100%);
  padding: 12px;
  border-radius: 14px;
  background: rgba(0,45,38,.97);
  box-shadow: 0 18px 45px rgba(0,0,0,.25);
  border: 1px solid rgba(37,217,135,.4);
}
.ts-search-panel[hidden] { display: none !important; }
.ts-search-form { display:flex; align-items:center; gap:8px; }
.ts-search-form input {
  flex:1;
  min-width:0;
  height:48px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:999px;
  padding:0 18px;
  background:rgba(255,255,255,.1);
  color:#fff;
  font:500 16px/1 var(--ts-font);
  outline:none;
}
.ts-search-form input::placeholder { color:rgba(255,255,255,.7); }
.ts-search-form input:focus { border-color:var(--ts-green); box-shadow:0 0 0 3px rgba(0,200,83,.16); }
.ts-search-form button {
  width:48px; height:48px; flex:0 0 48px;
  border:0; border-radius:50%; background:var(--ts-green); color:#fff;
  display:grid; place-items:center; cursor:pointer;
}
.ts-search-form button svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:2.4; stroke-linecap:round; }

.ts-service-card__arrow {
  width:38px;
  height:38px;
  left:20px;
  bottom:16px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#08ad63;
  background:transparent;
  transition:transform .2s ease, background-color .2s ease, color .2s ease;
}
.ts-service-card__arrow svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.ts-service-card__arrow:hover,
.ts-service-card__arrow:focus-visible { color:#fff; background:#08ad63; transform:translateX(2px); outline:none; }

/* Partner carousel: true slow ping-pong motion, controlled by JS. */
.ts-partner-track { animation:none !important; transform:translate3d(0,0,0); will-change:transform; }
.ts-partner-slider { overflow:visible; }
.ts-partner-window { min-width:0; }
.ts-partner-control { position:relative; z-index:4; }

@media (max-width:1199px) and (min-width:992px) {
  .ts-header { grid-template-columns:220px minmax(0,1fr) auto; column-gap:16px; }
  .ts-brand { width:215px; }
  .ts-nav { gap:12px; }
  .ts-nav a { font-size:13px; padding-inline:1px; }
  .ts-header-actions { gap:10px; }
  .ts-search { width:48px; height:48px; }
  .ts-btn--header { min-width:158px; height:48px; padding-inline:18px; font-size:14px; gap:10px; }
  .ts-btn--header svg { width:20px; height:20px; }
  .ts-search-panel { top:102px; }
}
@media (max-width:991px) and (min-width:768px) {
  .ts-header { grid-template-columns:210px minmax(0,1fr) auto; column-gap:10px; }
  .ts-brand { width:205px; }
  .ts-nav { gap:9px; }
  .ts-nav a { font-size:12px; padding-inline:0; }
  .ts-header-actions { gap:8px; }
  .ts-search { width:44px; height:44px; }
  .ts-btn--header { min-width:150px; height:44px; padding-inline:14px; font-size:13px; gap:8px; }
  .ts-btn--header svg { width:19px; height:19px; }
  .ts-search-panel { top:94px; }
}
@media (max-width:767px) {
  .ts-search-panel { right:0; left:0; width:auto; top:90px; }
}


/* Certifications block — green TechnoSafe certificate presentation */
.ts-certifications{position:relative;overflow:hidden;background:linear-gradient(135deg,#fbfffd 0%,#eefaf3 52%,#f7fffa 100%);color:#123c3a;padding:62px 0 34px;isolation:isolate}
.ts-certifications__inner{text-align:center}
.ts-certifications__brand img{width:290px;max-width:70%;height:auto;object-fit:contain;margin:0 auto 8px}
.ts-certifications__kicker{justify-content:center;color:#0c5548;gap:18px;margin:0 0 10px;font-size:18px;letter-spacing:2.8px}
.ts-certifications__kicker span{width:58px;background:#0aa967}
.ts-certifications h2{margin:0;font-size:48px;line-height:1.1;letter-spacing:-1.5px;font-weight:800;color:#0d3035}
.ts-certifications h2 strong{color:#08a85e}
.ts-certifications__intro{margin:12px auto 28px;font-size:18px;line-height:1.45;color:#61757e}
.ts-certifications__side-mark{position:absolute;z-index:-1;width:360px;height:650px;opacity:.13;background:linear-gradient(135deg,transparent 0 25%,#24bd7d 25% 39%,transparent 39% 47%,#24bd7d 47% 62%,transparent 62%);pointer-events:none}
.ts-certifications__side-mark--left{left:-190px;top:-30px;transform:rotate(8deg)}
.ts-certifications__side-mark--right{right:-190px;bottom:-100px;transform:rotate(188deg)}
.ts-certifications__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px;text-align:left}
.ts-certificate-card{position:relative;overflow:hidden;background:#fff;border-radius:16px;box-shadow:0 14px 34px rgba(13,92,67,.12);border:1px solid rgba(9,121,79,.08)}
.ts-certificate-card:after{content:"";position:absolute;right:-22px;bottom:-20px;width:170px;height:170px;background:url('../images/technosafe-logo.png') center/contain no-repeat;opacity:.12;pointer-events:none;filter:grayscale(1) sepia(1) hue-rotate(85deg) saturate(2)}
.ts-certificate-card__head{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:82px;padding:16px 24px;background:linear-gradient(110deg,#064d43,#08755a);border-bottom:7px solid #10d66e;color:#fff}
.ts-certificate-card__head img{width:155px;filter:brightness(0) invert(1);height:auto}
.ts-certificate-card__head span{font-size:12px;line-height:1.35;font-weight:800;text-align:right;letter-spacing:.2px}
.ts-certificate-card__body{padding:23px 30px 24px;position:relative;z-index:1}
.ts-certificate-card h3{font-size:23px;line-height:1.2;margin:0 0 10px;color:#123541}
.ts-certificate-card p{font-size:13px;line-height:1.4;color:#536b77;margin:0 0 7px}
.ts-certificate-card h4{font-size:19px;line-height:1.2;margin:8px 0;color:#153c48}
.ts-certificate-card__iso{display:block;color:#087b50;font-size:28px;line-height:1.15;margin:8px 0 2px;letter-spacing:-.6px}
.ts-certificate-card b{display:block;font-size:14px;line-height:1.3;color:#173e48;margin-bottom:8px}
.ts-certificate-card__meta{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:12px;border-top:1px solid #dce9e5;margin-top:14px;padding-top:12px;color:#163e4b;font-size:11px;font-weight:800}
.ts-certificate-card__meta small{display:block;color:#77908f;font-size:10px;font-weight:500;margin-bottom:3px}
.ts-certificate-card__signature{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;margin-top:22px;font-size:11px;line-height:1.45;color:#173e48}
.ts-certificate-card__signature em{font-style:normal;color:#43b98c;font-weight:800;line-height:1.35;text-align:right}
.ts-certifications__controls{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:24px}
.ts-certifications__controls button{width:46px;height:46px;border:0;border-radius:50%;background:#d4f3e4;color:#075d49;font-size:34px;line-height:1;cursor:pointer}
.ts-certifications__controls span{width:12px;height:12px;border-radius:50%;background:#cbd4d1}.ts-certifications__controls span.is-active{background:#08ad62}
@media(max-width:1199px){.ts-certifications h2{font-size:42px}.ts-certifications__grid{gap:20px}.ts-certificate-card__body{padding:20px}.ts-certificate-card__head{padding:14px 18px}.ts-certificate-card__head img{width:125px}}
@media(max-width:991px){.ts-certifications{padding-top:44px}.ts-certifications__grid{grid-template-columns:1fr;max-width:620px;margin-inline:auto}.ts-certificate-card__head img{width:160px}.ts-certifications h2{font-size:38px}.ts-certifications__intro{font-size:16px}.ts-certifications__side-mark{opacity:.08}}
@media(max-width:575px){.ts-certifications h2{font-size:31px;letter-spacing:-.8px}.ts-certifications__brand img{width:235px}.ts-certifications__kicker{font-size:14px;letter-spacing:2px}.ts-certifications__intro{font-size:15px}.ts-certificate-card__head span{font-size:10px}.ts-certificate-card__body{padding:20px}.ts-certificate-card__meta{gap:7px;grid-template-columns:1fr 1fr 1fr}.ts-certificate-card__iso{font-size:25px}}

/* Final static-project corrections */
.ts-footer-main, .ts-footer-shell { overflow: visible; }
.ts-footer-watermark { right: -20vw; width: 430px; max-width: none; z-index: 0; }
.ts-footer-contact li { align-items: flex-start; }
.ts-footer-contact li span { min-width: 0; }
.ts-footer-contact li a { display: inline; line-height: 1.55; }
.ts-footer-hours { margin-top: 22px; color: rgba(255,255,255,.86); font-size: 14px; line-height: 1.7; }
.ts-footer-hours strong { color: #25d987; font-size: 15px; }
@media (max-width:1199px) and (min-width:992px) { .ts-footer-watermark { width: 350px; right: -12vw; } }
@media (max-width:991px) and (min-width:768px) { .ts-footer-watermark { width: 340px; right: -90px; } }
@media (max-width:767px) { .ts-footer-watermark { width: 300px; right: -85px; top: -35px; } }

/* new effects by Mumtaz 15th sept 2026 */

/* Button grow effect */
.ts-btn,
button.ts-btn,
a.ts-btn {
  display: inline-flex;
  transform: scale(1) !important;
  transform-origin: center center;
  transition:
          transform 0.28s ease,
          box-shadow 0.28s ease,
          background-color 0.28s ease !important;
  will-change: transform;
}

.ts-btn:hover,
.ts-btn:focus-visible,
button.ts-btn:hover,
button.ts-btn:focus-visible,
a.ts-btn:hover,
a.ts-btn:focus-visible {
  transform: scale(1.06) !important;
}

/* New image zoom settings */
transition: transform 0.65s cubic-bezier(.2, .65, .2, 1);
transform: scale(1);
will-change: transform;
}

.ts-insight-card:hover .ts-insight-card__image img {
  transform: scale(1.045);
}

/* Icon lift effect on hover */
.ts-service-card__icon:hover,
.ts-value__icon:hover,
.ts-stat img:hover,
.ts-cta__benefits article svg:hover {
  transform: translateY(-5px);
}

/*--- logo slider ---*/
/* Partners slider */
.ts-partner-window {
  overflow: hidden;
  width: 100%;
  height: 80px;
}

.ts-partner-track {
  display: flex;
  width: 200%;
  transition: transform 0.5s ease-in-out;
}

.ts-partner-set {
  flex: 0 0 50%;
  width: 50%;
  min-width: 0;
  display: flex;
  align-items: center;
  height: 80px;
}
/* Partner logo sizing */
.ts-partner-cell {
  flex: 1 1 0;
  min-width: 0;
  height: 64px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-right: 1px solid #d9e2e5;
}

.ts-partner-cell:last-child {
  border-right: none;
}

.ts-partner-cell img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
}

/* Optional: cursor indication */
.ts-partner-control {
  cursor: pointer;
}

/* ================================
   CERTIFICATION SLIDER - FIXED
================================ */
/* ================================
   THREE-CARD ROTATING CERTIFICATION SLIDER
================================ */

.ts-certifications__viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.ts-certifications__grid {
  --cert-gap: 32px;

  display: flex !important;
  flex-wrap: nowrap !important;
  gap: var(--cert-gap) !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: transform 0.55s ease-in-out;
  will-change: transform;
}

.ts-certificate-card {
  flex: 0 0 calc((100% - (var(--cert-gap) * 2)) / 3) !important;
  width: calc((100% - (var(--cert-gap) * 2)) / 3) !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box;
}

/* Mobile: show one card */
@media (max-width: 767px) {
  .ts-certifications__grid {
    --cert-gap: 20px;
  }

  .ts-certificate-card {
    flex-basis: 100% !important;
    width: 100% !important;
  }
}

/* Tablet: show two cards */
@media (min-width: 768px) and (max-width: 1100px) {
  .ts-certificate-card {
    flex-basis: calc((100% - var(--cert-gap)) / 2) !important;
    width: calc((100% - var(--cert-gap)) / 2) !important;
  }
}

/* Navigation */
.ts-certifications__controls button {
  cursor: pointer;
  border: none;
  background: #d9f5e9;
  color: #008b58;
  transition: background 0.25s ease, transform 0.25s ease;
}

.ts-certifications__controls button:hover {
  background: #08ad63;
  color: #ffffff;
  transform: translateY(-2px);
}

/* =========================================================
   TECHNOSAFE MEGA NAVIGATION — corrected white dropdowns
   ========================================================= */
.ts-header {
  position: relative;
  z-index: 1000;
  overflow: visible;
}

.ts-nav__dropdown {
  position: static;
}

.ts-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 0 14px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease;
}

.ts-nav__trigger svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.ts-nav__trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.ts-nav__trigger:hover,
.ts-nav__trigger:focus-visible {
  color: #00c853;
  transform: translateX(3px);
}

.ts-nav__trigger:hover svg,
.ts-nav__trigger:focus-visible svg {
  transform: translateX(2px);
}

/* White outer card. The small offset keeps the menu close to the header. */
.ts-mega {
  position: absolute;
  z-index: 1100;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 58% minmax(0, 1fr);
  gap: 32px;
  padding: 14px;
  border: 1px solid #e6edf1;
  border-radius: 14px;
  background: #fff;
  color: #10284d;
  box-shadow: 0 10px 30px rgba(16, 40, 77, .10);
}

.ts-mega[hidden] {
  display: none !important;
}

/* Left image feature */
.ts-mega__feature {
  position: relative;
  min-width: 0;
  min-height: 326px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 9px;
  background: #10284d;
}

.ts-mega__feature > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ts-mega__feature::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(
    to top,
    rgba(2, 24, 39, .92) 0%,
    rgba(2, 24, 39, .48) 45%,
    rgba(2, 24, 39, .02) 100%
  );
}

.ts-mega__feature-copy {
  position: absolute;
  right: 28px;
  bottom: 24px;
  left: 28px;
}

.ts-mega__rule {
  display: block;
  width: 54px;
  height: 4px;
  margin-bottom: 12px;
  background: #00c853;
}

.ts-mega__feature h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(25px, 2vw, 36px);
  line-height: 1.15;
  font-weight: 800;
}

.ts-mega__feature p {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
  line-height: 1.45;
}

.ts-mega__all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #00c853;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none !important;
}

.ts-mega__all:hover,
.ts-mega__all:focus-visible {
  color: #008f43;
}

/* Right-side links: keep each label and its arrow on the same row. */
.ts-mega__links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 12px 26px;
  border-left: 1px solid #dce5eb;
}

.ts-mega__links a,
.ts-mega__links a:visited {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  align-items: center;
  column-gap: 12px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 12px 0;
  margin: 0;
  color: #10284d;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
  text-decoration: none !important;
  transition: color 180ms ease, padding-left 180ms ease;
}

/* Override the primary navigation underline for mega-menu links. */
.ts-mega__links a::before {
  content: none !important;
}

.ts-mega__links a::after {
  content: "›";
  position: static;
  display: block;
  width: 22px;
  height: 1.4em;
  margin: 0;
  padding: 0;
  background: none !important;
  color: #00a94f;
  font-family: var(--ts-font), sans-serif;
  font-size: 25px;
  line-height: 1.4em;
  font-weight: 400;
  text-align: center;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.ts-mega__links a:hover,
.ts-mega__links a:focus-visible {
  color: #00a94f;
  padding-left: 6px;
}

.ts-mega__links a:hover::after,
.ts-mega__links a:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.ts-mega__links a:focus-visible {
  outline: 2px solid #00a94f;
  outline-offset: 3px;
}

/* Tablet */
@media (max-width: 1100px) {
  .ts-mega {
    grid-template-columns: 55% minmax(0, 1fr);
    gap: 20px;
  }

  .ts-mega__links {
    padding: 10px 16px;
  }

  .ts-mega__links a,
  .ts-mega__links a:visited {
    padding: 10px 0;
    font-size: 16px;
  }
}

/* Mobile: keep dropdown content readable */
@media (max-width: 767px) {
  .ts-mega {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    max-height: 75vh;
    overflow-y: auto;
    padding: 10px;
  }

  .ts-mega__feature {
    min-height: 230px;
  }

  .ts-mega__feature-copy {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .ts-mega__links {
    padding: 8px 14px;
    border-top: 1px solid #dce5eb;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ts-nav__trigger,
  .ts-nav__trigger svg,
  .ts-mega__links a,
  .ts-mega__links a::after {
    transition: none;
  }
}

     /* Fix dropdown trigger typography to match regular navigation links */
   .ts-nav .ts-nav__trigger {
     font-family: var(--ts-font);
     font-size: 16px;
     line-height: 1;
     font-weight: 600;
     color: #fff;
     letter-spacing: normal;
     text-transform: none;
     -webkit-appearance: none;
     appearance: none;
   }

/* Match the regular navigation's visual weight */
.ts-nav .ts-nav__trigger:hover,
.ts-nav .ts-nav__trigger:focus-visible {
  color: var(--ts-green);
}

/* Keep dropdown chevrons neatly aligned */
.ts-nav .ts-nav__trigger svg {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* =========================================================
   TECHNOSAFE STICKY HEADER
   Transparent over hero; white background when scrolling
   ========================================================= */

.ts-header-spacer {
  height: 0;
  width: 100%;
  pointer-events: none;
}

.ts-header.is-sticky {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--ts-content), calc(100% - 12px));
  height: 88px;
  padding: 0 28px;
  grid-template-columns: 260px minmax(0, 1fr) auto;
  column-gap: 24px;
  background: #ffffff;
  color: var(--ts-navy);
  border: 1px solid rgba(16, 40, 77, 0.07);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 24px rgba(16, 40, 77, 0.12);
  z-index: 2000;
}

.ts-header.is-sticky .ts-brand {
  width: 230px;
}

.ts-header.is-sticky .ts-nav {
  gap: clamp(14px, 1.65vw, 30px);
}

.ts-header.is-sticky .ts-nav > a,
.ts-header.is-sticky .ts-nav .ts-nav__trigger {
  color: var(--ts-navy);
}

.ts-header.is-sticky .ts-nav > a:hover,
.ts-header.is-sticky .ts-nav .ts-nav__trigger:hover,
.ts-header.is-sticky .ts-nav .ts-nav__trigger:focus-visible {
  color: var(--ts-green-deep);
}

.ts-header.is-sticky .ts-nav a.is-active {
  color: var(--ts-navy);
}

.ts-header.is-sticky .ts-nav a.is-active::after {
  background: var(--ts-green);
  height: 3px;
}

.ts-header.is-sticky .ts-header-actions {
  gap: 24px;
}

.ts-header.is-sticky .ts-search {
  background: #eef3f7;
}

.ts-header.is-sticky .ts-btn--header {
  color: #062d37;
}

.ts-header.is-sticky .ts-mega {
  top: calc(100% + 1px);
}

/* Tablet and smaller desktop screens */
@media (max-width: 1199px) {
  .ts-header.is-sticky {
    padding-inline: 18px;
    grid-template-columns: 205px minmax(0, 1fr) auto;
    column-gap: 14px;
  }

  .ts-header.is-sticky .ts-brand {
    width: 195px;
  }

  .ts-header.is-sticky .ts-nav {
    gap: 12px;
  }

  .ts-header.is-sticky .ts-nav > a,
  .ts-header.is-sticky .ts-nav .ts-nav__trigger {
    font-size: 13px;
  }

  .ts-header.is-sticky .ts-header-actions {
    gap: 10px;
  }

  .ts-header.is-sticky .ts-search {
    width: 44px;
    height: 44px;
  }

  .ts-header.is-sticky .ts-btn--header {
    min-width: 145px;
    height: 44px;
    padding-inline: 12px;
    font-size: 12px;
    gap: 8px;
  }
}

/* Mobile screens */
@media (max-width: 767px) {
  .ts-header.is-sticky {
    width: 100%;
    height: 76px;
    padding-inline: 16px;
    border-radius: 0;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .ts-header.is-sticky .ts-brand {
    width: min(210px, 48vw);
  }

  .ts-header.is-sticky .ts-nav {
    display: none;
  }

  .ts-header.is-sticky .ts-header-actions {
    gap: 10px;
  }

  .ts-header.is-sticky .ts-search {
    width: 42px;
    height: 42px;
  }

  .ts-header.is-sticky .ts-btn--header {
    min-width: 0;
    height: 42px;
    padding-inline: 14px;
    font-size: 12px;
    gap: 8px;
  }

  .ts-header.is-sticky .ts-btn--header svg {
    width: 18px;
    height: 18px;
  }
}

/* Fix sticky header overlapping with scrolling content */
.ts-header.is-sticky {
  z-index: 99999 !important;
  isolation: isolate;
}

/* Keep dropdown menus above page content */
.ts-header.is-sticky .ts-mega {
  z-index: 100000 !important;
}

/* Prevent decorative sections from covering the sticky header */
.ts-header-spacer {
  position: relative;
  z-index: 0;
}


.ts-header.is-sticky {
  position: fixed !important;
  top: 0 !important;
}



/* =========================================================
   ABOUT US PAGE — shared TechnoSafe design system
   Appended to the primary stylesheet; Manrope + brand palette.
   ========================================================= */
.ts-inner-page { background:#fff; color:var(--ts-navy); }
.ts-header.ts-header--inner-page {
  position:sticky; top:0; z-index:99999; isolation:isolate;
  width:100%; height:100px; padding:0 3.1%;
  grid-template-columns:240px minmax(0,1fr) auto; column-gap:24px;
  background:#fff; color:var(--ts-navy);
  box-shadow:0 4px 16px rgba(16,40,77,.10);
}
.ts-header--inner-page .ts-brand { width:220px; }
.ts-header--inner-page .ts-nav { gap:clamp(16px,1.55vw,32px); }
.ts-header--inner-page .ts-nav a,
.ts-header--inner-page .ts-nav .ts-nav__trigger,
.ts-header--inner-page .ts-nav a.is-active { color:var(--ts-navy) !important; }
.ts-header--inner-page .ts-nav a:hover,
.ts-header--inner-page .ts-nav .ts-nav__trigger:hover { color:var(--ts-green-deep) !important; }
.ts-header--inner-page .ts-nav a.is-active::after { background:var(--ts-green); }
.ts-header--inner-page .ts-search { background:#eef3f7; }
.ts-header--inner-page .ts-btn--header { color:#052e38; }
.ts-inner-page .ts-search-panel { top:86px; right:3.1%; }
.ts-inner-hero { position:relative; height:clamp(300px,29.2vw,560px); overflow:hidden; isolation:isolate; color:#fff; }
.ts-inner-hero__image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 54%; z-index:-2; }
.ts-inner-hero__shade { position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(2,25,42,.91) 0%,rgba(2,25,42,.69) 32%,rgba(2,25,42,.12) 65%,rgba(2,25,42,.06) 100%); }
.ts-inner-hero__inner { height:100%; display:flex; align-items:center; }
.ts-inner-hero__copy { padding:10px 0; }
.ts-page-kicker { display:flex; align-items:center; gap:18px; margin-bottom:20px; font-size:16px; font-weight:800; letter-spacing:2px; }
.ts-page-kicker span { width:48px; height:2px; background:#fff; }
.ts-inner-hero h1 { margin:0; color:#fff; font-size:clamp(42px,4vw,72px); line-height:1.04; letter-spacing:-1.7px; font-weight:800; }
.ts-inner-hero h1 strong { color:var(--ts-green); font-weight:800; }
.ts-inner-hero__copy p { margin:18px 0 0; color:#fff; font-size:clamp(16px,1.25vw,22px); line-height:1.45; font-weight:500; }
.ts-breadcrumb { min-height:54px; display:flex; align-items:center; border-bottom:1px solid #e7edf1; background:#fff; color:var(--ts-navy); font-size:14px; font-weight:600; }
.ts-breadcrumb .ts-container { display:flex; align-items:center; gap:13px; }
.ts-breadcrumb a { color:var(--ts-navy); }
.ts-breadcrumb span[aria-current="page"] { color:var(--ts-green-deep); }
.ts-breadcrumb span[aria-hidden="true"] { color:#7d8ba0; font-size:20px; }
.ts-who-we-are { padding:58px 0 56px; background:#fff; }
.ts-who-we-are__grid { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:54px; align-items:center; }
.ts-page-section-kicker { display:flex; align-items:center; gap:16px; margin:0 0 14px; color:#294969; font-size:14px; line-height:1.2; font-weight:800; letter-spacing:.4px; }
.ts-page-section-kicker > span { display:block; width:28px; height:3px; background:var(--ts-green); flex:0 0 auto; }
.ts-who-we-are h2,.ts-about-people h2,.ts-about-certifications h2 { margin:0 0 14px; color:var(--ts-navy); font-size:clamp(28px,2.15vw,40px); line-height:1.16; letter-spacing:-.8px; font-weight:800; }
.ts-who-we-are__copy p,.ts-about-people__copy p,.ts-about-certifications__copy p { margin:0 0 14px; color:#61718a; font-size:16px; line-height:1.5; font-weight:500; }
.ts-about-cta { display:inline-flex; align-items:center; justify-content:center; gap:16px; margin-top:4px; min-height:48px; padding:0 22px; border-radius:9px; background:var(--ts-green); color:#062f3b; font-size:15px; font-weight:800; text-decoration:none!important; }
.ts-about-cta:hover { background:#00b84c; color:#062f3b; }
.ts-about-cta span { font-size:21px; line-height:1; }
.ts-who-we-are__visual { display:grid; grid-template-columns:minmax(0,1fr) 205px; min-height:300px; overflow:hidden; border-radius:9px; background:#082e4b; }
.ts-who-we-are__photo { width:100%; height:100%; min-height:300px; object-fit:cover; display:block; }
.ts-about-stats { display:flex; flex-direction:column; justify-content:space-evenly; gap:12px; padding:24px 18px; background:#052a45; color:#fff; }
.ts-about-stat { display:flex; align-items:center; gap:12px; }
.ts-about-stat img { width:34px; height:34px; object-fit:contain; flex:0 0 34px; }
.ts-about-stat strong { display:block; color:#fff; font-size:23px; line-height:1.05; font-weight:800; }
.ts-about-stat span { display:block; margin-top:4px; color:rgba(255,255,255,.78); font-size:11px; line-height:1.25; font-weight:500; }
.ts-about-values { padding:44px 0 40px; background:#f0f8fb; }
.ts-about-values h2 { margin:0 0 28px 44px; color:var(--ts-navy); font-size:30px; line-height:1.15; font-weight:800; letter-spacing:-.6px; }
.ts-values-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:40px; }
.ts-value-card img { display:block; width:46px; height:46px; object-fit:contain; margin-bottom:12px; }
.ts-value-card h3 { margin:0 0 7px; color:var(--ts-navy); font-size:18px; line-height:1.2; font-weight:800; }
.ts-value-card p { max-width:260px; margin:0; color:#61718a; font-size:15px; line-height:1.42; font-weight:500; }
.ts-mission-vision { display:grid; grid-template-columns:1fr 1fr; gap:14px; padding:0; }
.ts-mission-card,.ts-vision-card { min-height:300px; position:relative; overflow:hidden; isolation:isolate; border-radius:6px; }
.ts-mission-card__bg,.ts-vision-card__bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; }
.ts-mission-card__shade { position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(0,39,65,.96),rgba(0,39,65,.82) 57%,rgba(0,39,65,.45)); }
.ts-vision-card__shade { position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(246,251,253,.98),rgba(246,251,253,.92) 55%,rgba(246,251,253,.36)); }
.ts-mission-card__content,.ts-vision-card__content { min-height:300px; display:grid; grid-template-columns:74px minmax(0,1fr); gap:18px; align-items:center; padding:34px clamp(28px,4vw,78px); }
.ts-mission-card__icon,.ts-vision-card__icon { width:64px; height:64px; padding:12px; border:1px solid rgba(255,255,255,.75); border-radius:50%; background:rgba(255,255,255,.12); }
.ts-vision-card__icon { border-color:#d9e5ec; background:#fff; }
.ts-page-section-kicker--light { color:#fff; }
.ts-page-section-kicker--light span { background:var(--ts-green); }
.ts-mission-card h2,.ts-vision-card h2 { margin:0 0 12px; color:#fff; font-size:clamp(22px,1.65vw,30px); line-height:1.16; letter-spacing:-.4px; font-weight:800; }
.ts-vision-card h2 { color:var(--ts-navy); }
.ts-mission-card p,.ts-vision-card p { max-width:480px; margin:0; color:rgba(255,255,255,.92); font-size:15px; line-height:1.45; font-weight:500; }
.ts-vision-card p { color:#314761; }
.ts-about-people { padding:24px 0 22px; background:#fff; }
.ts-about-people__grid { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); gap:42px; align-items:center; }
.ts-about-people__copy h2 { font-size:clamp(25px,1.8vw,34px); margin-bottom:12px; }
.ts-about-people__photo { display:block; width:100%; height:250px; object-fit:cover; object-position:center 40%; border-radius:7px; }
.ts-about-certifications { padding:16px 0 30px; background:#fff; border-bottom:3px solid #005344; }
.ts-about-certifications__inner { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:36px; align-items:center; }
.ts-about-certifications h2 { font-size:clamp(24px,1.8vw,32px); margin-bottom:8px; }
.ts-about-certifications__copy p { margin-bottom:0; }
.ts-certification-list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; align-items:center; }
.ts-certification-mark { display:flex; flex-direction:column; align-items:center; justify-content:center; color:#263f5b; min-height:74px; }
.ts-certification-mark strong { font-family:Georgia,serif; font-size:34px; line-height:1; letter-spacing:-1px; font-weight:800; border-bottom:2px solid #263f5b; }
.ts-certification-mark span { margin-top:5px; font-size:12px; line-height:1.1; font-weight:700; }
.ts-certification-mark--nebosh strong { font-family:var(--ts-font); border:0; font-size:42px; }
.ts-certification-mark--nebosh span { font-size:16px; font-weight:800; letter-spacing:1px; }

/* Header stays white on every non-homepage; never uses the homepage scroll swap. */
@media (max-width:1199px) {
  .ts-header.ts-header--inner-page { height:88px; grid-template-columns:190px minmax(0,1fr) auto; gap:14px; padding-inline:24px; }
  .ts-header--inner-page .ts-brand { width:180px; }
  .ts-header--inner-page .ts-nav { gap:12px; }
  .ts-header--inner-page .ts-nav a,.ts-header--inner-page .ts-nav .ts-nav__trigger { font-size:13px; }
  .ts-header--inner-page .ts-header-actions { gap:10px; }
  .ts-header--inner-page .ts-search { width:44px; height:44px; }
  .ts-header--inner-page .ts-btn--header { min-width:150px; height:44px; padding-inline:14px; font-size:12px; gap:8px; }
  .ts-who-we-are__grid { gap:28px; }
  .ts-who-we-are__visual { grid-template-columns:minmax(0,1fr) 170px; }
  .ts-about-stats { padding:18px 12px; }
  .ts-about-stat strong { font-size:20px; }
  .ts-mission-card__content,.ts-vision-card__content { padding:28px; }
}
@media (max-width:991px) {
  .ts-header.ts-header--inner-page { height:78px; grid-template-columns:minmax(0,1fr) auto; }
  .ts-header--inner-page .ts-nav { display:none; }
  .ts-header--inner-page .ts-brand { width:190px; }
  .ts-inner-hero { height:360px; }
  .ts-who-we-are__grid { grid-template-columns:1fr; }
  .ts-who-we-are__visual { min-height:280px; }
  .ts-who-we-are__photo { min-height:280px; }
  .ts-values-grid { gap:26px; }
  .ts-mission-vision { grid-template-columns:1fr; }
  .ts-mission-card,.ts-vision-card,.ts-mission-card__content,.ts-vision-card__content { min-height:260px; }
  .ts-about-people__grid,.ts-about-certifications__inner { grid-template-columns:1fr; gap:24px; }
  .ts-about-people__photo { height:300px; }
}
@media (max-width:767px) {
  .ts-header.ts-header--inner-page { padding-inline:16px; }
  .ts-header--inner-page .ts-brand { width:min(185px,48vw); }
  .ts-header--inner-page .ts-btn--header { min-width:0; padding-inline:12px; }
  .ts-header--inner-page .ts-btn--header span { font-size:11px; }
  .ts-inner-hero { height:330px; }
  .ts-inner-hero__image { object-position:60% center; }
  .ts-inner-hero h1 { font-size:42px; }
  .ts-page-kicker { font-size:13px; margin-bottom:14px; }
  .ts-breadcrumb { min-height:46px; font-size:12px; }
  .ts-who-we-are { padding:38px 0; }
  .ts-who-we-are h2 { font-size:29px; }
  .ts-who-we-are__visual { grid-template-columns:minmax(0,1fr) 128px; min-height:235px; }
  .ts-who-we-are__photo { min-height:235px; }
  .ts-about-stats { padding:12px 8px; gap:8px; }
  .ts-about-stat { gap:6px; }
  .ts-about-stat img { width:25px; height:25px; flex-basis:25px; }
  .ts-about-stat strong { font-size:17px; }
  .ts-about-stat span { font-size:9px; }
  .ts-about-values { padding:34px 0; }
  .ts-about-values h2 { margin-left:0; font-size:27px; }
  .ts-values-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 18px; }
  .ts-value-card img { width:38px; height:38px; }
  .ts-value-card h3 { font-size:16px; }
  .ts-value-card p { font-size:13px; }
  .ts-mission-card__content,.ts-vision-card__content { grid-template-columns:48px minmax(0,1fr); gap:14px; padding:26px 18px; }
  .ts-mission-card__icon,.ts-vision-card__icon { width:46px; height:46px; padding:8px; }
  .ts-mission-card h2,.ts-vision-card h2 { font-size:22px; }
  .ts-mission-card p,.ts-vision-card p { font-size:13px; }
  .ts-about-people { padding:34px 0; }
  .ts-about-people__photo { height:220px; }
  .ts-certification-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
  .ts-about-certifications { padding:28px 0; }
}


/* =========================================================
   SERVICES PAGE — incremental styles, shared Manrope system
   "How We Work" and "Partner with TechnoSafe" blocks are
   intentionally excluded; the service cards flow directly
   into the shared footer as requested.
   ========================================================= */
.ts-services-page { color:var(--ts-navy); background:#fff; }
.ts-services-page .ts-services-hero { position:relative; height:clamp(360px,32vw,590px); overflow:hidden; isolation:isolate; color:#fff; }
.ts-services-hero__image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 48%; z-index:-2; }
.ts-services-hero__overlay { position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(2,25,57,.97) 0%,rgba(2,25,57,.88) 29%,rgba(2,25,57,.48) 48%,rgba(2,25,57,.03) 74%); }
.ts-services-hero__inner { height:100%; display:flex; align-items:center; }
.ts-services-hero__copy { max-width:720px; padding:18px 0 24px; }
.ts-services-breadcrumb { display:flex; gap:12px; align-items:center; margin:0 0 28px; color:#fff; font-size:14px; font-weight:600; }
.ts-services-breadcrumb a { color:#fff; }
.ts-services-breadcrumb span:nth-child(2) { color:#a8b9cc; font-size:19px; }
.ts-services-hero .ts-page-kicker { margin-bottom:20px; font-size:14px; letter-spacing:.7px; }
.ts-services-hero .ts-page-kicker span { width:38px; height:3px; background:var(--ts-green); }
.ts-services-hero h1 { margin:0; color:#fff; font-size:clamp(38px,3.25vw,62px); line-height:1.06; letter-spacing:-1.5px; font-weight:800; }
.ts-services-hero h1 strong { color:var(--ts-green); font-weight:800; }
.ts-services-hero__copy > p { margin:18px 0 20px; color:#fff; font-size:clamp(15px,1.12vw,20px); line-height:1.45; font-weight:500; }
.ts-services-hero .ts-about-cta { min-height:48px; border-radius:26px; padding:0 24px; }
.ts-services-intro { padding:42px 0 32px; background:#fff; }
.ts-services-intro__grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1.15fr); gap:38px; align-items:center; }
.ts-services-intro__copy h2 { margin:0 0 12px 0; color:var(--ts-navy); font-size:clamp(27px,2.05vw,38px); line-height:1.16; letter-spacing:-.65px; font-weight:800; }
.ts-services-intro__copy p { margin:0; color:#5e6e83; font-size:15px; line-height:1.5; font-weight:500; }
.ts-service-pillars { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); align-items:stretch; }
.ts-service-pillar { min-width:0; padding:4px 16px 4px 22px; border-left:1px solid #e1eaf0; }
.ts-service-pillar img { width:39px; height:39px; object-fit:contain; display:block; margin-bottom:13px; }
.ts-service-pillar h3 { margin:0 0 8px; color:var(--ts-navy); font-size:15px; line-height:1.2; font-weight:800; }
.ts-service-pillar p { margin:0; color:#5c6b7f; font-size:12px; line-height:1.4; font-weight:500; }
.ts-services-catalog { padding:26px 0 36px; background:#fff; }
.ts-services-catalog > .ts-container > .ts-page-section-kicker { margin-bottom:8px; }
.ts-services-catalog h2 { margin:0 0 8px 40px; color:var(--ts-navy); font-size:clamp(25px,1.85vw,34px); line-height:1.2; letter-spacing:-.55px; font-weight:800; }
.ts-services-catalog__lead { margin:0 0 26px 40px; color:#61718a; font-size:15px; line-height:1.45; font-weight:500; }
.ts-service-cards { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px 20px; }
.ts-service-card { min-width:0; display:flex; flex-direction:column; overflow:hidden; border-radius:7px; background:#f5fafc; box-shadow:0 1px 4px rgba(16,40,77,.06); }
.ts-service-card__image { display:block; width:100%; height:clamp(112px,10.2vw,190px); object-fit:cover; object-position:center; }
.ts-service-card__body { flex:1; padding:14px 18px 16px; display:flex; flex-direction:column; align-items:flex-start; }
.ts-service-card__icon { display:block; width:34px; height:34px; object-fit:contain; margin-bottom:8px; }
.ts-service-card h3 { margin:0 0 8px; color:var(--ts-navy); font-size:clamp(15px,1.05vw,19px); line-height:1.22; letter-spacing:-.15px; font-weight:800; }
.ts-service-card p { margin:0 0 12px; color:#596a7f; font-size:14px; line-height:1.42; font-weight:500; }
.ts-service-card a { margin-top:auto; display:inline-flex; align-items:center; gap:9px; color:var(--ts-green-deep); font-size:14px; line-height:1.2; font-weight:800; }
.ts-service-card a span { font-size:20px; line-height:1; transition:transform .18s ease; }
.ts-service-card a:hover span { transform:translateX(3px); }
.ts-services-page ~ .ts-footer { margin-top:0; }
.ts-services-page .ts-page-section-kicker > span { background:var(--ts-green); }
@media (max-width:1199px) {
  .ts-services-intro__grid { gap:22px; }
  .ts-service-pillar { padding-inline:14px; }
  .ts-service-cards { gap:18px 16px; }
  .ts-service-card__body { padding:12px 13px 14px; }
  .ts-service-card h3 { font-size:16px; }
  .ts-service-card p { font-size:13px; }
}
@media (max-width:991px) {
  .ts-services-page .ts-services-hero { height:430px; }
  .ts-services-hero h1 { font-size:44px; }
  .ts-services-intro__grid { grid-template-columns:1fr; gap:28px; }
  .ts-service-pillars { border-top:1px solid #e1eaf0; padding-top:20px; }
  .ts-service-cards { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
  .ts-service-card__image { height:190px; }
  .ts-service-card h3 { font-size:18px; }
  .ts-service-card p { font-size:14px; }
}
@media (max-width:767px) {
  .ts-services-page .ts-services-hero { height:450px; }
  .ts-services-hero__image { object-position:62% center; }
  .ts-services-hero__overlay { background:linear-gradient(90deg,rgba(2,25,57,.95),rgba(2,25,57,.78) 64%,rgba(2,25,57,.3)); }
  .ts-services-hero__copy { max-width:100%; }
  .ts-services-breadcrumb { margin-bottom:24px; font-size:12px; }
  .ts-services-hero h1 { font-size:clamp(34px,8vw,43px); letter-spacing:-.8px; }
  .ts-services-hero__copy > p { font-size:15px; }
  .ts-desktop-break { display:none; }
  .ts-services-intro { padding:32px 0 24px; }
  .ts-services-intro__copy h2 { font-size:28px; }
  .ts-services-intro__copy p { font-size:14px; }
  .ts-service-pillars { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 0; }
  .ts-service-pillar { padding:8px 14px; }
  .ts-service-pillar h3 { font-size:14px; }
  .ts-service-pillar p { font-size:12px; }
  .ts-services-catalog { padding:24px 0 30px; }
  .ts-services-catalog h2 { margin-left:0; font-size:26px; }
  .ts-services-catalog__lead { margin-left:0; font-size:14px; }
  .ts-service-cards { grid-template-columns:1fr; gap:18px; }
  .ts-service-card { display:grid; grid-template-columns:40% minmax(0,1fr); }
  .ts-service-card__image { height:100%; min-height:210px; }
  .ts-service-card__body { padding:14px; }
  .ts-service-card h3 { font-size:16px; }
  .ts-service-card p { font-size:13px; }
}

/* Active navigation state for the Services dropdown on services.php */
.ts-header--inner-page .ts-nav .ts-nav__trigger.is-active {
  position: relative;
  color: var(--ts-navy) !important;
}
.ts-header--inner-page .ts-nav .ts-nav__trigger.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--ts-green);
}


/* =========================================================
   NAVIGATION FIX — Services link and mega-menu toggle are separate
   Appended shared styles; existing page styling remains unchanged.
   ========================================================= */
.ts-nav .ts-nav__dropdown--services {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: static;
}
.ts-nav .ts-nav__dropdown--services > .ts-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 10px 0 14px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.ts-nav .ts-nav__dropdown--services > .ts-nav__link.is-active::after {
  background: var(--ts-green);
}
.ts-nav .ts-nav__dropdown--services > .ts-nav__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  width: 20px;
  padding: 10px 0 14px;
  margin: 0;
  transform: none;
}
.ts-nav .ts-nav__dropdown--services > .ts-nav__trigger:hover,
.ts-nav .ts-nav__dropdown--services > .ts-nav__trigger:focus-visible {
  transform: none;
}
.ts-nav .ts-nav__dropdown--services > .ts-nav__trigger svg {
  width: 13px;
  height: 13px;
}
.ts-header--inner-page .ts-nav .ts-nav__dropdown--services > .ts-nav__link,
.ts-header--inner-page .ts-nav .ts-nav__dropdown--services > .ts-nav__trigger {
  color: var(--ts-navy) !important;
}
.ts-header--inner-page .ts-nav .ts-nav__dropdown--services > .ts-nav__link:hover,
.ts-header--inner-page .ts-nav .ts-nav__dropdown--services > .ts-nav__trigger:hover,
.ts-header--inner-page .ts-nav .ts-nav__dropdown--services > .ts-nav__trigger:focus-visible {
  color: var(--ts-green-deep) !important;
}
@media (max-width: 767px) {
  .ts-nav .ts-nav__dropdown--services { gap: 2px; }
  .ts-nav .ts-nav__dropdown--services > .ts-nav__link { padding-inline: 2px; }
}


/* Service-card refinement: keep calls to action close to their content. */
.ts-services-catalog .ts-service-card__body { flex: 0 0 auto; }
.ts-services-catalog .ts-service-card p { margin-bottom: 8px; }
.ts-services-catalog .ts-service-card a { margin-top: 8px; }
.ts-services-catalog .ts-service-card__icon { width: 42px; height: 42px; margin-bottom: 10px; }
.ts-service-detail-content { padding: 58px 0; background:#f2f9fb; }
.ts-service-detail-content__grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:54px; align-items:center; }
.ts-service-detail-content h2 { margin:0 0 16px; color:var(--ts-navy); font-size:clamp(28px,2.5vw,42px); line-height:1.16; font-weight:800; }
.ts-service-detail-content p { color:#596a7f; font-size:17px; line-height:1.75; margin:0 0 22px; }
.ts-service-detail-content figure { margin:0; overflow:hidden; border-radius:12px; box-shadow:0 8px 28px rgba(16,40,77,.1); }
.ts-service-detail-content figure img { display:block; width:100%; aspect-ratio: 4/3; object-fit:cover; }
.ts-service-detail-back { display:inline-flex; gap:10px; align-items:center; color:var(--ts-green-deep); font-weight:800; }
.ts-service-related { padding:48px 0 58px; }
.ts-service-related h2 { margin:0 0 22px; color:var(--ts-navy); font-size:clamp(26px,2.1vw,36px); font-weight:800; }
.ts-service-related__links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.ts-service-related__links a { display:flex; justify-content:space-between; gap:14px; align-items:center; padding:17px 18px; background:#f2f9fb; border-radius:8px; color:var(--ts-navy); font-weight:700; }
.ts-service-related__links a span { color:var(--ts-green-deep); font-size:20px; }
.ts-service-related__links a:hover { background:#e3f7ed; }
@media(max-width:767px) { .ts-service-detail-content { padding:36px 0; } .ts-service-detail-content__grid { grid-template-columns:1fr; gap:28px; } .ts-service-detail-content p { font-size:15px; } .ts-service-related__links { grid-template-columns:1fr; } }

/* Give long service titles a little more room on individual service pages. */
.ts-service-detail-page .ts-services-hero h1 { max-width: 780px; font-size: clamp(32px, 2.9vw, 54px); line-height: 1.12; letter-spacing: -.9px; }
.ts-service-detail-page .ts-services-breadcrumb { flex-wrap: wrap; row-gap: 5px; }


/* Expanded individual service pages: substantial, readable content blocks. */
.ts-detail-overview { padding: 64px 0; }
.ts-detail-overview .ts-service-detail-content__grid { align-items: start; }
.ts-detail-overview .ts-service-detail-content__grid > div { max-width: 720px; }
.ts-detail-overview .ts-service-detail-content__grid p { margin-bottom: 15px; }
.ts-detail-overview .ts-service-detail-content__grid figure { position: sticky; top: 105px; }
.ts-detail-overview .ts-service-detail-content__grid figure img { min-height: 390px; }
.ts-detail-scope { padding: 68px 0 74px; background: #fff; }
.ts-detail-scope h2, .ts-detail-approach h2, .ts-detail-cta h2 { color: var(--ts-navy); font-size: clamp(28px, 2.4vw, 40px); line-height: 1.18; font-weight: 800; letter-spacing: -.5px; margin: 0 0 14px; }
.ts-detail-section-intro { color: #596a7f; font-size: 16px; line-height: 1.75; max-width: 790px; margin: 0 0 28px; }
.ts-detail-scope-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ts-detail-scope-card { min-height: 210px; border: 1px solid #e2ebef; border-radius: 12px; padding: 23px 21px; background: #f8fbfc; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.ts-detail-scope-card:hover { transform: translateY(-4px); border-color: #b6e8d0; box-shadow: 0 12px 28px rgba(16,40,77,.08); }
.ts-detail-scope-card__number { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #e0f7eb; color: #009f55; font-size: 12px; font-weight: 800; margin-bottom: 18px; }
.ts-detail-scope-card h3, .ts-detail-step h3 { color: var(--ts-navy); font-size: 18px; line-height: 1.35; font-weight: 800; margin: 0 0 9px; }
.ts-detail-scope-card p, .ts-detail-step p, .ts-detail-approach__grid > div > p { color: #596a7f; font-size: 15px; line-height: 1.75; margin: 0; }
.ts-detail-approach { padding: 68px 0; background: #f2f9fb; }
.ts-detail-approach__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 60px; align-items: start; }
.ts-detail-approach__grid > div:first-child > p { margin-top: 18px; }
.ts-detail-steps { display: grid; gap: 0; }
.ts-detail-step { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 18px; padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid #d7e5e9; }
.ts-detail-step:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.ts-detail-step > span { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; background: #00c853; color: #073c2b; font-weight: 800; font-size: 13px; }
.ts-detail-cta { padding: 52px 0; background: #073f35; }
.ts-detail-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.ts-detail-cta__inner > div { max-width: 780px; }
.ts-detail-cta__eyebrow { display: block; color: #73e3ac; font-size: 12px; letter-spacing: 1.7px; font-weight: 800; margin-bottom: 12px; }
.ts-detail-cta h2 { color: #fff; margin-bottom: 12px; }
.ts-detail-cta p { color: #d6e9e3; font-size: 16px; line-height: 1.7; margin: 0; }
.ts-detail-cta .ts-about-cta { flex: 0 0 auto; white-space: nowrap; }
@media(max-width: 991px) { .ts-detail-scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ts-detail-approach__grid { grid-template-columns: 1fr; gap: 30px; } .ts-detail-overview .ts-service-detail-content__grid figure { position: static; } }
@media(max-width: 767px) { .ts-detail-overview, .ts-detail-scope, .ts-detail-approach { padding: 38px 0; } .ts-detail-scope-grid { grid-template-columns: 1fr; } .ts-detail-scope-card { min-height: 0; } .ts-detail-cta { padding: 38px 0; } .ts-detail-cta__inner { flex-direction: column; align-items: flex-start; gap: 22px; } .ts-detail-overview .ts-service-detail-content__grid figure img { min-height: 0; aspect-ratio: 4/3; } }


/* ===== Projects portfolio pages ===== */
.ts-nav__dropdown--projects { position: relative; }
.ts-mega--projects .ts-mega__feature--projects { position: relative; }
.ts-mega--projects .ts-mega__feature--projects img { width: 100%; height: 100%; object-fit: cover; }
.ts-projects-page { background: #fff; color: #10284d; }
.ts-projects-hero { position: relative; min-height: 390px; display: flex; align-items: center; overflow: hidden; background: #10284d; }
.ts-projects-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.ts-projects-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,28,55,.91) 0%, rgba(8,28,55,.72) 48%, rgba(8,28,55,.22) 100%); }
.ts-projects-hero__inner { position: relative; z-index: 1; width: min(100% - 48px, 1240px); margin: 0 auto; padding: 48px 0 62px; color: #fff; }
.ts-projects-hero .ts-services-breadcrumb { margin-bottom: 32px; color: rgba(255,255,255,.85); }
.ts-projects-hero .ts-services-breadcrumb a { color: #fff; }
.ts-projects-hero .ts-page-kicker { color: #7ce6aa; }
.ts-projects-hero h1 { max-width: 760px; margin: 16px 0 20px; font-size: clamp(42px, 5vw, 64px); line-height: 1.08; font-weight: 700; letter-spacing: -.035em; }
.ts-projects-hero h1 strong { color: #45d783; font-weight: 700; }
.ts-projects-hero p { max-width: 640px; margin: 0; font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.9); }
.ts-projects-content { padding: 76px 0 88px; }
.ts-projects-content > .ts-container { width: min(100% - 48px, 1240px); margin: 0 auto; }
.ts-projects-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 32px; }
.ts-projects-heading h2 { margin: 12px 0 0; color: #10284d; font-size: clamp(32px, 3.5vw, 42px); line-height: 1.15; letter-spacing: -.025em; }
.ts-projects-heading > p { max-width: 470px; margin: 0 0 3px; color: #617188; font-size: 16px; line-height: 1.7; }
.ts-projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: stretch; }
.ts-project-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; background: #f3f9fb; box-shadow: 0 5px 20px rgba(16,40,77,.07); transition: transform .22s ease, box-shadow .22s ease; }
.ts-project-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(16,40,77,.12); }
.ts-project-card__image { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #dce8ee; }
.ts-project-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.ts-project-card:hover .ts-project-card__image img { transform: scale(1.04); }
.ts-project-card__number { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #00c853; color: #fff; font-size: 22px; line-height: 1; }
.ts-project-card__body { display: flex; flex-direction: column; flex: 1; padding: 23px 24px 26px; }
.ts-project-card__eyebrow { color: #00a94f; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.ts-project-card h2 { margin: 10px 0 10px; color: #10284d; font-size: 23px; line-height: 1.25; }
.ts-project-card p { margin: 0; color: #60728a; font-size: 15px; line-height: 1.7; }
.ts-project-pagination { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 42px; color: #10284d; }
.ts-project-pagination__numbers { display: flex; gap: 9px; }
.ts-project-pagination a, .ts-project-pagination .is-current { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; padding: 0 13px; border: 1px solid #d9e5eb; border-radius: 8px; color: #10284d; background: #fff; text-decoration: none; font-weight: 700; }
.ts-project-pagination a:hover, .ts-project-pagination .is-current { border-color: #00c853; background: #00c853; color: #fff; }
.ts-project-pagination .ts-project-pagination__prev, .ts-project-pagination .ts-project-pagination__next { gap: 8px; }
@media (max-width: 991px) {
  .ts-projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ts-projects-heading { align-items: start; flex-direction: column; gap: 12px; }
}
@media (max-width: 600px) {
  .ts-projects-hero { min-height: 360px; }
  .ts-projects-hero__inner, .ts-projects-content > .ts-container { width: min(100% - 32px, 1240px); }
  .ts-projects-hero__inner { padding: 35px 0 46px; }
  .ts-projects-hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .ts-projects-hero p { font-size: 16px; }
  .ts-projects-content { padding: 52px 0 64px; }
  .ts-projects-grid { grid-template-columns: 1fr; gap: 20px; }
  .ts-project-card__body { padding: 20px; }
  .ts-project-pagination { gap: 12px; flex-wrap: wrap; }
}


/* ===== Batch 8: consistent project navigation, typography and project detail templates ===== */
/* Single typography family and predictable inherited controls across all pages. */
html, body, button, input, select, textarea { font-family: var(--ts-font), "Manrope", sans-serif !important; }
body.ts-projects-page, body.ts-project-detail-body { color: var(--ts-navy); }
.ts-nav { align-items: center !important; }
.ts-nav > a, .ts-nav__dropdown > .ts-nav__link { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 0 13px !important; line-height: 1.15 !important; }
.ts-nav__dropdown { display: inline-flex; align-items: center; gap: 5px; position: static !important; }
.ts-nav__dropdown > .ts-nav__trigger { display: inline-flex; align-items: center; justify-content: center; align-self: center; width: 22px; min-width: 22px; height: 46px; padding: 0 !important; margin: 0; line-height: 1; transform: none !important; }
.ts-nav__dropdown > .ts-nav__trigger svg { display: block; width: 13px; height: 13px; }
.ts-nav__dropdown > .ts-nav__trigger.is-active::after { display: none !important; }
.ts-nav__dropdown > .ts-nav__link.is-active::after { background: var(--ts-green) !important; }
.ts-header--inner-page .ts-nav > a, .ts-header--inner-page .ts-nav__dropdown > .ts-nav__link { color: var(--ts-navy) !important; }
.ts-header--inner-page .ts-nav .ts-nav__trigger { color: var(--ts-navy) !important; }
.ts-header--inner-page .ts-nav .ts-nav__trigger:hover, .ts-header--inner-page .ts-nav .ts-nav__trigger[aria-expanded="true"] { color: var(--ts-green-deep) !important; }
/* Wide, centered mega menus: avoid the Projects menu collapsing to the width of its label. */
.ts-mega { top: calc(100% - 2px) !important; left: 50% !important; right: auto !important; transform: translateX(-50%); width: min(1060px, calc(100vw - 40px)) !important; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr) !important; gap: 0 !important; padding: 14px !important; border-radius: 16px !important; box-shadow: 0 22px 55px rgba(16,40,77,.17) !important; }
.ts-mega__feature { min-height: 320px !important; }
.ts-mega__links { justify-content: center !important; padding: 14px 24px !important; border-left: 1px solid #e2eaf0 !important; }
.ts-mega__links a { font-size: 16px !important; line-height: 1.4 !important; padding: 13px 0 !important; font-weight: 600 !important; }
.ts-mega__links--projects a { min-height: 52px; }
.ts-mega--projects .ts-mega__feature--projects { min-height: 320px !important; }
.ts-mega--projects .ts-mega__feature-copy { left: 28px; right: 28px; bottom: 25px; }
/* Project landing pages use the same Manrope scale and weights as the approved site. */
.ts-projects-hero h1 { font-size: clamp(42px, 4vw, 60px) !important; line-height: 1.08 !important; font-weight: 800 !important; letter-spacing: -.035em !important; }
.ts-projects-heading h2 { font-size: clamp(30px, 2.6vw, 40px) !important; line-height: 1.16 !important; font-weight: 800 !important; }
.ts-project-card h2 { font-size: 24px !important; line-height: 1.25 !important; font-weight: 800 !important; letter-spacing: -.35px !important; }
.ts-project-card p { font-size: 16px !important; line-height: 1.65 !important; }
.ts-project-card__detail-link { display: inline-flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 22px; color: var(--ts-green-deep) !important; font-size: 16px; line-height: 1.3; font-weight: 800; text-decoration: none !important; }
.ts-project-card__detail-link:hover { color: var(--ts-navy) !important; }
.ts-projects-hero p, .ts-projects-heading > p { font-size: 16px !important; line-height: 1.7 !important; }
/* Project detail layout follows the supplied Petrochemical HSE case-study reference. */
.ts-project-detail { background: #fff; color: var(--ts-navy); }
.ts-project-detail-hero { position: relative; min-height: 355px; display: flex; align-items: center; overflow: hidden; background: var(--ts-navy); }
.ts-project-detail-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.ts-project-detail-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,25,48,.94) 0%, rgba(5,25,48,.79) 42%, rgba(5,25,48,.16) 100%); }
.ts-project-detail-hero__inner { width: min(100% - 48px, 1400px); margin-inline: auto; padding: 34px 0 42px; position: relative; z-index: 1; color: #fff; }
.ts-project-detail .ts-services-breadcrumb { display: flex; align-items: center; gap: 12px; margin: 0 0 25px; color: rgba(255,255,255,.85); font-size: 13px; line-height: 1.4; }
.ts-project-detail .ts-services-breadcrumb a { color: #fff; }
.ts-project-detail .ts-page-kicker { display: flex; align-items: center; gap: 10px; color: #a2f2c5; font-size: 12px; font-weight: 800; letter-spacing: 1.3px; }
.ts-project-detail .ts-page-kicker span { display: inline-block; width: 28px; height: 2px; background: var(--ts-green); }
.ts-project-detail-hero h1 { max-width: 780px; margin: 12px 0 10px; color: #fff; font-size: clamp(38px, 4vw, 56px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.ts-project-detail-hero p { max-width: 730px; margin: 0; color: rgba(255,255,255,.94); font-size: 17px; line-height: 1.55; font-weight: 500; }
.ts-project-detail-meta { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 14px 28px; margin-top: 22px; color: #fff; font-size: 14px; line-height: 1.4; }
.ts-project-detail-meta span { display: flex; align-items: center; gap: 10px; }
.ts-project-detail-meta b { display: inline-grid; place-items: center; width: 20px; color: #fff; font-size: 18px; font-weight: 800; }
.ts-project-detail-main { padding: 48px 0 56px; background: #fff; }
.ts-project-detail-main__grid { width: min(100% - 48px, 1400px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); gap: 44px; align-items: start; }
.ts-project-detail-copy { min-width: 0; }
.ts-project-detail-section { margin: 0 0 30px; }
.ts-project-detail-section .ts-page-section-kicker { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; color: var(--ts-green-deep); font-size: 11px; font-weight: 800; letter-spacing: 1.25px; }
.ts-project-detail-section .ts-page-section-kicker span { width: 28px; height: 2px; background: var(--ts-green); }
.ts-project-detail-section h2 { margin: 0 0 10px; color: var(--ts-navy); font-size: clamp(25px, 2.1vw, 32px); line-height: 1.18; font-weight: 800; letter-spacing: -.45px; }
.ts-project-detail-section p { margin: 0 0 12px; color: #617188; font-size: 15px; line-height: 1.7; font-weight: 400; }
.ts-project-detail-gallery { display: grid; gap: 12px; position: sticky; top: 120px; }
.ts-project-detail-gallery figure { margin: 0; overflow: hidden; border-radius: 9px; background: #edf3f6; }
.ts-project-detail-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ts-project-detail-gallery__main { height: 300px; }
.ts-project-detail-gallery__secondary { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.ts-project-detail-gallery__secondary figure { height: 220px; }
.ts-project-report-button { display: inline-flex; align-items: center; gap: 13px; min-height: 52px; margin-top: 2px; padding: 0 22px; border-radius: 999px; background: var(--ts-green); color: #073c2b !important; font-size: 14px; line-height: 1.2; font-weight: 800; text-decoration: none !important; }
.ts-project-report-button:hover { background: #08ad63; transform: translateY(-1px); }
.ts-project-report-button__pdf { display: inline-grid; place-items: center; width: 25px; height: 30px; border-radius: 3px; background: #fff; color: #d12f2f; font-size: 9px; font-weight: 800; }
.ts-project-report-button__arrow { font-size: 21px; margin-left: 4px; }
.ts-project-detail-disclaimer { margin: 12px 0 0; color: #718095; font-size: 11px; line-height: 1.55; }
.ts-project-detail-cta { padding: 32px 0; background: #073f35; }
.ts-project-detail-cta__inner { width: min(100% - 48px, 1400px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.ts-project-detail-cta__eyebrow { display: block; margin-bottom: 8px; color: #75e4ad; font-size: 11px; letter-spacing: 1.4px; font-weight: 800; }
.ts-project-detail-cta h2 { margin: 0 0 8px; color: #fff; font-size: 30px; line-height: 1.2; font-weight: 800; }
.ts-project-detail-cta p { margin: 0; color: rgba(255,255,255,.88); font-size: 15px; line-height: 1.5; }
.ts-project-detail-cta .ts-btn { min-height: 50px; padding: 0 22px; gap: 12px; font-size: 14px; }
.ts-project-related { padding: 36px 0 54px; }
.ts-project-related .ts-container { width: min(100% - 48px, 1400px); margin-inline: auto; }
.ts-project-related h2 { margin: 8px 0 18px; color: var(--ts-navy); font-size: 30px; line-height: 1.2; font-weight: 800; }
.ts-project-related__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.ts-project-related__grid a { display: flex; justify-content: space-between; gap: 10px; padding: 16px; border: 1px solid #e0e9ee; border-radius: 8px; color: var(--ts-navy); font-size: 14px; line-height: 1.4; font-weight: 700; }
.ts-project-related__grid a span { color: var(--ts-green-deep); flex: 0 0 auto; }
.ts-project-related__grid a:hover { border-color: var(--ts-green); color: var(--ts-green-deep); }
@media(max-width: 1100px) { .ts-mega { width: min(900px, calc(100vw - 32px)) !important; grid-template-columns: minmax(0,1fr) minmax(270px,.9fr) !important; } .ts-mega__feature { min-height: 280px !important; } .ts-project-detail-main__grid { grid-template-columns: minmax(0,1fr) minmax(300px,.8fr); gap: 28px; } .ts-project-detail-gallery__main { height: 260px; } .ts-project-detail-gallery__secondary figure { height: 180px; } }
@media(max-width: 767px) { .ts-mega { left: 50% !important; width: calc(100vw - 24px) !important; grid-template-columns: 1fr !important; padding: 10px !important; } .ts-mega__feature { min-height: 210px !important; } .ts-mega__links { border-left: 0 !important; border-top: 1px solid #e2eaf0 !important; padding: 10px 14px !important; } .ts-project-detail-hero { min-height: 0; } .ts-project-detail-hero__inner, .ts-project-detail-main__grid, .ts-project-detail-cta__inner, .ts-project-related .ts-container { width: calc(100% - 32px); } .ts-project-detail-hero__inner { padding: 28px 0 34px; } .ts-project-detail-hero h1 { font-size: 36px; } .ts-project-detail-hero p { font-size: 15px; } .ts-project-detail-meta { grid-template-columns: 1fr; gap: 10px; font-size: 13px; } .ts-project-detail-main { padding: 32px 0 38px; } .ts-project-detail-main__grid { grid-template-columns: 1fr; gap: 28px; } .ts-project-detail-gallery { position: static; grid-row: 1; } .ts-project-detail-gallery__main { height: 230px; } .ts-project-detail-gallery__secondary figure { height: 145px; } .ts-project-detail-section h2 { font-size: 25px; } .ts-project-detail-section p { font-size: 14px; } .ts-project-detail-cta__inner { flex-direction: column; align-items: flex-start; } .ts-project-detail-cta h2 { font-size: 26px; } .ts-project-related__grid { grid-template-columns: 1fr; } }


/* ===== Batch 9: corrected Projects mega menu (7 project profiles + View All) ===== */
.ts-mega.ts-mega--projects {
  width: min(760px, calc(100vw - 40px)) !important;
  grid-template-columns: minmax(0, 1fr) !important;
  padding: 22px 28px !important;
  border-radius: 16px !important;
}
.ts-mega--projects .ts-mega__links--projects {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-flow: row;
  align-content: center;
  gap: 0 34px;
  padding: 0 !important;
  border: 0 !important;
}
.ts-mega--projects .ts-mega__links--projects a {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  min-height: 58px !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid #edf1f4;
  color: #10284d !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 180ms ease, border-color 180ms ease;
}
.ts-mega--projects .ts-mega__links--projects a::after { content: none !important; display: none !important; }
.ts-mega--projects .ts-mega__links--projects a:hover,
.ts-mega--projects .ts-mega__links--projects a:focus-visible {
  padding-left: 0 !important;
  color: #00a94f !important;
  border-bottom-color: #00c853;
}
.ts-mega--projects .ts-mega__links--projects .ts-mega__view-all {
  color: #00a94f !important;
  font-weight: 800 !important;
  text-decoration: underline !important;
  text-decoration-color: #00c853 !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 6px !important;
  border-bottom-color: #00c853;
}
.ts-mega--projects .ts-mega__links--projects .ts-mega__view-all span {
  margin-left: 8px;
  font-size: 20px;
  line-height: 1;
}
@media (max-width: 767px) {
  .ts-mega.ts-mega--projects { width: calc(100vw - 24px) !important; padding: 12px 18px !important; }
  .ts-mega--projects .ts-mega__links--projects { grid-template-columns: 1fr !important; gap: 0; }
  .ts-mega--projects .ts-mega__links--projects a { min-height: 48px !important; font-size: 15px !important; }
}


/* ===== Batch 10: Projects mega menu matches Services feature-panel layout ===== */
.ts-mega.ts-mega--projects {
  top: calc(100% - 2px) !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%);
  width: min(1060px, calc(100vw - 40px)) !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr) !important;
  gap: 0 !important;
  padding: 14px !important;
  border-radius: 16px !important;
}
.ts-mega--projects .ts-mega__feature--projects {
  position: relative;
  min-height: 320px !important;
  overflow: hidden;
  border-radius: 12px;
}
.ts-mega--projects .ts-mega__feature--projects > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}
.ts-mega--projects .ts-mega__feature--projects::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 27, 52, .04) 8%, rgba(7, 27, 52, .28) 40%, rgba(5, 25, 43, .94) 100%);
  pointer-events: none;
}
.ts-mega--projects .ts-mega__feature--projects .ts-mega__feature-copy {
  z-index: 1;
  left: 28px;
  right: 28px;
  bottom: 25px;
}
.ts-mega--projects .ts-mega__feature--projects .ts-mega__all {
  color: #fff !important;
  text-decoration: none !important;
}
.ts-mega--projects .ts-mega__links--projects {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-flow: row;
  align-content: center;
  gap: 0 26px;
  min-width: 0;
  padding: 12px 22px !important;
  border-left: 1px solid #e2eaf0 !important;
}
.ts-mega--projects .ts-mega__links--projects > a {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  min-height: 66px !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid #edf1f4;
  color: #10284d !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 180ms ease, border-color 180ms ease;
}
.ts-mega--projects .ts-mega__links--projects > a::before,
.ts-mega--projects .ts-mega__links--projects > a::after { content: none !important; display: none !important; }
.ts-mega--projects .ts-mega__links--projects > a:hover,
.ts-mega--projects .ts-mega__links--projects > a:focus-visible {
  color: #00a94f !important;
  border-bottom-color: #00c853;
}
.ts-mega--projects .ts-mega__links--projects > .ts-mega__view-all {
  gap: 10px;
  color: #00a94f !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  border-bottom-color: transparent !important;
}
.ts-mega--projects .ts-mega__links--projects > .ts-mega__view-all .ts-mega__view-label {
  text-decoration: underline;
  text-decoration-color: #00c853;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.ts-mega--projects .ts-mega__links--projects > .ts-mega__view-all .ts-mega__view-arrow {
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
  text-decoration: none !important;
}
@media (max-width: 1100px) {
  .ts-mega.ts-mega--projects { width: min(900px, calc(100vw - 32px)) !important; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr) !important; }
  .ts-mega--projects .ts-mega__links--projects { gap: 0 18px; padding: 10px 16px !important; }
  .ts-mega--projects .ts-mega__links--projects > a { font-size: 14px !important; min-height: 62px !important; }
}
@media (max-width: 767px) {
  .ts-mega.ts-mega--projects { left: 50% !important; width: calc(100vw - 24px) !important; grid-template-columns: 1fr !important; padding: 10px !important; }
  .ts-mega--projects .ts-mega__feature--projects { min-height: 210px !important; }
  .ts-mega--projects .ts-mega__feature--projects > img { min-height: 210px; }
  .ts-mega--projects .ts-mega__feature--projects .ts-mega__feature-copy { left: 20px; right: 20px; bottom: 18px; }
  .ts-mega--projects .ts-mega__links--projects { grid-template-columns: 1fr !important; gap: 0; padding: 10px 14px !important; border-left: 0 !important; border-top: 1px solid #e2eaf0 !important; }
  .ts-mega--projects .ts-mega__links--projects > a { min-height: 48px !important; font-size: 15px !important; }
}


/* ===== Batch 11: homepage service cards — circular imagery, compact layout ===== */
.ts-services__cards { align-items:stretch; gap:18px 16px; }
.ts-services__cards .ts-service-card {
  height:auto; min-height:0; display:flex; flex-direction:column; align-self:stretch;
  overflow:hidden; border:1px solid rgba(16,40,77,.08); border-radius:16px;
  background:#fff; box-shadow:0 10px 28px rgba(0,22,45,.10);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  cursor:pointer;
}
.ts-services__cards .ts-service-card:hover,
.ts-services__cards .ts-service-card:focus-visible {
  transform:translateY(-4px); border-color:rgba(0,200,83,.42);
  box-shadow:0 16px 34px rgba(0,22,45,.16); outline:none;
}
.ts-services__cards .ts-service-card__image {
  width:112px; height:112px; flex:0 0 112px; margin:22px auto 0;
  overflow:hidden; border-radius:50%; border:5px solid #f0faf5;
  background:#e8f5ef; box-shadow:0 0 0 1px rgba(0,168,79,.18);
}
.ts-services__cards .ts-service-card__image img { width:100%; height:100%; object-fit:cover; border-radius:50%; }
.ts-services__cards .ts-service-card:hover .ts-service-card__image img { transform:scale(1.06); }
.ts-services__cards .ts-service-card__body {
  position:relative; flex:1; min-height:0; padding:14px 20px 18px;
  display:flex; flex-direction:column; align-items:flex-start;
}
.ts-services__cards .ts-service-card__icon {
  position:static; width:40px; height:40px; flex:0 0 40px; margin:0 0 10px;
  border:1px solid #d8f4e6; border-radius:12px; background:#edfbf4;
  display:grid; place-items:center;
}
.ts-services__cards .ts-service-card__icon img { width:25px; height:25px; object-fit:contain; }
.ts-services__cards .ts-service-card h3 {
  margin:0 0 8px; color:#10284d; font-size:clamp(16px,1.05vw,19px);
  line-height:1.25; letter-spacing:-.25px; font-weight:800;
}
.ts-services__cards .ts-service-card p { margin:0; color:#64728a; font-size:14px; line-height:1.45; font-weight:500; }
.ts-services__cards .ts-service-card__arrow {
  position:static; left:auto; bottom:auto; margin-top:14px; padding:0;
  width:34px; height:30px; border-radius:8px; display:inline-flex; align-items:center; justify-content:flex-start;
  color:#00a94f; font-size:0; line-height:1; transition:color .18s ease, transform .18s ease;
}
.ts-services__cards .ts-service-card__arrow svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.ts-services__cards .ts-service-card:hover .ts-service-card__arrow,
.ts-services__cards .ts-service-card:focus-within .ts-service-card__arrow { color:#008f45; transform:translateX(3px); }
.ts-services__cards .ts-service-card__arrow:hover,
.ts-services__cards .ts-service-card__arrow:focus { background:#eafaf1; color:#008f45; }
@media (max-width:1399px) {
  .ts-services__grid { grid-template-columns:minmax(310px, .78fr) minmax(0, 1.4fr); column-gap:22px; }
  .ts-services__cards { grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
  .ts-services__cards .ts-service-card__image { width:88px; height:88px; flex-basis:88px; margin-top:18px; border-width:4px; }
  .ts-services__cards .ts-service-card__body { padding:12px 13px 15px; }
  .ts-services__cards .ts-service-card h3 { font-size:15px; }
  .ts-services__cards .ts-service-card p { font-size:12px; }
}
@media (max-width:991px) {
  .ts-services__grid { grid-template-columns:1fr; gap:28px; padding-top:56px; padding-bottom:56px; }
  .ts-services { min-height:0; }
  .ts-services__cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ts-services__cards .ts-service-card__image { width:112px; height:112px; flex-basis:112px; margin-top:22px; }
  .ts-services__cards .ts-service-card__body { padding:14px 20px 18px; }
  .ts-services__cards .ts-service-card h3 { font-size:18px; }
  .ts-services__cards .ts-service-card p { font-size:14px; }
}
@media (max-width:575px) {
  .ts-services__cards { grid-template-columns:1fr; }
  .ts-services__cards .ts-service-card { display:grid; grid-template-columns:86px minmax(0,1fr); align-items:start; }
  .ts-services__cards .ts-service-card__image { width:72px; height:72px; flex-basis:72px; margin:18px 0 0 14px; border-width:3px; }
  .ts-services__cards .ts-service-card__body { padding:16px 15px 16px 12px; }
  .ts-services__cards .ts-service-card__icon { width:34px; height:34px; flex-basis:34px; margin-bottom:8px; border-radius:10px; }
  .ts-services__cards .ts-service-card__icon img { width:22px; height:22px; }
  .ts-services__cards .ts-service-card h3 { font-size:16px; }
  .ts-services__cards .ts-service-card p { font-size:13px; }
  .ts-services__cards .ts-service-card__arrow { margin-top:10px; }
}


/* ===== Batch 12: prevent homepage service cards touching adjacent sections ===== */
.ts-services {
  min-height: 0;
  height: auto;
  padding-block: clamp(56px, 5.5vw, 88px);
  overflow: hidden;
}
.ts-services__grid {
  min-height: 0;
  height: auto;
  align-items: start;
}
.ts-services__cards {
  align-self: start;
  align-content: start;
  align-items: stretch;
  row-gap: 24px;
}
.ts-services__cards .ts-service-card {
  height: auto;
  min-height: 0;
}
@media (max-width: 991px) {
  .ts-services { padding-block: 56px; }
  .ts-services__grid { min-height: 0; padding-top: 0; padding-bottom: 0; }
  .ts-services__cards { row-gap: 22px; }
}
@media (max-width: 575px) {
  .ts-services { padding-block: 40px; }
  .ts-services__cards { row-gap: 18px; }
}


/* ===== Batch 13: distinct Blogs landing page and article pages ===== */
.ts-blog-page { --blog-ink:#10284d; --blog-green:#00a94f; --blog-muted:#65758b; --blog-line:#dce8ed; }
.ts-blog-page main { overflow:clip; }
.ts-blog-page .ts-container { width:min(1320px, calc(100% - 48px)); margin-inline:auto; }
.ts-blog-hero { position:relative; isolation:isolate; overflow:hidden; background:#092a3c; color:#fff; padding:32px 0 0; }
.ts-blog-hero:before { content:""; position:absolute; inset:0; z-index:-2; background:linear-gradient(105deg,rgba(6,27,46,.98) 0%,rgba(7,45,56,.92) 48%,rgba(5,47,42,.7) 100%),url("https://images.unsplash.com/photo-1753978304732-35020ea9dfc6?auto=format&fit=crop&w=2000&q=85") center 42%/cover no-repeat; }
.ts-blog-hero__texture { position:absolute; z-index:-1; width:520px; height:520px; right:-120px; top:-170px; border:1px solid rgba(255,255,255,.12); border-radius:50%; box-shadow:0 0 0 60px rgba(255,255,255,.025),0 0 0 120px rgba(255,255,255,.02); }
.ts-blog-hero__inner { padding-top:18px; }
.ts-blog-breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-bottom:48px; color:#c7d4df; font-size:13px; font-weight:600; }
.ts-blog-breadcrumb a { color:inherit; text-decoration:none; }
.ts-blog-breadcrumb a:hover { color:#00d46b; }
.ts-blog-kicker { display:inline-block; color:var(--blog-green); font-size:12px; font-weight:800; letter-spacing:2.2px; text-transform:uppercase; }
.ts-blog-hero h1 { max-width:900px; margin:14px 0 18px; font-family:Manrope,sans-serif; color:#fff; font-size:clamp(42px,5.3vw,72px); font-weight:800; line-height:1.08; letter-spacing:-2.8px; }
.ts-blog-hero h1 em { color:#00d46b; font-style:normal; }
.ts-blog-hero p { max-width:680px; margin:0; color:#d9e5eb; font-size:18px; line-height:1.7; }
.ts-blog-hero__bottom { margin-top:48px; padding:18px 0 22px; border-top:1px solid rgba(255,255,255,.18); display:flex; justify-content:space-between; gap:20px; align-items:center; color:#d2e0e6; font-size:13px; font-weight:600; }
.ts-blog-hero__bottom a { color:#fff; text-decoration:none; }
.ts-blog-hero__bottom a span { display:inline-block; margin-left:8px; color:#00d46b; font-size:18px; }
.ts-blog-main { padding-top:76px; padding-bottom:92px; }
.ts-blog-section-heading { display:flex; justify-content:space-between; gap:24px; align-items:end; margin-bottom:30px; }
.ts-blog-section-heading h2 { color:var(--blog-ink); font-size:clamp(30px,3vw,42px); line-height:1.15; letter-spacing:-1px; font-weight:800; margin:8px 0 10px; }
.ts-blog-section-heading p { margin:0; color:var(--blog-muted); font-size:16px; line-height:1.65; }
.ts-blog-post-count { padding:9px 13px; border:1px solid var(--blog-line); border-radius:999px; color:var(--blog-ink); font-size:11px; font-weight:800; letter-spacing:1.1px; white-space:nowrap; }
.ts-blog-layout { display:grid; grid-template-columns:minmax(0,1fr) 310px; align-items:start; gap:32px; }
.ts-blog-feed { min-width:0; }
.ts-blog-featured { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); overflow:hidden; border:1px solid #e1e9ee; border-radius:22px; background:#fff; box-shadow:0 16px 42px rgba(16,40,77,.07); margin-bottom:26px; }
.ts-blog-featured__image,.ts-blog-card__image { position:relative; display:block; overflow:hidden; background:#e6eef1; }
.ts-blog-featured__image { min-height:340px; }
.ts-blog-featured__image img,.ts-blog-card__image img,.ts-blog-article__cover img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.ts-blog-featured__image:hover img,.ts-blog-card__image:hover img { transform:scale(1.045); }
.ts-blog-image-label { position:absolute; left:18px; bottom:18px; padding:9px 12px; background:#00c853; color:#073b2c; border-radius:5px; font-size:10px; letter-spacing:1.2px; font-weight:800; }
.ts-blog-featured__content { padding:clamp(24px,3vw,40px); display:flex; flex-direction:column; align-items:flex-start; justify-content:center; }
.ts-blog-meta { display:flex; flex-wrap:wrap; align-items:center; gap:10px; color:#6c7a8c; font-size:12px; line-height:1.5; font-weight:600; }
.ts-blog-meta > span:first-child { color:#008f45; background:#e9f9f0; border-radius:4px; padding:5px 8px; }
.ts-blog-meta time { white-space:nowrap; }
.ts-blog-featured h2 { margin:18px 0 12px; font-size:clamp(23px,2.1vw,31px); line-height:1.24; letter-spacing:-.7px; font-weight:800; }
.ts-blog-featured h2 a,.ts-blog-card h3 a { color:var(--blog-ink); text-decoration:none; }
.ts-blog-featured h2 a:hover,.ts-blog-card h3 a:hover { color:#008f45; }
.ts-blog-featured p,.ts-blog-card p { margin:0; color:var(--blog-muted); font-size:14px; line-height:1.75; }
.ts-blog-read-link { display:inline-flex; gap:10px; align-items:center; margin-top:22px; color:#008f45; font-size:13px; font-weight:800; text-decoration:none; }
.ts-blog-read-link span { font-size:20px; line-height:1; transition:transform .2s ease; }
.ts-blog-read-link:hover span { transform:translateX(4px); }
.ts-blog-card-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.ts-blog-card { min-width:0; overflow:hidden; border:1px solid #e1e9ee; border-radius:16px; background:#fff; box-shadow:0 10px 30px rgba(16,40,77,.045); transition:transform .2s ease,box-shadow .2s ease; }
.ts-blog-card:hover { transform:translateY(-3px); box-shadow:0 18px 38px rgba(16,40,77,.09); }
.ts-blog-card__image { aspect-ratio:1.72/1; }
.ts-blog-card__content { padding:22px 22px 24px; }
.ts-blog-card h3 { margin:13px 0 10px; font-size:19px; line-height:1.35; letter-spacing:-.35px; font-weight:800; }
.ts-blog-sidebar { display:grid; gap:22px; }
.ts-blog-sidebar__panel { border:1px solid #e1e9ee; border-radius:16px; padding:23px; background:#f8fbfc; }
.ts-blog-sidebar__heading { padding-bottom:15px; border-bottom:1px solid var(--blog-line); margin-bottom:5px; }
.ts-blog-sidebar__heading .ts-blog-kicker { font-size:10px; letter-spacing:1.4px; }
.ts-blog-sidebar__heading h2 { margin:7px 0 0; color:var(--blog-ink); font-size:21px; font-weight:800; letter-spacing:-.4px; }
.ts-blog-sidebar__recent { display:block; padding:14px 0; border-bottom:1px solid var(--blog-line); text-decoration:none; }
.ts-blog-sidebar__recent:last-child { border-bottom:0; padding-bottom:2px; }
.ts-blog-sidebar__recent span { display:block; color:#008f45; font-size:11px; font-weight:700; margin-bottom:5px; }
.ts-blog-sidebar__recent strong { display:block; color:var(--blog-ink); font-size:13px; line-height:1.5; font-weight:700; }
.ts-blog-sidebar__recent:hover strong { color:#008f45; }
.ts-blog-sidebar__categories { display:grid; gap:8px; padding-top:13px; }
.ts-blog-category { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 12px; border:1px solid #e0e9ed; border-radius:8px; background:#fff; text-align:left; color:var(--blog-ink); cursor:pointer; transition:background .2s ease,border-color .2s ease,color .2s ease; }
.ts-blog-category span { font-size:12px; font-weight:700; line-height:1.35; }
.ts-blog-category b { display:grid; place-items:center; min-width:25px; height:25px; border-radius:50%; background:#e8f8ef; color:#008f45; font-size:10px; }
.ts-blog-category:hover,.ts-blog-category.is-active { border-color:#00b956; background:#eafaf1; }
.ts-blog-category.is-active span { color:#007d40; }
.ts-blog-sidebar__hint { margin:12px 0 0; color:#738196; font-size:11px; line-height:1.6; }
.ts-blog-empty { padding:30px; border:1px dashed var(--blog-line); border-radius:12px; color:var(--blog-muted); text-align:center; }
.ts-blog-cta { background:#edf8f4; border-top:1px solid #d9eee4; border-bottom:1px solid #d9eee4; }
.ts-blog-cta__inner { display:flex; justify-content:space-between; align-items:center; gap:32px; padding-block:42px; }
.ts-blog-cta h2 { margin:7px 0 7px; color:var(--blog-ink); font-size:clamp(25px,3vw,34px); font-weight:800; letter-spacing:-.8px; }
.ts-blog-cta p { margin:0; color:var(--blog-muted); font-size:14px; line-height:1.7; }
.ts-blog-cta__button { display:inline-flex; align-items:center; justify-content:center; gap:20px; flex:0 0 auto; padding:15px 21px; border-radius:999px; background:#00c853; color:#073b2c; text-decoration:none; font-size:13px; font-weight:800; }
.ts-blog-cta__button:hover { background:#00b64b; color:#073b2c; }
/* Article layout */
.ts-blog-detail-hero { padding:24px 0 46px; background:linear-gradient(135deg,#f0f8f7 0%,#f6fafc 62%,#e5f5ed 100%); border-bottom:1px solid #dce9e9; }
.ts-blog-detail-hero .ts-blog-breadcrumb { margin-bottom:34px; color:#63758a; }
.ts-blog-detail-hero h1 { max-width:1000px; margin:13px 0 22px; color:var(--blog-ink); font-size:clamp(34px,4.5vw,58px); line-height:1.14; letter-spacing:-1.8px; font-weight:800; }
.ts-blog-meta--detail { gap:12px; }
.ts-blog-meta--detail > span:not(:first-child) { padding-left:12px; border-left:1px solid #c8d7dd; }
.ts-blog-detail-layout { display:grid; grid-template-columns:minmax(0,1fr) 310px; gap:44px; align-items:start; padding-top:54px; padding-bottom:78px; }
.ts-blog-article { min-width:0; color:#52647a; }
.ts-blog-article__cover { margin:0 0 27px; overflow:hidden; border-radius:18px; background:#e7eef1; }
.ts-blog-article__cover img { aspect-ratio:16/8.3; }
.ts-blog-article__cover figcaption { padding:10px 14px; color:#7b8999; background:#f7fafb; font-size:11px; }
.ts-blog-article__intro { margin:0 0 28px; color:#344a63; font-size:19px; line-height:1.75; font-weight:600; }
.ts-blog-article section { margin:0 0 27px; }
.ts-blog-article section h2 { margin:0 0 10px; color:var(--blog-ink); font-size:25px; line-height:1.3; font-weight:800; letter-spacing:-.5px; }
.ts-blog-article section p { margin:0; font-size:15px; line-height:1.9; }
.ts-blog-article__note { margin-top:36px; padding:24px; border-left:4px solid #00c853; border-radius:0 12px 12px 0; background:#f0faf5; }
.ts-blog-article__note strong { color:var(--blog-ink); font-size:17px; font-weight:800; }
.ts-blog-article__note p { margin:8px 0 12px; font-size:14px; line-height:1.75; }
.ts-blog-article__note a,.ts-blog-article__footer a { color:#008f45; font-weight:800; font-size:13px; text-decoration:none; }
.ts-blog-article__footer { display:flex; justify-content:space-between; flex-wrap:wrap; gap:14px; padding-top:22px; margin-top:28px; border-top:1px solid var(--blog-line); color:#738196; font-size:12px; }
.ts-blog-page .ts-footer { margin-top:0; }
@media (max-width:1100px) { .ts-blog-layout,.ts-blog-detail-layout { grid-template-columns:minmax(0,1fr) 280px; gap:22px; } .ts-blog-featured { grid-template-columns:1fr; } .ts-blog-featured__image { min-height:280px; max-height:360px; } }
@media (max-width:850px) { .ts-blog-layout,.ts-blog-detail-layout { grid-template-columns:1fr; } .ts-blog-sidebar { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; } .ts-blog-main { padding-top:55px; padding-bottom:64px; } .ts-blog-breadcrumb { margin-bottom:32px; } }
@media (max-width:600px) { .ts-blog-page .ts-container { width:min(100% - 32px,1320px); } .ts-blog-hero h1 { font-size:43px; letter-spacing:-1.6px; } .ts-blog-hero p { font-size:15px; } .ts-blog-hero__bottom { margin-top:30px; align-items:flex-start; flex-direction:column; gap:10px; } .ts-blog-section-heading { align-items:flex-start; flex-direction:column; } .ts-blog-card-grid { grid-template-columns:1fr; gap:17px; } .ts-blog-featured__image { min-height:220px; } .ts-blog-featured__content { padding:22px; } .ts-blog-sidebar { grid-template-columns:1fr; } .ts-blog-cta__inner { align-items:flex-start; flex-direction:column; padding-block:30px; gap:20px; } .ts-blog-detail-hero h1 { font-size:36px; letter-spacing:-1px; } .ts-blog-detail-layout { padding-top:32px; padding-bottom:50px; } .ts-blog-article__cover img { aspect-ratio:4/3; } .ts-blog-article__intro { font-size:17px; } .ts-blog-article section h2 { font-size:22px; } }


/* ===== Batch 14: stable homepage sticky navigation ===== */
/* The homepage hero has overflow:hidden; the JS moves the sticky header to body so it
   remains visible throughout the entire page instead of being clipped at the hero edge. */
.ts-header.is-sticky {
  position: fixed !important;
  top: 0 !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 32px) !important;
  max-width: none !important;
  height: 88px !important;
  padding: 0 clamp(16px, 2vw, 34px) !important;
  grid-template-columns: minmax(190px, .85fr) minmax(0, 1.6fr) auto !important;
  column-gap: clamp(12px, 1.2vw, 24px) !important;
  border-radius: 0 0 14px 14px !important;
  background: #fff !important;
  color: var(--ts-navy) !important;
  z-index: 99999 !important;
  isolation: isolate;
  overflow: visible !important;
}
.ts-header.is-sticky .ts-brand { width: min(230px, 100%) !important; }
.ts-header.is-sticky .ts-nav {
  min-width: 0;
  justify-content: center !important;
  gap: clamp(10px, 1vw, 20px) !important;
}
.ts-header.is-sticky .ts-nav > a,
.ts-header.is-sticky .ts-nav .ts-nav__link,
.ts-header.is-sticky .ts-nav .ts-nav__trigger {
  color: var(--ts-navy) !important;
  font-size: clamp(12px, .78vw, 15px) !important;
}
.ts-header.is-sticky .ts-nav a.is-active::after,
.ts-header.is-sticky .ts-nav .ts-nav__link.is-active::after { background: var(--ts-green) !important; }
.ts-header.is-sticky .ts-header-actions { gap: clamp(10px, 1.2vw, 22px) !important; }
.ts-header.is-sticky .ts-btn--header { min-width: clamp(170px, 12vw, 236px) !important; }
.ts-header.is-sticky .ts-mega { z-index: 100000 !important; }
.ts-header-spacer { flex: 0 0 auto; min-height: 0; pointer-events: none; }
@media (max-width: 1199px) and (min-width: 768px) {
  .ts-header.is-sticky { grid-template-columns: minmax(160px, .7fr) minmax(0, 1.7fr) auto !important; padding-inline: 16px !important; column-gap: 10px !important; }
  .ts-header.is-sticky .ts-brand { width: min(190px, 100%) !important; }
  .ts-header.is-sticky .ts-nav { gap: 8px !important; }
  .ts-header.is-sticky .ts-nav > a,
  .ts-header.is-sticky .ts-nav .ts-nav__link,
  .ts-header.is-sticky .ts-nav .ts-nav__trigger { font-size: 12px !important; }
  .ts-header.is-sticky .ts-search { width: 44px !important; height: 44px !important; }
  .ts-header.is-sticky .ts-btn--header { min-width: 142px !important; padding-inline: 12px !important; font-size: 11px !important; gap: 7px !important; }
}
@media (max-width: 767px) {
  .ts-header.is-sticky { width: 100% !important; height: 76px !important; border-radius: 0 !important; grid-template-columns: minmax(0, 1fr) auto !important; }
  .ts-header.is-sticky .ts-nav { display: none !important; }
  .ts-header.is-sticky .ts-brand { width: min(200px, 48vw) !important; }
  .ts-header.is-sticky .ts-header-actions { gap: 8px !important; }
  .ts-header.is-sticky .ts-btn--header { min-width: 0 !important; max-width: 52vw; padding-inline: 10px !important; }
}


/* ===== Batch 15: Careers landing and job-detail pages ===== */
.ts-careers-page, .ts-career-detail-page { color:var(--ts-navy); background:#fff; }
.ts-careers-page .ts-footer, .ts-career-detail-page .ts-footer { margin-top:0; }
.ts-careers-hero { position:relative; min-height:clamp(340px,28vw,470px); overflow:hidden; isolation:isolate; color:#fff; background:#05243c; }
.ts-careers-hero__image,.ts-career-detail-hero__image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 48%; z-index:-2; }
.ts-careers-hero__shade { position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(3,25,45,.96) 0%,rgba(3,25,45,.84) 29%,rgba(3,25,45,.28) 58%,rgba(3,25,45,.05) 100%); }
.ts-careers-hero__inner { min-height:inherit; display:flex; align-items:center; padding-block:46px; }
.ts-careers-hero__copy { max-width:560px; }
.ts-career-eyebrow,.ts-career-kicker { display:flex; align-items:center; gap:10px; color:#007b49; font-size:11px; font-weight:800; letter-spacing:.7px; text-transform:uppercase; }
.ts-career-eyebrow { color:#fff; margin-bottom:14px; }
.ts-career-eyebrow span { display:inline-block; width:28px; height:2px; background:#00c853; }
.ts-careers-hero h1 { margin:0 0 13px; color:#fff; font-size:clamp(38px,4.3vw,60px); line-height:1.02; font-weight:800; letter-spacing:-1.8px; }
.ts-careers-hero h1 em { color:#00d06a; font-style:normal; }
.ts-careers-hero p { max-width:470px; margin:0 0 23px; color:#f4f8fb; font-size:16px; line-height:1.55; }
.ts-career-btn { display:inline-flex; align-items:center; justify-content:center; gap:14px; min-height:42px; padding:11px 17px; border:1px solid transparent; border-radius:7px; text-decoration:none; font-size:12px; font-weight:800; line-height:1.2; cursor:pointer; transition:transform .18s ease,background .18s ease,border-color .18s ease; }
.ts-career-btn:hover { transform:translateY(-1px); }
.ts-career-btn--primary { background:linear-gradient(120deg,#008a4e,#00bd60); color:#fff; }
.ts-career-btn--primary:hover { background:#007b45; color:#fff; }
.ts-careers-hero__cta { min-width:190px; border-radius:999px; }
.ts-career-values { background:linear-gradient(90deg,#f6fbfc,#fff 50%,#f4fafb); border-bottom:1px solid #e2edf0; }
.ts-career-values__grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding-block:20px; }
.ts-career-values__grid article { display:flex; align-items:center; gap:13px; min-width:0; padding:5px 20px; border-right:1px solid #d7e4e8; }
.ts-career-values__grid article:first-child { padding-left:0; }
.ts-career-values__grid article:last-child { border-right:0; padding-right:0; }
.ts-career-value-icon { flex:0 0 43px; display:grid; place-items:center; width:43px; height:43px; border-radius:50%; color:#00663f; background:#e7f8ef; font-size:28px; font-weight:700; }
.ts-career-values h2 { margin:0 0 4px; color:#10284d; font-size:13px; font-weight:800; }
.ts-career-values p { margin:0; color:#61728a; font-size:11px; line-height:1.5; }
.ts-careers-jobs { padding:38px 0 46px; background:linear-gradient(180deg,#f3fafb 0%,#fbfdfd 100%); }
.ts-careers-heading { display:grid; grid-template-columns:minmax(0,1fr) minmax(360px,.95fr); gap:28px; align-items:end; margin-bottom:20px; }
.ts-career-kicker { gap:8px; margin-bottom:8px; font-size:10px; }
.ts-careers-heading h2 { margin:0 0 4px; color:#10284d; font-size:clamp(28px,3vw,38px); line-height:1.14; font-weight:800; letter-spacing:-1px; }
.ts-careers-heading p { margin:0; color:#62748c; font-size:14px; line-height:1.6; }
.ts-job-search { display:flex; align-items:center; min-width:0; height:48px; border:1px solid #d6e4eb; border-radius:7px; background:#fff; overflow:hidden; box-shadow:0 3px 10px rgba(15,50,70,.025); }
.ts-job-search > span { padding:0 12px; color:#006345; font-size:25px; line-height:1; }
.ts-job-search input { flex:1; min-width:0; height:100%; border:0; outline:0; color:#10284d; font:500 12px Manrope,sans-serif; background:transparent; }
.ts-job-search input::placeholder { color:#8291a4; }
.ts-job-search button { align-self:stretch; flex:0 0 auto; display:flex; align-items:center; gap:12px; border:0; padding:0 20px; background:#00a95b; color:#fff; font:800 12px Manrope,sans-serif; }
.ts-job-search button:hover { background:#008c4c; }
.ts-careers-filters { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)) auto; gap:12px; align-items:center; margin-bottom:16px; }
.ts-careers-filters label { min-width:0; }
.ts-careers-filters select { width:100%; height:42px; padding:0 12px; border:1px solid #d8e4eb; border-radius:6px; background:#fff; color:#596c85; font:500 11px Manrope,sans-serif; outline-color:#00b85b; }
.ts-careers-result { display:flex; align-items:center; justify-content:flex-end; gap:8px; white-space:nowrap; }
.ts-careers-result strong { color:#00643d; font-size:11px; text-decoration:underline; text-underline-offset:3px; }
.ts-careers-result button { width:31px; height:31px; border:0; border-radius:50%; background:#e9f0f4; color:#10284d; font-size:18px; }
.ts-job-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.ts-job-card { display:flex; flex-direction:column; min-width:0; padding:15px 14px 12px; border:1px solid #e0eaef; border-radius:9px; background:rgba(255,255,255,.95); box-shadow:0 4px 16px rgba(18,47,68,.025); transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease; }
.ts-job-card:hover { border-color:#b9e7d1; box-shadow:0 10px 25px rgba(18,47,68,.07); transform:translateY(-2px); }
.ts-job-card[hidden] { display:none !important; }
.ts-job-card__top { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.ts-job-card h3 { margin:0; color:#10284d; font-size:16px; line-height:1.35; font-weight:800; letter-spacing:-.25px; }
.ts-job-card h3 a { color:inherit; text-decoration:none; }
.ts-job-card h3 a:hover { color:#008f50; }
.ts-job-badge { flex:0 0 auto; padding:5px 8px; border-radius:4px; background:#dffbed; color:#00834a; font-size:9px; font-weight:800; }
.ts-job-meta { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin:12px 0 10px; color:#4e6380; font-size:9px; line-height:1.4; }
.ts-job-meta span { display:inline-flex; align-items:center; gap:5px; min-width:0; }
.ts-job-meta svg { width:14px; height:14px; flex:0 0 14px; color:#006b49; }
.ts-job-card > p { flex:1; margin:0 0 12px; color:#60718a; font-size:11px; line-height:1.6; }
.ts-job-card__bottom { display:flex; align-items:flex-end; justify-content:space-between; gap:10px; margin-top:auto; }
.ts-job-card__actions { display:flex; flex-wrap:wrap; gap:7px; }
.ts-job-card .ts-career-btn { min-height:32px; padding:8px 10px; gap:9px; border-radius:4px; font-size:10px; }
.ts-career-btn--outline { border-color:#51b98b; background:#fff; color:#006641; }
.ts-career-btn--outline:hover { background:#edfbf4; color:#005333; }
.ts-job-qr { flex:0 0 58px; display:flex; flex-direction:column; align-items:center; gap:2px; width:58px; color:#10284d; text-decoration:none; }
.ts-job-qr img { display:block; width:55px; height:55px; padding:2px; border:1px solid #e0e8ec; border-radius:3px; object-fit:contain; background:#fff; }
.ts-job-qr span { font-size:8px; line-height:1.2; font-weight:800; white-space:nowrap; }
.ts-jobs-empty { margin:16px 0 0; padding:24px; border:1px dashed #c7dce2; border-radius:8px; color:#60718a; text-align:center; font-size:13px; }
.ts-careers-culture { padding:14px 0 18px; background:#fff; }
.ts-careers-culture__grid { display:grid; grid-template-columns:1fr .92fr; align-items:center; gap:32px; }
.ts-careers-culture__grid > img { width:100%; height:clamp(230px,20vw,320px); object-fit:cover; border-radius:9px; }
.ts-careers-culture h2 { margin:7px 0 9px; color:#10284d; font-size:clamp(24px,2.6vw,34px); line-height:1.16; font-weight:800; letter-spacing:-.7px; }
.ts-careers-culture p { margin:0 0 16px; color:#5f7189; font-size:13px; line-height:1.7; }
.ts-careers-culture .ts-career-btn { border-radius:999px; padding-inline:20px; }
/* Individual vacancy page */
.ts-career-detail-hero { position:relative; min-height:250px; overflow:hidden; isolation:isolate; color:#fff; background:#05243c; }
.ts-career-detail-hero__shade { position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(2,25,45,.97) 0%,rgba(2,25,45,.88) 39%,rgba(2,25,45,.23) 72%,rgba(2,25,45,.06) 100%); }
.ts-career-detail-hero__inner { padding-block:24px 28px; }
.ts-career-breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-bottom:12px; color:#e4edf4; font-size:11px; }
.ts-career-breadcrumb a { color:#fff; text-decoration:none; }
.ts-career-breadcrumb a:hover { color:#00d06a; }
.ts-career-detail-hero h1 { margin:0 0 13px; color:#fff; font-size:clamp(34px,3.4vw,48px); line-height:1.1; font-weight:800; letter-spacing:-1px; }
.ts-career-detail-meta { display:flex; flex-wrap:wrap; gap:10px 20px; margin-bottom:13px; color:#fff; font-size:11px; }
.ts-career-detail-meta span { display:inline-flex; align-items:center; gap:7px; }
.ts-career-detail-meta svg { width:17px; height:17px; color:#fff; }
.ts-career-detail-hero p { max-width:670px; margin:0 0 14px; color:#f1f6f9; font-size:14px; line-height:1.55; }
.ts-career-detail-actions { display:flex; flex-wrap:wrap; gap:10px; }
.ts-career-detail-actions .ts-career-btn { min-width:124px; border-radius:999px; }
.ts-career-btn--share { border-color:rgba(255,255,255,.7); background:transparent; color:#fff; }
.ts-career-btn--share:hover { background:rgba(255,255,255,.12); color:#fff; }
.ts-career-detail-main { padding:24px 0 30px; background:#fff; }
.ts-career-detail-layout { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(290px,.95fr); gap:22px; align-items:start; }
.ts-career-detail-content { display:grid; gap:12px; min-width:0; }
.ts-career-info-block { padding:19px 20px; border:1px solid #e1eaf0; border-radius:7px; background:#fff; }
.ts-career-info-block h2 { margin:0 0 10px; color:#10284d; font-size:18px; line-height:1.3; font-weight:800; letter-spacing:-.3px; }
.ts-career-info-block > p { margin:0; color:#60718a; font-size:12px; line-height:1.7; }
.ts-career-info-block .ts-career-kicker { margin-bottom:7px; }
.ts-career-check-list { display:grid; gap:7px; margin:0; padding:0; list-style:none; }
.ts-career-check-list li { display:flex; align-items:flex-start; gap:10px; color:#596d86; font-size:12px; line-height:1.5; }
.ts-career-check { flex:0 0 14px; display:grid; place-items:center; width:14px; height:14px; margin-top:1px; border-radius:50%; background:#087b4e; color:#fff; font-size:9px; font-weight:800; }
.ts-career-benefit-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); }
.ts-career-benefit-grid article { text-align:center; padding:5px 8px 0; border-right:1px solid #e4edf0; }
.ts-career-benefit-grid article:last-child { border-right:0; }
.ts-career-benefit-grid article > span { display:grid; place-items:center; width:40px; height:40px; margin:0 auto 8px; border-radius:50%; background:#e4f8ef; color:#007a4a; font-size:24px; font-weight:700; }
.ts-career-benefit-grid h3 { margin:0 0 4px; color:#10284d; font-size:10px; line-height:1.35; font-weight:800; }
.ts-career-benefit-grid p { margin:0; color:#75859a; font-size:9px; line-height:1.45; }
.ts-career-detail-sidebar { display:grid; gap:12px; min-width:0; }
.ts-career-apply-panel { padding:17px; border:1px solid #dcefe7; border-radius:7px; background:#f1faf7; }
.ts-career-apply-panel h2 { margin:0 0 12px; color:#10284d; font-size:16px; font-weight:800; }
.ts-career-apply-panel__inner { display:grid; grid-template-columns:92px minmax(0,1fr); gap:14px; align-items:center; }
.ts-career-qr-large { display:flex; flex-direction:column; align-items:center; gap:4px; padding:7px; border:1px solid #e0eaef; border-radius:5px; background:#fff; color:#10284d; text-decoration:none; font-size:10px; font-weight:800; }
.ts-career-qr-large img { width:76px; height:76px; object-fit:contain; }
.ts-career-apply-panel h3 { margin:0 0 5px; color:#10284d; font-size:12px; font-weight:800; }
.ts-career-apply-panel p { margin:0 0 9px; color:#5e7187; font-size:10px; line-height:1.55; }
.ts-career-apply-panel .ts-career-btn { width:100%; min-height:34px; padding:8px; font-size:10px; }
.ts-career-help { display:flex; align-items:center; gap:10px; margin-top:12px; padding-top:12px; border-top:1px solid #dcece6; color:#00734a; font-size:20px; }
.ts-career-help span { color:#5e7187; font-size:10px; line-height:1.6; }
.ts-career-help strong { color:#10284d; font-size:11px; }
.ts-career-help a { color:#5e7187; text-decoration:none; }
.ts-career-facts { padding:5px 14px; border:1px solid #e1eaf0; border-radius:7px; background:#fff; }
.ts-career-facts > div { display:grid; grid-template-columns:22px minmax(105px,.9fr) minmax(0,1.2fr); align-items:center; gap:8px; padding:10px 0; border-bottom:1px solid #edf1f4; font-size:10px; }
.ts-career-facts > div:last-child { border-bottom:0; }
.ts-career-facts > div > span:first-child { color:#00774a; font-size:16px; }
.ts-career-facts strong { color:#10284d; font-size:10px; font-weight:800; }
.ts-career-facts > div > span:last-child { color:#5f7188; line-height:1.45; }
.ts-career-sidebar-cta { position:relative; min-height:210px; overflow:hidden; isolation:isolate; border-radius:7px; color:#fff; background:#06263b; }
.ts-career-sidebar-cta img { position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; }
.ts-career-sidebar-cta::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(3,25,43,.91),rgba(3,25,43,.4)); }
.ts-career-sidebar-cta > div { padding:20px; }
.ts-career-sidebar-cta .ts-career-kicker { color:#00d06a; }
.ts-career-sidebar-cta h2 { margin:8px 0; color:#fff; font-size:25px; line-height:1.1; font-weight:800; }
.ts-career-sidebar-cta p { margin:0 0 11px; color:#f3f7f8; font-size:12px; line-height:1.55; }
.ts-career-sidebar-cta a { color:#00d06a; font-size:11px; font-weight:800; text-decoration:none; }
.ts-career-related { padding:5px 0 34px; background:#fff; }
.ts-career-related__heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:12px; }
.ts-career-related__heading h2 { display:flex; align-items:center; gap:10px; margin:0; color:#10284d; font-size:20px; font-weight:800; }
.ts-career-related__heading h2 span { width:35px; height:2px; background:#00c853; }
.ts-career-related__heading > a { color:#007846; font-size:11px; font-weight:800; text-decoration:underline; text-underline-offset:3px; }
.ts-career-related__heading > a span { margin-left:9px; text-decoration:none; }
.ts-related-job-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.ts-related-job { overflow:hidden; border:1px solid #e0eaf0; border-radius:7px; background:#fff; }
.ts-related-job > img { display:block; width:100%; height:90px; object-fit:cover; object-position:center 55%; }
.ts-related-job__body { padding:12px; }
.ts-related-job h3 { margin:0 0 6px; color:#10284d; font-size:13px; font-weight:800; }
.ts-related-job h3 a { color:inherit; text-decoration:none; }
.ts-related-job p { display:flex; align-items:center; gap:5px; margin:0 0 10px; color:#63758b; font-size:10px; }
.ts-related-job p svg { width:13px; height:13px; color:#00764a; }
.ts-related-job .ts-career-btn { min-height:30px; padding:7px 12px; font-size:10px; border-radius:4px; }
@media (max-width:1100px) { .ts-careers-heading { grid-template-columns:1fr; gap:15px; } .ts-careers-filters { grid-template-columns:repeat(2,minmax(0,1fr)); } .ts-careers-result { justify-content:flex-start; } .ts-job-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .ts-career-detail-layout { grid-template-columns:minmax(0,1.4fr) minmax(270px,1fr); gap:15px; } .ts-career-values__grid article { padding-inline:12px; } }
@media (max-width:850px) { .ts-career-values__grid { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:12px; } .ts-career-values__grid article:nth-child(2) { border-right:0; } .ts-career-values__grid article:nth-child(3) { padding-left:0; } .ts-career-detail-layout { grid-template-columns:1fr; } .ts-career-detail-sidebar { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; } .ts-career-apply-panel { grid-column:1/-1; } .ts-career-facts { grid-column:1/-1; } .ts-career-sidebar-cta { grid-column:1/-1; } .ts-careers-culture__grid { gap:22px; } }
@media (max-width:600px) { .ts-careers-page .ts-container,.ts-career-detail-page .ts-container { width:min(100% - 32px,1320px); } .ts-careers-hero { min-height:400px; } .ts-careers-hero__shade { background:linear-gradient(90deg,rgba(3,25,45,.94),rgba(3,25,45,.65)); } .ts-careers-hero h1 { font-size:42px; } .ts-careers-hero p { font-size:14px; } .ts-career-values__grid { grid-template-columns:1fr 1fr; padding-block:13px; } .ts-career-values__grid article { gap:8px; padding:7px 8px; } .ts-career-value-icon { flex-basis:34px; width:34px; height:34px; font-size:22px; } .ts-career-values h2 { font-size:11px; } .ts-career-values p { font-size:10px; } .ts-careers-jobs { padding:29px 0 32px; } .ts-careers-heading h2 { font-size:29px; } .ts-job-search { height:auto; min-height:46px; flex-wrap:wrap; } .ts-job-search input { min-height:44px; } .ts-job-search button { min-height:44px; } .ts-careers-filters { grid-template-columns:1fr 1fr; gap:8px; } .ts-careers-result { grid-column:1/-1; } .ts-job-grid { grid-template-columns:1fr; gap:10px; } .ts-job-card { padding:14px 12px; } .ts-job-card h3 { font-size:15px; } .ts-job-card > p { font-size:12px; } .ts-job-meta { font-size:10px; } .ts-job-card .ts-career-btn { font-size:10px; } .ts-careers-culture { padding:20px 0 28px; } .ts-careers-culture__grid { grid-template-columns:1fr; gap:19px; } .ts-careers-culture__grid > img { height:220px; } .ts-careers-culture h2 { font-size:26px; } .ts-career-detail-hero { min-height:310px; } .ts-career-detail-hero__shade { background:rgba(2,25,45,.79); } .ts-career-detail-meta { gap:9px 13px; font-size:10px; } .ts-career-detail-hero h1 { font-size:36px; } .ts-career-detail-main { padding-top:18px; } .ts-career-info-block { padding:16px 14px; } .ts-career-info-block h2 { font-size:17px; } .ts-career-check-list li { font-size:11px; } .ts-career-benefit-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; } .ts-career-benefit-grid article { border-right:0; padding:0 5px; } .ts-career-benefit-grid article:last-child { grid-column:1/-1; } .ts-career-detail-sidebar { grid-template-columns:1fr; } .ts-career-apply-panel,.ts-career-facts,.ts-career-sidebar-cta { grid-column:auto; } .ts-career-related__heading { align-items:flex-start; flex-direction:column; gap:8px; } .ts-related-job-grid { grid-template-columns:1fr; } .ts-related-job > img { height:120px; } }


/* ===== Batch 16: careers typography consistency, remove redundant strips, enlarge QR ===== */
/* Keep the sticky navigation typography aligned with the site's standard 16px desktop navigation. */
.ts-header.is-sticky .ts-nav > a,
.ts-header.is-sticky .ts-nav .ts-nav__link,
.ts-header.is-sticky .ts-nav .ts-nav__trigger {
  font-size: clamp(14px, 1vw, 16px) !important;
  font-weight: 600 !important;
}
.ts-header.is-sticky .ts-btn--header { font-size: 14px !important; }
@media (max-width: 1199px) and (min-width: 768px) {
  .ts-header.is-sticky .ts-nav > a,
  .ts-header.is-sticky .ts-nav .ts-nav__link,
  .ts-header.is-sticky .ts-nav .ts-nav__trigger { font-size: 13px !important; }
  .ts-header.is-sticky .ts-btn--header { font-size: 13px !important; }
}

/* Careers pages follow the same Manrope scale and readable body sizes as the rest of the site. */
.ts-careers-page,
.ts-career-detail-page { font-family: var(--ts-font), sans-serif; }
.ts-careers-page p,
.ts-career-detail-page p,
.ts-career-detail-page .ts-career-check-list li { font-size: 16px; line-height: 1.65; }
.ts-careers-page .ts-career-eyebrow,
.ts-careers-page .ts-career-kicker,
.ts-career-detail-page .ts-career-kicker { font-size: 14px; }
.ts-careers-page .ts-careers-heading h2,
.ts-career-detail-page .ts-career-info-block h2 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -.5px; }
.ts-careers-page .ts-job-card h3,
.ts-career-detail-page .ts-related-job h3 { font-size: 20px; line-height: 1.3; }
.ts-careers-page .ts-job-card > p,
.ts-career-detail-page .ts-career-info-block > p,
.ts-career-detail-page .ts-career-check-list li { font-size: 15px; line-height: 1.6; }
.ts-careers-page .ts-job-meta,
.ts-career-detail-page .ts-career-detail-meta,
.ts-career-detail-page .ts-career-breadcrumb,
.ts-career-detail-page .ts-career-facts > div,
.ts-career-detail-page .ts-career-facts strong { font-size: 13px; }
.ts-careers-page .ts-job-badge { font-size: 12px; }
.ts-careers-page .ts-careers-filters select,
.ts-careers-page .ts-job-search input,
.ts-careers-page .ts-job-search button,
.ts-careers-page .ts-career-btn,
.ts-career-detail-page .ts-career-btn { font-size: 14px; }
.ts-careers-page .ts-careers-heading p,
.ts-careers-page .ts-careers-culture p,
.ts-career-detail-page .ts-career-detail-hero p,
.ts-career-detail-page .ts-career-apply-panel p,
.ts-career-detail-page .ts-career-sidebar-cta p { font-size: 16px; line-height: 1.65; }
.ts-career-detail-page .ts-career-apply-panel h2,
.ts-career-detail-page .ts-career-apply-panel h3 { font-size: 20px; }
.ts-career-detail-page .ts-career-help span,
.ts-career-detail-page .ts-career-help strong,
.ts-career-detail-page .ts-career-related__heading > a { font-size: 14px; }
.ts-career-detail-page .ts-career-related__heading h2 { font-size: 28px; }
.ts-career-detail-page .ts-career-sidebar-cta h2 { font-size: 30px; }

/* Larger QR codes across job listings, application panels and related vacancy cards. */
.ts-job-qr { flex-basis: 82px; width: 82px; gap: 4px; }
.ts-job-qr img { width: 78px; height: 78px; padding: 3px; }
.ts-job-qr span { font-size: 11px; }
.ts-career-apply-panel__inner { grid-template-columns: 132px minmax(0,1fr); gap: 16px; }
.ts-career-qr-large { min-width: 128px; padding: 8px; font-size: 13px; }
.ts-career-qr-large img { width: 110px; height: 110px; }
.ts-related-job__body { position: relative; }
.ts-related-job .ts-career-btn { font-size: 14px; }
@media (max-width: 600px) {
  .ts-careers-page .ts-job-card h3,
  .ts-career-detail-page .ts-related-job h3 { font-size: 19px; }
  .ts-careers-page .ts-job-card > p,
  .ts-career-detail-page .ts-career-info-block > p,
  .ts-career-detail-page .ts-career-check-list li { font-size: 15px; }
  .ts-careers-page .ts-job-meta { font-size: 12px; }
  .ts-careers-page .ts-career-btn,
  .ts-career-detail-page .ts-career-btn { font-size: 14px; }
  .ts-job-qr { flex-basis: 74px; width: 74px; }
  .ts-job-qr img { width: 70px; height: 70px; }
  .ts-career-apply-panel__inner { grid-template-columns: 120px minmax(0,1fr); }
  .ts-career-qr-large img { width: 100px; height: 100px; }
}


/* =========================================================
   BATCH 18 — Candidate Login + job QR destinations
   Preserve shared header, mega menus, and footer.
   ========================================================= */
.ts-btn--candidate-login { white-space: nowrap; }
.ts-career-share-below-qr { width:100%; justify-content:center; margin-top:12px; min-height:44px; }
.ts-career-apply-panel__inner .ts-career-qr-large { align-self:start; }
.ts-candidate-login-main { position:relative; overflow:hidden; background:#effaf5; }
.ts-candidate-login-shell { position:relative; isolation:isolate; display:grid; grid-template-columns:minmax(0,1fr) minmax(390px,560px); gap:clamp(28px,5vw,82px); align-items:center; width:min(var(--ts-content),calc(100% - 64px)); min-height:700px; margin:0 auto; padding:44px 0 58px; }
.ts-candidate-login-shell::before { content:""; position:absolute; z-index:-2; left:-16vw; bottom:-9%; width:58%; height:66%; background:url('../images/about/about-hero-refinery.png') center/cover no-repeat; opacity:.94; clip-path:polygon(0 0,100% 0,78% 100%,0 100%); }
.ts-candidate-login-shell::after { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(115deg,rgba(239,250,245,.98) 0%,rgba(239,250,245,.95) 43%,rgba(239,250,245,.72) 72%,rgba(239,250,245,.95) 100%); pointer-events:none; }
.ts-candidate-login-copy { align-self:stretch; display:flex; flex-direction:column; justify-content:center; padding:0 0 70px; }
.ts-candidate-login-copy .ts-career-breadcrumb { margin-bottom:40px; }
.ts-candidate-login-eyebrow { display:flex; align-items:center; gap:12px; color:#247c5a; font-size:14px; font-weight:800; letter-spacing:.18em; margin-bottom:18px; }
.ts-candidate-login-eyebrow span { width:42px; height:3px; background:#00c853; }
.ts-candidate-login-copy h1 { margin:0 0 16px; color:#064c35; font-size:clamp(42px,4.2vw,66px); line-height:1.04; letter-spacing:-.04em; font-weight:800; }
.ts-candidate-login-tagline { margin:0 0 18px; color:#536a7e; font-size:21px; font-weight:600; }
.ts-candidate-login-description { max-width:480px; margin:0; color:#526a7d; font-size:17px; line-height:1.65; }
.ts-candidate-login-benefits { display:flex; flex-direction:column; gap:22px; position:absolute; right:0; top:50%; transform:translateY(-50%); margin-right:-4px; }
.ts-candidate-login-benefits article { display:flex; align-items:center; gap:14px; color:#10284d; font-size:15px; line-height:1.35; }
.ts-login-benefit-icon { display:grid; place-items:center; width:60px; height:60px; flex:0 0 60px; border-radius:50%; color:#008a50; background:#dff7ec; font-size:31px; font-weight:800; }
.ts-candidate-login-card { width:100%; max-width:560px; justify-self:center; padding:38px 40px 32px; border:1px solid #e0eee8; border-radius:16px; background:#fff; box-shadow:0 16px 42px rgba(0,73,48,.12); text-align:center; }
.ts-whatsapp-mark { display:grid; place-items:center; width:86px; height:86px; margin:0 auto 14px; border-radius:50%; background:#e2f8ed; color:#00a95a; }
.ts-whatsapp-mark svg { width:56px; height:56px; }
.ts-candidate-login-card h2 { margin:0 0 12px; color:#10284d; font-size:30px; line-height:1.2; font-weight:800; letter-spacing:-.025em; }
.ts-login-card-intro { margin:0 auto 28px; max-width:420px; color:#62768c; font-size:16px; line-height:1.6; }
.ts-candidate-login-card form { text-align:left; }
.ts-candidate-login-card form label { display:block; margin-bottom:9px; color:#10284d; font-size:15px; font-weight:800; }
.ts-login-phone-field { display:flex; align-items:stretch; min-height:58px; border:1px solid #cfdbe4; border-radius:8px; overflow:hidden; }
.ts-login-country { display:flex; align-items:center; gap:9px; padding:0 13px; color:#10284d; border-right:1px solid #d8e2e9; font-weight:700; white-space:nowrap; }
.ts-login-phone-field input { min-width:0; width:100%; border:0; outline:0; padding:0 16px; color:#10284d; font:inherit; font-size:16px; background:#fff; }
.ts-login-phone-field input:focus { box-shadow:inset 0 0 0 2px rgba(0,200,83,.18); }
.ts-login-phone-field input::placeholder { color:#a2aeb9; }
.ts-login-submit { display:flex; align-items:center; justify-content:center; gap:12px; width:100%; min-height:58px; margin-top:18px; padding:12px 16px; border:0; border-radius:8px; background:#007a49; color:#fff; font:inherit; font-size:16px; font-weight:800; cursor:pointer; }
.ts-login-submit:hover { background:#00673e; }
.ts-login-status { min-height:0; margin:10px 0 0; color:#856404; font-size:13px; line-height:1.45; }
.ts-login-status:empty { display:none; }
.ts-login-privacy { display:flex; align-items:flex-start; justify-content:center; gap:9px; margin:22px 0 0; color:#64798c; font-size:12px; line-height:1.5; }
.ts-login-privacy span { color:#587086; font-size:16px; }
@media(max-width:1100px) { .ts-candidate-login-shell { grid-template-columns:minmax(0,1fr) minmax(340px,500px); width:min(var(--ts-content),calc(100% - 40px)); gap:28px; } .ts-candidate-login-benefits { position:static; transform:none; flex-direction:row; flex-wrap:wrap; margin:26px 0 0; } .ts-candidate-login-benefits article { font-size:12px; } .ts-login-benefit-icon { width:44px; height:44px; flex-basis:44px; font-size:24px; } .ts-candidate-login-copy { padding-bottom:0; } }
@media(max-width:760px) { .ts-candidate-login-shell { grid-template-columns:1fr; min-height:auto; padding:24px 0 36px; width:calc(100% - 32px); gap:24px; } .ts-candidate-login-copy .ts-career-breadcrumb { margin-bottom:28px; } .ts-candidate-login-copy h1 { font-size:40px; } .ts-candidate-login-tagline { font-size:18px; } .ts-candidate-login-description { font-size:15px; } .ts-candidate-login-benefits { gap:10px 14px; } .ts-candidate-login-benefits article { gap:8px; } .ts-login-benefit-icon { width:38px; height:38px; flex-basis:38px; font-size:21px; } .ts-candidate-login-card { max-width:none; padding:28px 20px 24px; } .ts-candidate-login-card h2 { font-size:25px; } .ts-login-card-intro { font-size:14px; margin-bottom:22px; } .ts-login-phone-field { min-height:52px; } .ts-login-country { padding-inline:10px; gap:6px; font-size:13px; } .ts-login-phone-field input { padding-inline:10px; font-size:14px; } .ts-login-submit { min-height:52px; font-size:14px; } }


/* =========================================================
   BATCH 19 — Candidate login visual correction + global dial-code selector
   Scope is limited to candidate-login.php; shared header/footer stay intact.
   ========================================================= */
.ts-candidate-login-main { background:#effaf5; overflow:clip; }
.ts-candidate-login-shell {
  grid-template-columns:minmax(0,1fr) minmax(420px,560px) minmax(170px,220px);
  gap:clamp(24px,3vw,48px);
  width:min(1510px,calc(100% - 64px));
  min-height:clamp(700px,calc(100vh - 88px),820px);
  padding:48px 0 56px;
}
.ts-candidate-login-shell::before {
  left:calc((100vw - 100%)/-2);
  bottom:0;
  width:51%;
  height:60%;
  opacity:1;
  background-image:url('../images/about/about-hero-refinery.png');
  background-position:center 54%;
  clip-path:polygon(0 0,100% 0,78% 100%,0 100%);
}
.ts-candidate-login-shell::after {
  background:linear-gradient(108deg,
    rgba(239,250,245,.10) 0%,
    rgba(239,250,245,.28) 23%,
    rgba(239,250,245,.82) 43%,
    rgba(239,250,245,.96) 63%,
    rgba(239,250,245,.98) 100%);
}
.ts-candidate-login-copy { position:relative; z-index:1; padding:0; }
.ts-candidate-login-copy .ts-career-breadcrumb { margin-bottom:clamp(26px,3vw,42px); }
.ts-candidate-login-copy h1 { font-family:var(--ts-font,Manrope),sans-serif; font-size:clamp(42px,3.6vw,62px); line-height:1.04; }
.ts-candidate-login-tagline { font-family:var(--ts-font,Manrope),sans-serif; }
.ts-candidate-login-description { font-family:var(--ts-font,Manrope),sans-serif; }
.ts-candidate-login-benefits {
  position:static;
  top:auto;
  right:auto;
  transform:none;
  margin:0;
  align-self:center;
  gap:28px;
  min-width:0;
}
.ts-candidate-login-benefits article { gap:13px; font-size:14px; }
.ts-login-benefit-icon { width:56px; height:56px; flex-basis:56px; font-size:28px; }
.ts-candidate-login-card { position:relative; z-index:2; max-width:560px; justify-self:stretch; padding:38px 40px 32px; }
.ts-candidate-login-card h2 { font-family:var(--ts-font,Manrope),sans-serif; }
.ts-login-card-intro, .ts-login-privacy, .ts-candidate-login-card form label { font-family:var(--ts-font,Manrope),sans-serif; }
.ts-login-phone-field--intl { display:block; width:100%; min-height:58px; border:0; overflow:visible; border-radius:0; }
.ts-login-phone-field--intl .iti { display:block; width:100%; }
.ts-login-phone-field--intl .iti__tel-input {
  width:100%; min-height:58px; border:1px solid #cfdbe4; border-radius:8px;
  padding-top:12px; padding-bottom:12px; color:#10284d; background:#fff;
  font-family:var(--ts-font,Manrope),sans-serif; font-size:16px; box-shadow:none;
}
.ts-login-phone-field--intl .iti__tel-input:focus { border-color:#00a95a; box-shadow:0 0 0 3px rgba(0,200,83,.12); outline:0; }
.ts-login-phone-field--intl .iti--separate-dial-code .iti__tel-input { padding-left:100px; }
.ts-login-phone-field--intl .iti__selected-country { border-radius:8px 0 0 8px; }
.ts-login-phone-field--intl .iti__selected-country-primary { padding-inline:12px; }
.ts-login-phone-field--intl .iti__selected-dial-code { color:#10284d; font-family:var(--ts-font,Manrope),sans-serif; font-weight:700; }
.iti__country-list { z-index:10020; max-width:min(360px,calc(100vw - 40px)); font-family:var(--ts-font,Manrope),sans-serif; }
.iti__search-input { font-family:var(--ts-font,Manrope),sans-serif; }
.ts-login-status { font-family:var(--ts-font,Manrope),sans-serif; }
@media(max-width:1250px) {
  .ts-candidate-login-shell { grid-template-columns:minmax(0,1fr) minmax(380px,520px); width:calc(100% - 48px); gap:32px; }
  .ts-candidate-login-benefits { grid-column:1 / -1; flex-direction:row; justify-content:space-between; flex-wrap:wrap; gap:18px; padding-top:4px; }
  .ts-candidate-login-benefits article { font-size:13px; }
  .ts-login-benefit-icon { width:48px; height:48px; flex-basis:48px; font-size:24px; }
  .ts-candidate-login-shell::before { width:56%; height:48%; }
}
@media(max-width:850px) {
  .ts-candidate-login-shell { grid-template-columns:minmax(0,1fr); width:calc(100% - 40px); min-height:0; padding:30px 0 42px; gap:28px; }
  .ts-candidate-login-shell::before { left:calc((100vw - 100%)/-2); width:100%; height:360px; bottom:0; opacity:.65; clip-path:polygon(0 0,100% 0,86% 100%,0 100%); }
  .ts-candidate-login-shell::after { background:linear-gradient(180deg,rgba(239,250,245,.98) 0%,rgba(239,250,245,.93) 48%,rgba(239,250,245,.72) 100%); }
  .ts-candidate-login-copy .ts-career-breadcrumb { margin-bottom:28px; }
  .ts-candidate-login-copy h1 { font-size:clamp(38px,8vw,52px); }
  .ts-candidate-login-description { max-width:560px; }
  .ts-candidate-login-card { justify-self:start; width:100%; max-width:600px; }
  .ts-candidate-login-benefits { grid-column:auto; flex-direction:row; justify-content:flex-start; gap:14px 22px; }
  .ts-candidate-login-benefits article { font-size:12px; }
}
@media(max-width:520px) {
  .ts-candidate-login-shell { width:calc(100% - 32px); padding:24px 0 32px; }
  .ts-candidate-login-card { padding:28px 20px 24px; }
  .ts-candidate-login-card h2 { font-size:25px; }
  .ts-login-card-intro { font-size:14px; margin-bottom:22px; }
  .ts-login-phone-field--intl .iti__tel-input { min-height:52px; font-size:14px; }
  .ts-login-phone-field--intl .iti--separate-dial-code .iti__tel-input { padding-left:88px; }
  .ts-login-submit { min-height:52px; font-size:14px; }
  .ts-candidate-login-benefits { display:grid; grid-template-columns:1fr; gap:12px; }
  .ts-candidate-login-benefits article { font-size:13px; }
}

.ts-candidate-login-copy .ts-career-breadcrumb,
.ts-candidate-login-copy .ts-career-breadcrumb a,
.ts-candidate-login-copy .ts-career-breadcrumb [aria-current="page"] { color:#526a7d; }
.ts-candidate-login-copy .ts-career-breadcrumb a:hover { color:#007a49; }


/* BATCH 22 — Candidate Login only: clean image-free layout + OTP screen.
   All existing page styles above this point are preserved. */
.ts-candidate-login-main { background:#effaf5; overflow:hidden; }
.ts-candidate-login-shell {
  grid-template-columns:minmax(0,1fr) minmax(430px,610px);
  align-items:center;
  gap:clamp(44px,7vw,120px);
  width:min(1510px,calc(100% - 64px));
  min-height:clamp(680px,calc(100vh - 90px),820px);
  padding:44px 0 54px;
}
.ts-candidate-login-shell::before,
.ts-candidate-login-shell::after { content:none !important; display:none !important; }
.ts-candidate-login-copy { align-self:center; padding:0; max-width:690px; }
.ts-candidate-login-copy .ts-career-breadcrumb { margin-bottom:clamp(28px,3vw,42px); }
.ts-candidate-login-eyebrow { margin-bottom:18px; }
.ts-candidate-login-copy h1 { max-width:650px; font-size:clamp(42px,4vw,62px); line-height:1.08; letter-spacing:-.045em; }
.ts-candidate-login-tagline { margin-bottom:14px; font-size:21px; }
.ts-candidate-login-description { max-width:610px; font-size:16px; line-height:1.7; margin-bottom:24px; }
.ts-candidate-login-benefits {
  display:flex; flex-direction:column; align-items:stretch; align-self:stretch;
  gap:14px; margin:0; padding:0; position:static; transform:none;
}
.ts-candidate-login-benefits article {
  display:flex; align-items:center; gap:16px; min-width:0;
  color:#10284d; font-size:15px; line-height:1.45;
}
.ts-candidate-login-benefits article > div { min-width:0; }
.ts-candidate-login-benefits article strong { display:block; margin-bottom:3px; font-size:16px; font-weight:800; }
.ts-candidate-login-benefits article p { margin:0; color:#62768c; font-size:14px; line-height:1.5; }
.ts-login-benefit-icon {
  display:grid; place-items:center; width:56px; height:56px; flex:0 0 56px;
  border-radius:50%; color:#007a49; background:#dff7ec;
}
.ts-login-benefit-icon svg { display:block; width:28px; height:28px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.ts-candidate-login-card {
  width:100%; max-width:610px; justify-self:end; align-self:center;
  padding:42px clamp(28px,3vw,40px) 34px;
  border:1px solid #e0eee8; border-radius:30px; background:#fff;
  box-shadow:0 20px 56px rgba(0,73,48,.10); text-align:center;
}
.ts-whatsapp-mark { width:82px; height:82px; margin:0 auto 16px; border-radius:50%; background:#e0f8ec; color:#00a95a; }
.ts-whatsapp-mark svg { width:54px; height:54px; display:block; }
.ts-candidate-login-card h2 { margin:0 0 12px; font-size:30px; line-height:1.25; font-weight:800; letter-spacing:-.025em; }
.ts-login-card-intro { max-width:430px; margin:0 auto 28px; color:#62768c; font-size:16px; line-height:1.6; }
.ts-candidate-login-card form { text-align:left; }
.ts-candidate-login-card form label { display:block; margin:0 0 9px; color:#10284d; font-size:15px; font-weight:800; }
.ts-login-phone-field--intl { display:block; width:100%; min-height:60px; border:0; overflow:visible; border-radius:0; }
.ts-login-phone-field--intl .iti { display:block; width:100%; }
.ts-login-phone-field--intl .iti__tel-input {
  width:100%; min-height:60px; padding:12px 14px 12px 112px !important;
  border:1px solid #cfdbe4; border-radius:9px; background:#fff; color:#10284d;
  box-shadow:none; font:500 16px/1.4 var(--ts-font,Manrope),sans-serif;
}
.ts-login-phone-field--intl .iti__tel-input:focus { border-color:#00a95a; outline:0; box-shadow:0 0 0 3px rgba(0,200,83,.12); }
.ts-login-phone-field--intl .iti__selected-country {
  height:calc(100% - 2px); margin:1px 0 1px 1px; padding:0 12px;
  border-right:1px solid #cfdbe4; border-radius:8px 0 0 8px; background:#f8fbfa;
}
.ts-login-phone-field--intl .iti__selected-country-primary { padding-inline:0 10px; }
.ts-login-phone-field--intl .iti__selected-dial-code { color:#10284d; font-weight:800; }
.ts-login-phone-field--intl .iti__arrow { border-top-color:#526a7d; }
.iti__country-list { z-index:10020; max-width:min(360px,calc(100vw - 40px)); font-family:var(--ts-font,Manrope),sans-serif; }
.iti__search-input { font-family:var(--ts-font,Manrope),sans-serif; }
.ts-login-submit {
  display:flex; align-items:center; justify-content:center; gap:11px;
  width:100%; min-height:60px; margin-top:18px; padding:14px 18px;
  border:0; border-radius:10px; background:#00824e; color:#fff;
  font:800 16px/1.35 var(--ts-font,Manrope),sans-serif; cursor:pointer;
  transition:background .18s ease, transform .18s ease;
}
.ts-login-submit:hover { background:#006d41; transform:translateY(-1px); }
.ts-login-submit svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex:0 0 auto; }
.ts-login-submit:disabled { opacity:.65; cursor:wait; transform:none; }
.ts-login-status { margin:11px 0 0; color:#a33a28; font-size:13px; line-height:1.5; font-family:var(--ts-font,Manrope),sans-serif; }
.ts-login-status:empty { display:none; }
.ts-login-privacy { display:flex; align-items:center; justify-content:center; gap:9px; margin:22px 0 0; color:#64798c; font-size:12px; line-height:1.5; }
.ts-login-privacy svg { display:block; flex:0 0 16px; width:16px; height:16px; fill:none; stroke:#587086; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.ts-login-otp-form { text-align:center !important; }
.ts-login-otp-form .ts-login-otp-digits { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:22px 0 18px; }
.ts-login-otp-digit {
  width:100%; min-width:0; height:62px; padding:0; text-align:center;
  border:1px solid #cfdbe4; border-radius:10px; outline:0; background:#fff;
  color:#10284d; font:800 25px/1 var(--ts-font,Manrope),sans-serif;
  box-shadow:inset 0 1px 2px rgba(16,40,77,.025);
}
.ts-login-otp-digit:focus { border-color:#00a95a; box-shadow:0 0 0 3px rgba(0,200,83,.12); }
.ts-login-otp-actions { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:8px; }
.ts-login-otp-actions button { min-height:54px; border-radius:10px; padding:12px 16px; font:800 15px/1.3 var(--ts-font,Manrope),sans-serif; cursor:pointer; }
.ts-login-otp-actions .ts-login-action-primary { border:1px solid #00824e; background:#00824e; color:#fff; }
.ts-login-otp-actions .ts-login-action-primary:hover { background:#006d41; }
.ts-login-otp-actions .ts-login-action-secondary { border:1px solid #00824e; background:#fff; color:#007a49; }
.ts-login-otp-actions .ts-login-action-secondary:hover { background:#effaf5; }
.ts-login-change-number { display:inline-flex; gap:6px; align-items:center; margin-top:15px; padding:5px; border:0; background:transparent; color:#007a49; font:700 13px/1.4 var(--ts-font,Manrope),sans-serif; cursor:pointer; }
.ts-login-demo-note { margin:14px 0 0; color:#75869a; font-size:11px; line-height:1.5; }
@media(max-width:1100px) {
  .ts-candidate-login-shell { grid-template-columns:minmax(0,1fr) minmax(360px,520px); width:calc(100% - 48px); gap:34px; }
  .ts-candidate-login-copy h1 { font-size:clamp(40px,4.5vw,54px); }
  .ts-candidate-login-card { padding:34px 28px 30px; }
  .ts-candidate-login-benefits { gap:12px; }
  .ts-candidate-login-benefits article p { font-size:13px; }
}
@media(max-width:820px) {
  .ts-candidate-login-shell { grid-template-columns:minmax(0,1fr); width:calc(100% - 40px); min-height:0; padding:30px 0 42px; gap:32px; }
  .ts-candidate-login-copy { max-width:700px; }
  .ts-candidate-login-copy .ts-career-breadcrumb { margin-bottom:26px; }
  .ts-candidate-login-copy h1 { font-size:clamp(38px,7vw,52px); }
  .ts-candidate-login-description { max-width:640px; }
  .ts-candidate-login-benefits { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
  .ts-candidate-login-benefits article { align-items:flex-start; flex-direction:column; gap:10px; }
  .ts-candidate-login-benefits article p { font-size:13px; }
  .ts-candidate-login-card { justify-self:center; max-width:610px; padding:34px 30px 28px; }
}
@media(max-width:520px) {
  .ts-candidate-login-shell { width:calc(100% - 32px); padding:24px 0 32px; gap:26px; }
  .ts-candidate-login-copy .ts-career-breadcrumb { margin-bottom:24px; }
  .ts-candidate-login-copy h1 { font-size:clamp(36px,10vw,44px); }
  .ts-candidate-login-tagline { font-size:18px; }
  .ts-candidate-login-description { font-size:15px; }
  .ts-candidate-login-benefits { grid-template-columns:1fr; gap:14px; }
  .ts-candidate-login-benefits article { flex-direction:row; align-items:center; gap:13px; }
  .ts-login-benefit-icon { width:48px; height:48px; flex-basis:48px; }
  .ts-candidate-login-card { padding:28px 20px 24px; border-radius:26px; }
  .ts-candidate-login-card h2 { font-size:25px; }
  .ts-login-card-intro { font-size:14px; margin-bottom:22px; }
  .ts-login-phone-field--intl .iti__tel-input { min-height:54px; font-size:14px; padding-left:100px !important; }
  .ts-login-phone-field--intl .iti__selected-country { padding-inline:9px; }
  .ts-login-submit { min-height:54px; font-size:14px; }
  .ts-login-otp-form .ts-login-otp-digits { gap:8px; }
  .ts-login-otp-digit { height:56px; font-size:22px; }
  .ts-login-otp-actions { gap:8px; }
  .ts-login-otp-actions button { min-height:50px; padding:10px 8px; font-size:14px; }
}


/* BATCH 24 — clean, single-icon expanding header search. */
.ts-header-actions { min-width: 0; }
.ts-search-panel.ts-search-panel--inline {
  position: static;
  flex: 0 0 0;
  width: 0;
  min-width: 0;
  max-width: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 999px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: none;
  background: transparent;
  transition: width .28s ease, max-width .28s ease, flex-basis .28s ease, opacity .18s ease, padding .28s ease;
}
.ts-search-panel.ts-search-panel--inline.is-open {
  flex: 0 1 clamp(220px, 25vw, 360px);
  width: clamp(220px, 25vw, 360px);
  max-width: clamp(220px, 25vw, 360px);
  padding: 4px 6px 4px 16px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  overflow: hidden;
  border: 1px solid #d8e3e9;
  background: #fff;
  box-shadow: 0 5px 18px rgba(16,40,77,.08);
}
.ts-search-panel--inline .ts-search-form {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  margin: 0;
}
.ts-search-panel--inline .ts-search-form input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ts-navy, #10284d);
  box-shadow: none;
  font: 500 15px/1.3 var(--ts-font, Manrope), sans-serif;
}
.ts-search-panel--inline .ts-search-form input::placeholder { color: #78899b; opacity: 1; }
.ts-search-panel--inline .ts-search-form input:focus { border: 0; outline: 0; box-shadow: none; }
.ts-search-panel--inline .ts-search {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eef3f7;
  color: var(--ts-navy, #10284d);
  box-shadow: none;
  transform: none;
}
.ts-search-panel--inline .ts-search:hover,
.ts-search-panel--inline .ts-search:focus-visible {
  background: #e3f7ed;
  color: #00884d;
  box-shadow: 0 0 0 2px rgba(0,200,83,.16);
  outline: none;
}
.ts-search-panel--inline .ts-search svg { width: 24px; height: 24px; stroke: currentColor; }
.ts-header-actions > .ts-search { flex: 0 0 56px; }
.ts-header-actions .ts-btn--candidate-login { flex: 0 0 auto; }
.ts-header.ts-search-is-open { grid-template-columns: minmax(180px, 300px) minmax(0, 1fr) auto; }
.ts-header.ts-search-is-open .ts-nav { min-width: 0; gap: clamp(8px, 1.3vw, 24px); }
.ts-header.ts-search-is-open .ts-nav > a,
.ts-header.ts-search-is-open .ts-nav__dropdown { flex-shrink: 1; }
.ts-search-panel--inline .ts-search-form input:focus-visible { outline: none; }
@media (max-width: 1199px) {
  .ts-header.ts-search-is-open { grid-template-columns: minmax(160px, 230px) minmax(0, 1fr) auto; column-gap: 16px; }
  .ts-header.ts-search-is-open .ts-nav { gap: 9px; }
  .ts-search-panel.ts-search-panel--inline.is-open { flex-basis: clamp(190px, 22vw, 290px); width: clamp(190px, 22vw, 290px); max-width: clamp(190px, 22vw, 290px); }
}
@media (max-width: 767px) {
  .ts-search-panel.ts-search-panel--inline.is-open {
    position: absolute;
    top: calc(100% - 6px);
    right: 12px;
    left: 12px;
    z-index: 30;
    width: auto;
    max-width: none;
    flex: 0 0 auto;
    padding: 5px 6px 5px 14px;
    opacity: 1;
    visibility: visible;
  }
  .ts-header.ts-search-is-open { grid-template-columns: minmax(0, 1fr) auto; }
  .ts-header.ts-search-is-open .ts-nav { min-width: 0; }
}

/* The job-detail QR panel follows the supplied reference: centered QR, then actions, then help. */
.ts-career-detail-page .ts-career-apply-panel { padding: 28px 24px 24px; border-radius: 18px; background: #effaf5; border: 1px solid #dcefe7; }
.ts-career-detail-page .ts-career-apply-panel > h2 { margin: 0 0 18px; text-align: center; font-size: 26px; line-height: 1.25; font-weight: 800; }
.ts-career-detail-page .ts-career-apply-panel__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.ts-career-detail-page .ts-career-apply-panel__inner .ts-career-qr-large { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; text-align: center; color: #10284d; font-size: 0; }
.ts-career-detail-page .ts-career-apply-panel__inner .ts-career-qr-large img { display: block; width: min(100%, 240px); height: auto; aspect-ratio: 1 / 1; object-fit: contain; padding: 8px; background: #fff; border-radius: 4px; }
.ts-career-detail-page .ts-career-apply-panel__inner > div { width: 100%; text-align: center; }
.ts-career-detail-page .ts-career-apply-panel__inner h3 { display: none; }
.ts-career-detail-page .ts-career-apply-panel__inner p { margin: 0 auto 18px; max-width: 340px; color: #526a7d; font-size: 16px; line-height: 1.55; text-align: center; }
.ts-career-detail-page .ts-career-apply-panel__inner .ts-career-btn { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: center; font-size: 17px; padding: 14px 18px; }
.ts-career-detail-page .ts-career-share-below-qr { width: 100%; min-height: 54px; margin-top: 12px; justify-content: center; font-size: 17px; border-radius: 10px; }
.ts-career-detail-page .ts-career-apply-panel > .ts-career-help { margin-top: 24px; padding-top: 20px; border-top: 1px solid #dcefe7; display: flex; align-items: flex-start; gap: 12px; color: #087b4b; font-size: 22px; }
.ts-career-detail-page .ts-career-help span { color: #526a7d; text-align: left; font-size: 15px; line-height: 1.6; }
.ts-career-detail-page .ts-career-help strong { display: inline-block; margin-bottom: 4px; color: #10284d; font-size: 20px; }
.ts-career-detail-page .ts-career-help a { color: #526a7d; overflow-wrap: anywhere; }

/* Three-platform share modal; no other social platforms are rendered. */
.ts-job-share-modal { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 20px; background: rgba(7, 25, 43, .62); }
.ts-job-share-modal[hidden] { display: none !important; }
.ts-job-share-dialog { position: relative; width: min(100%, 460px); padding: 30px; border: 1px solid #e2eee8; border-radius: 22px; background: #fff; color: #10284d; box-shadow: 0 24px 80px rgba(0,0,0,.28); }
.ts-job-share-dialog h2 { margin: 0 36px 8px 0; font-size: 25px; font-weight: 800; }
.ts-job-share-dialog p { margin: 0 0 20px; color: #61758a; font-size: 14px; line-height: 1.5; }
.ts-job-share-close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #eef3f7; color: #10284d; font-size: 25px; cursor: pointer; }
.ts-job-share-options { display: grid; gap: 10px; }
.ts-job-share-option { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 12px 15px; border: 1px solid #e0e8ee; border-radius: 12px; background: #fff; color: #10284d; text-align: left; font-size: 16px; font-weight: 700; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.ts-job-share-option:hover, .ts-job-share-option:focus-visible { border-color: #00a95a; background: #f2fbf6; transform: translateY(-1px); outline: none; }
.ts-job-share-option svg { display: block; width: 36px; height: 36px; flex: 0 0 36px; }
.ts-job-share-status { min-height: 20px; margin: 14px 0 0 !important; color: #087b4b !important; font-size: 13px !important; }
@media (max-width: 1199px) {
  .ts-header.ts-search-is-open { grid-template-columns: minmax(160px, 230px) minmax(0, 1fr) auto; column-gap: 16px; }
  .ts-header.ts-search-is-open .ts-nav { gap: 9px; }
  .ts-search-panel.ts-search-panel--inline.is-open { flex-basis: clamp(190px, 22vw, 290px); width: clamp(190px, 22vw, 290px); max-width: clamp(190px, 22vw, 290px); }
}
@media (max-width: 767px) {
  .ts-search-panel.ts-search-panel--inline.is-open { position: absolute; top: calc(100% - 6px); right: 12px; left: 12px; z-index: 30; width: auto; max-width: none; flex-basis: auto; padding: 8px; opacity: 1; visibility: visible; }
  .ts-header.ts-search-is-open { grid-template-columns: minmax(0, 1fr) auto; }
  .ts-header.ts-search-is-open .ts-nav { min-width: 0; }
  .ts-career-detail-page .ts-career-apply-panel { padding: 24px 18px 20px; }
  .ts-job-share-dialog { padding: 26px 20px 22px; }
}


/* Batch 25: Contact Us page body only. Shared header and footer remain unchanged. Edited by Shashank */
.ts-contact-page { background: #fff; }
.ts-contact-hero { position: relative; min-height: 330px; display: flex; align-items: center; overflow: hidden; isolation: isolate; background: #10284d url('../images/hero-refinery.png') center 48% / cover no-repeat; }
.ts-contact-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 25, 58, .98) 0%, rgba(5, 25, 58, .91) 30%, rgba(5, 25, 58, .46) 54%, rgba(5, 25, 58, .03) 100%); }
.ts-contact-hero__inner { width: min(100% - 48px, 1120px); margin-inline: auto; padding: 48px 0 46px; color: #fff; }
.ts-contact-eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .2em; }
.ts-contact-eyebrow::after { content: ""; width: 38px; height: 3px; background: #00c853; }
.ts-contact-hero h1 { max-width: 520px; margin: 0 0 12px; color: #fff; font-size: clamp(42px, 5vw, 66px); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; }
.ts-contact-hero h1 span { color: #00c853; }
.ts-contact-hero p { max-width: 470px; margin: 0; color: rgba(255,255,255,.92); font-size: 17px; line-height: 1.55; }
.ts-contact-main { padding: 28px 0 76px; }
.ts-contact-container { width: min(100% - 48px, 1120px); margin-inline: auto; }
.ts-contact-breadcrumb { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: #526a7d; font-size: 13px; }
.ts-contact-breadcrumb a { color: #10284d; text-decoration: none; }
.ts-contact-breadcrumb a:hover { color: #00834c; }
.ts-contact-breadcrumb [aria-current="page"] { color: #00834c; }
.ts-contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .92fr); align-items: start; gap: 22px; }
.ts-contact-intro { margin: 0 0 30px; }
.ts-contact-intro h2 { margin: 0 0 8px; color: #10284d; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.12; font-weight: 800; letter-spacing: -.025em; }
.ts-contact-intro p { max-width: 650px; margin: 0; color: #7185a9; font-size: 16px; line-height: 1.55; }
.ts-contact-form-card { padding: 28px; border: 1px solid #e0e8f2; border-radius: 12px; background: #fff; box-shadow: 0 8px 26px rgba(16,40,77,.035); }
.ts-contact-form-card h3 { margin: 0 0 8px; color: #10284d; font-size: 25px; font-weight: 800; }
.ts-contact-form-card h3::after { content: ""; display: block; width: 34px; height: 3px; margin-top: 10px; background: #00c853; }
.ts-contact-form { margin-top: 18px; }
.ts-contact-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.ts-contact-field { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.ts-contact-field--full { grid-column: 1 / -1; }
.ts-contact-field label { color: #10284d; font-size: 13px; font-weight: 700; }
.ts-contact-field input, .ts-contact-field select, .ts-contact-field textarea { width: 100%; min-height: 46px; padding: 12px 14px; border: 1px solid #dce5f2; border-radius: 8px; outline: none; background: #fff; color: #10284d; font: inherit; font-size: 14px; transition: border-color .18s ease, box-shadow .18s ease; }
.ts-contact-field input::placeholder, .ts-contact-field textarea::placeholder { color: #9aabc7; }
.ts-contact-field input:focus, .ts-contact-field select:focus, .ts-contact-field textarea:focus { border-color: #00a95a; box-shadow: 0 0 0 3px rgba(0,200,83,.12); }
.ts-contact-field textarea { min-height: 126px; resize: vertical; }
.ts-contact-submit { display: inline-flex; min-width: 190px; min-height: 52px; align-items: center; justify-content: center; gap: 12px; margin-top: 22px; padding: 14px 22px; border: 0; border-radius: 10px; background: #00834c; color: #fff; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.ts-contact-submit:hover { background: #006f40; }
.ts-contact-side { display: grid; gap: 18px; }
.ts-contact-office-card, .ts-contact-map-card { padding: 25px; border-radius: 10px; }
.ts-contact-office-card { background: linear-gradient(135deg, #f0faf5, #f7fcf9); }
.ts-contact-map-card { background: #f4f7fc; }
.ts-contact-side h2 { margin: 0 0 20px; color: #10284d; font-size: 24px; line-height: 1.2; font-weight: 800; }
.ts-contact-side h2::before { content: ""; display: block; width: 32px; height: 3px; margin-bottom: 12px; background: #00c853; }
.ts-contact-details { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.ts-contact-details li { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: start; gap: 13px; color: #10284d; font-size: 14px; line-height: 1.55; }
.ts-contact-details svg { width: 24px; height: 24px; color: #075a42; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ts-contact-details a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.ts-contact-details a:hover { color: #00834c; }
.ts-contact-hours { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 13px; margin-top: 22px; padding-top: 20px; border-top: 1px solid #cfe9dc; color: #526a7d; font-size: 14px; line-height: 1.65; }
.ts-contact-hours svg { width: 25px; height: 25px; color: #075a42; stroke: currentColor; fill: none; stroke-width: 2; }
.ts-contact-hours strong { display: inline-block; margin-bottom: 3px; color: #10284d; }
.ts-contact-map-frame { height: 270px; overflow: hidden; border-radius: 8px; background: #e6edf4; }
.ts-contact-map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.ts-contact-form-note { margin: 12px 0 0; color: #64788d; font-size: 12px; line-height: 1.5; }
.ts-job-share-option[data-share-platform="copy"] svg { width: 36px; height: 36px; }
@media (max-width: 900px) {
  .ts-contact-grid { grid-template-columns: minmax(0, 1fr); }
  .ts-contact-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  .ts-contact-map-frame { height: 100%; min-height: 300px; }
}
@media (max-width: 600px) {
  .ts-contact-hero { min-height: 300px; }
  .ts-contact-hero::before { background: linear-gradient(90deg, rgba(5,25,58,.96), rgba(5,25,58,.68)); }
  .ts-contact-hero__inner, .ts-contact-container { width: min(100% - 32px, 1120px); }
  .ts-contact-hero__inner { padding: 38px 0; }
  .ts-contact-hero h1 { font-size: 44px; }
  .ts-contact-hero p { font-size: 15px; }
  .ts-contact-main { padding: 24px 0 52px; }
  .ts-contact-form-card, .ts-contact-office-card, .ts-contact-map-card { padding: 21px 18px; }
  .ts-contact-form-grid, .ts-contact-side { grid-template-columns: minmax(0,1fr); }
  .ts-contact-field--full { grid-column: auto; }
  .ts-contact-map-frame { height: 260px; min-height: 0; }
}

/* =========================================================
   RESPONSIVE COMPLETION — Batch 26, modified by Mumtaz
   Responsive-only overrides. Existing desktop styles and content
   remain unchanged; no page or shared JS is rewritten.
   ========================================================= */
@media (max-width: 991px) {
  :root { --ts-gutter: 24px; }
  .ts-container { width: min(var(--ts-content), calc(100% - 48px)); }
  .ts-about__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ts-project__panel { min-width: 0; padding-inline: 28px; }
  .ts-footer-shell { min-width: 0; }
  .ts-footer-column { padding-inline: 20px; }
}

@media (max-width: 767px) {
  :root { --ts-gutter: 16px; }
  html, body { max-width: 100%; }
  .ts-container { width: min(var(--ts-content), calc(100% - 32px)); }
  img, svg, video, canvas, iframe { max-width: 100%; }
  input, select, textarea, button { max-width: 100%; }
  .ts-container > *, .ts-about__grid > *, .ts-services__grid > *,
  .ts-footer-shell > *, .ts-footer-bottom-shell > * { min-width: 0; }

  /* Shared header: keep every navigation destination available on mobile. */
  .ts-header,
  .ts-header.is-sticky,
  .ts-header.ts-header--inner-page {
    width: 100%; height: auto; min-height: 0; padding: 14px 0;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto; column-gap: 10px; row-gap: 12px;
    border-radius: 0;
  }
  .ts-header.is-sticky { padding-inline: 16px !important; }
  .ts-brand, .ts-header.is-sticky .ts-brand { width: min(155px, 38vw); min-width: 0; }
  .ts-header-actions, .ts-header.is-sticky .ts-header-actions {
    grid-column: 2; grid-row: 1; min-width: 0; gap: 8px; justify-content: flex-end;
  }
  .ts-search, .ts-header.is-sticky .ts-search { width: 40px; height: 40px; flex: 0 0 40px; }
  .ts-search svg { width: 21px; height: 21px; }
  .ts-btn--header, .ts-header.is-sticky .ts-btn--header {
    min-width: 0; max-width: 48vw; height: 40px; padding: 0 10px;
    gap: 6px; font-size: 11px; white-space: normal; line-height: 1.1;
  }
  .ts-header .ts-nav,
  .ts-header.is-sticky .ts-nav {
    display: flex !important; grid-column: 1 / -1; grid-row: 2;
    min-width: 0; width: 100%; flex-wrap: wrap; justify-content: flex-start;
    align-items: center; gap: 2px 14px; overflow: visible; white-space: normal;
  }
  .ts-header .ts-nav > a,
  .ts-header .ts-nav .ts-nav__link,
  .ts-header .ts-nav .ts-nav__trigger,
  .ts-header.is-sticky .ts-nav > a,
  .ts-header.is-sticky .ts-nav .ts-nav__link,
  .ts-header.is-sticky .ts-nav .ts-nav__trigger {
    min-height: 32px; padding: 8px 0; font-size: 12px !important; line-height: 1.2;
  }
  .ts-header .ts-nav__dropdown { display: inline-flex; align-items: center; max-width: 100%; }
  .ts-header .ts-nav__trigger { gap: 4px; }
  .ts-header .ts-nav__trigger svg { width: 12px; height: 12px; flex-basis: 12px; }
  .ts-mega { max-height: calc(100dvh - 110px); overflow-y: auto; }
  .ts-search-panel.ts-search-panel--inline.is-open {
    position: absolute; top: calc(100% - 6px); left: 8px; right: 8px;
    width: auto; max-width: none; flex-basis: auto; z-index: 100001;
  }

  /* Homepage hero and statistics. */
  .ts-hero { height: auto; min-height: 0; overflow: hidden; }
  .ts-hero__shade { background: linear-gradient(90deg, rgba(2,25,42,.92), rgba(2,25,42,.62)); }
  .ts-hero__content { height: auto; min-height: 0; display: flex; flex-direction: column; gap: 22px; padding: 20px 0 34px; }
  .ts-hero__copy { position: relative; inset: auto; width: 100%; max-width: 100%; }
  .ts-kicker { gap: 12px; margin-bottom: 14px; font-size: 12px; letter-spacing: 1.5px; }
  .ts-kicker span { width: 32px; flex: 0 0 32px; }
  .ts-hero h1 { font-size: clamp(34px, 9vw, 44px); line-height: 1.08; letter-spacing: -1px; overflow-wrap: anywhere; }
  .ts-hero__copy > p { margin: 16px 0 22px; font-size: 16px; line-height: 1.5; }
  .ts-hero__actions { flex-wrap: wrap; gap: 12px; }
  .ts-btn--primary { min-width: 0; min-height: 48px; height: auto; padding: 14px 18px; gap: 12px; font-size: 14px; }
  .ts-video { gap: 9px; font-size: 13px; }
  .ts-video__circle { width: 42px; height: 42px; flex: 0 0 42px; }
  .ts-hero__sidewords { position: static; width: 100%; padding: 0; border: 0; flex-direction: row; flex-wrap: wrap; gap: 10px 14px; font-size: 11px; line-height: 1.3; letter-spacing: .7px; }
  .ts-trusted { position: static; margin-top: 0; font-size: 15px; }
  .ts-scroll { display: none; }
  .ts-stats { height: auto; }
  .ts-stats__grid { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ts-stat { min-width: 0; justify-content: flex-start; gap: 10px; padding: 18px 8px; }
  .ts-stat + .ts-stat::before { top: 12px; bottom: 12px; }
  .ts-stat img { width: 36px; height: 36px; flex-basis: 36px; }
  .ts-stat strong, .ts-stat:last-child strong { font-size: clamp(17px, 5vw, 22px); }
  .ts-stat span { font-size: 11px; line-height: 1.3; }

  /* Homepage content sections. */
  .ts-about { min-height: 0; padding: 48px 0; }
  .ts-about__grid { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ts-section-kicker { gap: 12px; margin-bottom: 16px; font-size: 12px; letter-spacing: 1.5px; }
  .ts-section-kicker span { width: 34px; flex: 0 0 34px; }
  .ts-about h2, .ts-services h2 { font-size: clamp(29px, 7.8vw, 36px); line-height: 1.14; letter-spacing: -.7px; }
  .ts-about__copy > p { margin: 16px 0 22px; font-size: 15px; line-height: 1.5; }
  .ts-about__button, .ts-services__button { min-width: 0; width: auto; max-width: 100%; height: auto; min-height: 48px; padding: 13px 17px; gap: 12px; font-size: 14px; }
  .ts-about__image-wrap { width: 100%; height: auto; aspect-ratio: 4 / 3; transform: none; }
  .ts-about__values { height: auto; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ts-value { min-height: 0; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 12px 0 12px 12px; }
  .ts-value__icon { width: 46px; height: 46px; }
  .ts-value__icon img { width: 34px; height: 34px; }
  .ts-value h3 { font-size: 17px; }
  .ts-value p { font-size: 13px; line-height: 1.45; }
  .ts-services { min-height: 0; padding: 48px 0; }
  .ts-services__grid { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .ts-services__intro { min-width: 0; padding: 0; margin: 0; }
  .ts-services__intro > p { margin: 16px 0 20px; font-size: 15px; line-height: 1.5; }
  .ts-services__cards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ts-service-card { height: auto; min-height: 0; }
  .ts-service-card__image { height: auto; aspect-ratio: 16 / 9; }
  .ts-service-card__body { min-height: 0; padding: 0 18px 54px; }
  .ts-service-card__icon { width: 52px; height: 52px; }
  .ts-service-card__icon img { width: 38px; height: 38px; }
  .ts-service-card h3 { font-size: 20px; line-height: 1.2; }
  .ts-service-card p { font-size: 14px; line-height: 1.5; }
  .ts-service-card__arrow { left: 18px; bottom: 14px; }

  .ts-project { min-height: 0; padding-top: 26px; }
  .ts-project::after { background: linear-gradient(90deg, rgba(241,250,252,.96), rgba(241,250,252,.84)); }
  .ts-project__left { width: auto; margin: 0 var(--ts-gutter); padding: 0 0 24px; }
  .ts-project h2 { font-size: clamp(28px, 7vw, 36px); letter-spacing: -.8px; }
  .ts-project__left > p { font-size: 14px; line-height: 1.5; }
  .ts-project__button { min-width: 0; max-width: 100%; height: auto; min-height: 46px; padding: 12px 16px; gap: 12px; }
  .ts-project__panel { position: relative; inset: auto; width: 100%; min-width: 0; height: auto; padding: 24px var(--ts-gutter); }
  .ts-project__panel h3 { font-size: 26px; }
  .ts-project__panel p { font-size: 14px; }
  .ts-leadership { min-height: 0; }
  .ts-leadership__inner { min-height: 0; grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 20px; }
  .ts-ceo-media { height: 175px; overflow: hidden; }
  .ts-ceo-media img { left: 50%; width: 210px; height: 190px; transform: translateX(-50%); }
  .ts-ceo-leaf--one { width: 270px; height: 95px; left: 0; }
  .ts-ceo-leaf--two { width: 250px; height: 85px; left: 50px; }
  .ts-leadership__copy { padding: 16px 0 24px; }
  .ts-leadership__copy .ts-section-kicker { font-size: 11px; }
  .ts-leadership__copy h2 { font-size: 25px; }
  .ts-quote p { font-size: 13px; line-height: 1.5; }
  .ts-quote__mark { font-size: 38px; }
  .ts-ceo-name, .ts-ceo-title { margin-left: 30px; }
  .ts-partners { min-height: 0; }
  .ts-partners__inner { padding-block: 18px; }
  .ts-partner-slider { gap: 6px; }
  .ts-partner-control { width: 34px; height: 34px; flex-basis: 34px; }
  .ts-partner-cell { width: 132px; flex-basis: 132px; height: 56px; }
  .ts-partner-cell img { width: 112px; height: 48px; }

  .ts-cta { min-height: 0; }
  .ts-cta__inner { min-height: 0; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 34px; }
  .ts-cta__copy { padding: 0; }
  .ts-cta__kicker { font-size: 12px; letter-spacing: 1.5px; gap: 12px; }
  .ts-cta__kicker span { width: 32px; }
  .ts-cta h2, .ts-insights h2 { font-size: clamp(28px, 7vw, 36px); letter-spacing: -.7px; }
  .ts-cta__copy > p { font-size: 15px; line-height: 1.5; }
  .ts-cta__actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .ts-cta__primary, .ts-cta__secondary { width: 100%; min-width: 0; height: auto; min-height: 48px; padding: 12px 16px; justify-content: center; font-size: 14px; }
  .ts-cta__benefits { margin: 0; padding: 18px 0 0; border-left: 0; border-top: 1px solid rgba(16,219,127,.85); display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ts-cta__benefits article { gap: 12px; min-height: 40px; font-size: 14px; }
  .ts-cta__benefit-icon { width: 38px; height: 38px; flex-basis: 38px; }
  .ts-insights { min-height: 0; padding-block: 30px; }
  .ts-insights__inner { padding-block: 0; }
  .ts-insights__top { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 18px; }
  .ts-insights__kicker { font-size: 12px; letter-spacing: 1.5px; gap: 12px; }
  .ts-insights__kicker span { width: 32px; }
  .ts-insights__view-all { font-size: 15px; gap: 8px; }
  .ts-insights__cards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ts-insight-card__image { height: auto; aspect-ratio: 16 / 9; }
  .ts-insight-card__body { min-height: 0; padding: 14px 16px 18px; }
  .ts-insight-card time { font-size: 12px; }
  .ts-insight-card h3 { font-size: 17px; }
  .ts-insight-card a { font-size: 15px; }

  /* Footer stacks into readable, full-width groups. */
  .ts-footer-main { height: auto; min-height: 0; }
  .ts-footer-shell { height: auto; min-height: 0; padding-top: 38px; padding-bottom: 30px; grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .ts-footer-brand, .ts-footer-column, .ts-footer-signature { min-height: 0; padding: 0 0 22px; border-right: 0; border-bottom: 1px solid rgba(37,217,135,.35); }
  .ts-footer-logo { width: min(280px, 100%); }
  .ts-footer-brand h2, .ts-footer-column h3 { font-size: 18px; }
  .ts-footer-brand p, .ts-footer-column a, .ts-footer-contact li { font-size: 14px; }
  .ts-footer-column { padding-inline: 0; }
  .ts-footer-socials { flex-wrap: wrap; gap: 10px; }
  .ts-footer-socials a, .ts-footer-socials a img { width: 42px; height: 42px; }
  .ts-footer-signature { height: 180px; min-height: 180px; border-bottom: 0; overflow: hidden; }
  .ts-footer-watermark { width: 250px; max-width: 70vw; right: -35px; top: -15px; }
  .ts-footer-tagline { left: 0; bottom: 18px; font-size: 12px; letter-spacing: 1.5px; }
  .ts-footer-signature-rule { left: 0; }
  .ts-footer-bottom { height: auto; min-height: 0; padding: 0 0 24px; }
  .ts-footer-bottom-shell { height: auto; padding-top: 22px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .ts-footer-bottom p, .ts-footer-bottom nav { font-size: 12px; }
  .ts-footer-bottom nav { flex-wrap: wrap; gap: 8px 12px; }

  /* Prevent long text, form controls and dialogs from widening mobile layouts. */
  .ts-job-share-modal { padding: 12px; }
  .ts-job-share-dialog { width: 100%; max-width: 460px; max-height: calc(100dvh - 24px); overflow-y: auto; padding: 24px 18px 20px; }
  .ts-job-share-dialog h2 { font-size: 22px; }
  .ts-contact-hero h1, .ts-blog-hero h1, .ts-careers-hero h1, .ts-career-detail-hero h1 { overflow-wrap: anywhere; }
  .ts-contact-form-card, .ts-contact-office-card, .ts-contact-map-card { min-width: 0; }
  .ts-candidate-login-card, .ts-candidate-login-copy { min-width: 0; }
  .ts-candidate-login-shell { width: calc(100% - 32px); }
}

@media (min-width: 576px) and (max-width: 767px) {
  .ts-services__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ts-service-card__image { aspect-ratio: 4 / 3; }
  .ts-footer-shell { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .ts-footer-brand, .ts-footer-signature { grid-column: 1 / -1; }
}

@media (max-width: 380px) {
  .ts-header, .ts-header.is-sticky { column-gap: 6px; }
  .ts-brand, .ts-header.is-sticky .ts-brand { width: min(128px, 36vw); }
  .ts-header-actions, .ts-header.is-sticky .ts-header-actions { gap: 5px; }
  .ts-btn--header, .ts-header.is-sticky .ts-btn--header { max-width: 43vw; padding-inline: 7px; font-size: 10px; }
  .ts-header .ts-nav { column-gap: 10px; }
  .ts-stat { padding-inline: 4px; gap: 7px; }
  .ts-stat img { width: 30px; height: 30px; flex-basis: 30px; }
  .ts-stat span { font-size: 10px; }
}

/* Responsive completion: intermediate desktop widths (1200–1599px). */
@media (min-width: 1200px) and (max-width: 1599px) {
  :root { --ts-gutter: clamp(32px, 4vw, 64px); }
  .ts-container { width: min(var(--ts-content), calc(100% - (2 * var(--ts-gutter)))); }
  .ts-header { grid-template-columns: minmax(190px, 240px) minmax(0, 1fr) auto; column-gap: 16px; }
  .ts-brand { width: min(220px, 100%); }
  .ts-nav { gap: clamp(8px, .8vw, 14px); }
  .ts-nav > a, .ts-nav .ts-nav__link, .ts-nav .ts-nav__trigger { font-size: clamp(12px, .9vw, 14px); }
  .ts-nav__trigger { gap: 4px; }
  .ts-header-actions { gap: 10px; }
  .ts-search { width: 48px; height: 48px; flex: 0 0 48px; }
  .ts-btn--header { min-width: 170px; height: 48px; padding-inline: 16px; gap: 10px; font-size: 13px; }
  .ts-header.ts-search-is-open { grid-template-columns: minmax(170px, 230px) minmax(0, 1fr) auto; column-gap: 12px; }
  .ts-header.ts-search-is-open .ts-nav { gap: 8px; }
  .ts-search-panel.ts-search-panel--inline.is-open { flex-basis: clamp(190px, 18vw, 260px); width: clamp(190px, 18vw, 260px); max-width: clamp(190px, 18vw, 260px); }

  .ts-about { min-height: 0; padding-block: 60px; }
  .ts-about__grid { min-height: 0; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 24px; }
  .ts-about__image-wrap { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .ts-about__values { grid-column: 1 / -1; height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; }
  .ts-value { min-width: 0; grid-template-columns: 76px minmax(0, 1fr); column-gap: 14px; padding-left: 16px; }
  .ts-value__icon { width: 68px; height: 68px; }
  .ts-value__icon img { width: 52px; height: 52px; }
  .ts-value h3 { font-size: 21px; }
  .ts-value p { font-size: 16px; }

  .ts-services { min-height: 0; padding-block: 56px; }
  .ts-services__grid { min-height: 0; grid-template-columns: minmax(360px, .8fr) minmax(0, 1.2fr); column-gap: 22px; }
  .ts-services__cards { gap: 12px; }
  .ts-service-card { height: 500px; }
  .ts-service-card__image { height: 230px; }
  .ts-service-card__body { min-height: 270px; padding-inline: 14px; }
  .ts-service-card h3 { font-size: 19px; line-height: 1.16; }
  .ts-service-card p { font-size: 13px; line-height: 1.45; }
  .ts-service-card__arrow { left: 14px; }

  .ts-footer-main { height: auto; min-height: 520px; }
  .ts-footer-shell { height: auto; min-height: 520px; padding-top: 110px; padding-bottom: 42px; grid-template-columns: minmax(0, 1.32fr) minmax(0, .8fr) minmax(0, 1.08fr) minmax(0, 1.11fr) minmax(0, 1fr) minmax(0, 1fr); }
  .ts-footer-brand, .ts-footer-column, .ts-footer-signature { min-width: 0; min-height: 300px; }
  .ts-footer-brand { padding-right: 20px; }
  .ts-footer-column { padding-left: 16px; padding-right: 12px; }
  .ts-footer-logo { width: min(300px, 100%); }
  .ts-footer-brand h2, .ts-footer-column h3 { font-size: 18px; }
  .ts-footer-brand p, .ts-footer-column a, .ts-footer-contact li { font-size: 13px; }
  .ts-footer-socials { flex-wrap: wrap; gap: 7px; }
  .ts-footer-socials a, .ts-footer-socials a img { width: 42px; height: 42px; }
  .ts-footer-watermark { width: 310px; right: -70px; }
  .ts-footer-tagline { left: 18px; font-size: 13px; letter-spacing: 1.8px; }
  .ts-footer-signature-rule { left: 18px; }
  .ts-footer-bottom { height: auto; min-height: 100px; }
  .ts-footer-bottom-shell { min-height: 100px; height: auto; padding-block: 26px; gap: 18px; }
}

/* Keep the full-size footer grid within the approved wide-desktop content width. */
@media (min-width: 1600px) {
  .ts-footer-shell { grid-template-columns: minmax(0, 1.32fr) minmax(0, .8fr) minmax(0, 1.08fr) minmax(0, 1.11fr) minmax(0, 1fr) minmax(0, 1fr); }
  .ts-footer-shell > * { min-width: 0; }
  .ts-footer-socials { flex-wrap: wrap; gap: 10px; }
}
