/* =============================================
   RESET & ROOT
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy:       #0B1E3D;
  --navy-deep:  #071225;
  --navy-mid:   #0D2447;
  --blue:       #1B4FBE;
  --blue-light: #2A5FD4;
  --steel:      #7BA3E0;
  --silver:     #A8B8CC;
  --off-white:  #F5F6F8;
  --white:      #FFFFFF;
  /* ── Text colours — darkened for WCAG AA on all light backgrounds ── */
  --text-dark:  #111827;   /* near-black; replaces navy for body text on white */
  --text-muted: #374151;   /* dark charcoal-grey; was #5A6A7E which failed contrast */
  --text-faint: #6B7280;   /* medium grey; was #8FA0B8 which was too blue & light */
  --border:     rgba(100,120,150,0.14);
  /* Grey scale */
  --grey-50:    #F9FAFB;
  --grey-100:   #F3F4F6;
  --grey-200:   #E5E7EB;
  --grey-400:   #9CA3AF;
  --grey-600:   #4B5563;
  --charcoal:   #2E3440;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Barlow', sans-serif;
  --font-cond:    'Barlow Condensed', sans-serif;
}
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-body); background: var(--white); color: var(--text-dark); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes lineGrow {
  from { width: 0; } to { width: 40px; }
}

/* Hero background slow ambient drift
   REPLACED [ v1.2.4 ]: was animating background-position (not GPU-composited,
   triggered a full repaint every frame → contributed to CLS + TBT).
   Now animates transform: scale + translate on the ::before pseudo-element.
   transform is handled entirely on the compositor thread — zero layout or
   paint cost regardless of frame rate.
   The inset:-4% overflow gives the image room to drift without showing
   the section background behind the edges. */
@keyframes heroDrift {
  0%,100% { transform: scale(1.06) translate(0%, 0%); }
  33%      { transform: scale(1.06) translate(1.5%, -2.5%); }
  66%      { transform: scale(1.06) translate(-1.5%, 2.5%); }
}

/* Honour user preference for reduced motion (accessibility + performance) */
@media (prefers-reduced-motion: reduce) {
  @keyframes heroDrift {
    0%,100% { transform: scale(1.06) translate(0%, 0%); }
  }
}

/* Parallax sweep — a soft light band slides across the image */
@keyframes sweepAcross {
  0%   { transform: translateX(-120%) skewX(-12deg); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translateX(220%) skewX(-12deg); opacity: 0; }
}

/* Button shimmer on hover */
@keyframes btnShimmer {
  from { left: -80%; }
  to   { left: 120%; }
}

/* Play button pulsing ring */
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(27,79,190,0.55), 0 8px 40px rgba(0,0,0,0.45); }
  60%  { box-shadow: 0 0 0 22px rgba(27,79,190,0), 0 8px 40px rgba(0,0,0,0.45); }
  100% { box-shadow: 0 0 0 0 rgba(27,79,190,0), 0 8px 40px rgba(0,0,0,0.45); }
}

/* Floating bob — used on decorative elements */
@keyframes floatBob {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

/* Stats counter pop-in */
@keyframes statPop {
  from { opacity: 0; transform: translateY(14px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Eyebrow line draw */
@keyframes lineGrowFull {
  from { width: 0; opacity: 0; }
  to   { width: 32px; opacity: 1; }
}

.anim-1 { animation: fadeUp 0.75s ease both; }
.anim-2 { animation: fadeUp 0.75s 0.15s ease both; }
.anim-3 { animation: fadeUp 0.75s 0.30s ease both; }
.anim-4 { animation: fadeUp 0.75s 0.45s ease both; }
.anim-5 { animation: fadeUp 0.75s 0.60s ease both; }


/* =============================================
   UTILITIES
   ============================================= */
.eyebrow {
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--blue);
  animation: lineGrow 0.6s ease both;
}
.eyebrow-light { color: var(--steel); }
.eyebrow-light::before { background: var(--steel); }

.h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.h2-light { color: var(--white); }
.body-text { font-size: 15px; line-height: 1.8; color: var(--text-muted); font-weight: 400; }
.body-light { color: rgba(255,255,255,0.88); }

.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid var(--blue);
  border-radius: 2px;
  transition: background 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,79,190,0.35);
}
.btn-primary:hover::after { animation: btnShimmer 0.55s ease forwards; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--silver);
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid rgba(168,184,204,0.4);
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--silver); color: var(--white); }

.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--blue);
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid var(--white);
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
.btn-white:hover { background: var(--off-white); }

.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: 2px;
  transition: border-color 0.2s;
}
.btn-outline-white:hover { border-color: rgba(255,255,255,0.85); }

.section { padding: 110px 60px; }
.section-white   { background: var(--white); }
.section-light   { background: var(--grey-50); }            /* #F9FAFB — barely-off-white */
.section-grey    { background: var(--white); border-top: 1px solid var(--grey-200); border-bottom: 1px solid var(--grey-200); }
.section-grey-mid { background: var(--grey-100); }          /* #F3F4F6 */
.section-dark    { background: var(--navy); }
.section-deep    { background: var(--navy-mid); }
.section-deepest { background: var(--navy-deep); }
.container { max-width: 1200px; margin: 0 auto; }
.sec-header { max-width: 540px; }
.btns-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(11,30,61,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27,79,190,0.25);
  height: 84px;
  display: flex;
  align-items: center;
  padding: 0 60px;
}
.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-img {
  height: 68px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-logo-text { line-height: 1; }
.nav-logo-name {
  font-family: var(--font-cond);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--white);
  display: block;
}
.nav-logo-sub {
  font-family: var(--font-cond);
  font-size: 8.5px;
  letter-spacing: 3px;
  color: var(--steel);
  display: block;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--silver);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--blue);
  color: var(--white);
  padding: 10px 20px;
  border: none;
  border-radius: 2px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--blue-light); }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(to bottom, rgba(7,18,37,0.60) 0%, rgba(11,30,61,0.35) 45%, rgba(7,18,37,0.82) 100%)
    var(--navy-deep);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 140px 60px 100px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  right: -100px;
  top: 10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,79,190,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 1200px; margin: 0 auto; width: 100%; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 24px;
}
.hero-tag::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--blue);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 70px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  max-width: 780px;
  margin-bottom: 24px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5), 0 1px 4px rgba(0,0,0,0.3);
}
.hero h1 em {
  font-style: italic;
  color: var(--steel);
}
.hero-sub {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.93);
  max-width: 520px;
  font-weight: 400;
  margin-bottom: 40px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6), 0 2px 4px rgba(0,0,0,0.4);
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cond);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(168,184,204,0.5);
}
.hero-scroll-line {
  width: 40px;
  height: 1px;
  background: rgba(168,184,204,0.3);
}

/* =============================================
   RESPONSIVE INLINE GRIDS
   ============================================= */
.grid-credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
@media (max-width: 1024px) {
  .grid-contact { gap: 48px; }
}
@media (max-width: 768px) {
  .grid-credentials { grid-template-columns: 1fr; }
  .grid-contact { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 580px) {
  .grid-credentials { grid-template-columns: 1fr; }
}

/* =============================================
   SKIP TO CONTENT
   ============================================= */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 10px 18px;
  border-radius: 2px;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* =============================================
   HAMBURGER / MOBILE MENU
   ============================================= */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--silver);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s, width 0.25s;
  transform-origin: center;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; width: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 768px) {
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: var(--charcoal);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 3px solid var(--blue);
}
.stat-item {
  text-align: center;
  padding: 26px 16px;
  border-right: 1px solid rgba(255,255,255,0.07);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: block;
}
.stat-label {
  font-family: var(--font-cond);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 5px;
  display: block;
}

/* =============================================
   WHO WE ARE
   ============================================= */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.who-content { }
.who-body { margin-top: 8px; }
.who-body p + p { margin-top: 16px; }
.who-img-wrap {
  position: relative;
  overflow: hidden;
}
.who-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}
.who-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,30,61,0.7) 0%, transparent 60%);
  border-radius: 3px;
}
.who-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 62px;
  height: 62px;
  border: 2px solid rgba(123,163,224,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
.who-play:hover { border-color: var(--white); transform: translate(-50%,-50%) scale(1.08); }
.who-play-arrow {
  width: 0; height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 18px solid rgba(123,163,224,0.8);
  margin-left: 4px;
}
.who-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-cond);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 1px;
}
.who-accent {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(27,79,190,0.3);
  border-radius: 2px;
}
.sec-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 22px;
  transition: gap 0.2s;
}
.sec-link:hover { gap: 12px; }
.sec-link-light { color: var(--steel); }

/* =============================================
   SERVICES
   ============================================= */
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; flex-wrap: wrap; gap: 16px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-top: 3px solid var(--blue);
  border-radius: 3px;
  padding: 28px 24px;
  transition: transform 0.35s cubic-bezier(0.34,1.4,0.64,1), box-shadow 0.3s ease, border-top-color 0.3s;
}
.svc-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 24px 52px rgba(11,30,61,0.13);
  border-top-color: var(--blue-light);
}
.svc-icon {
  width: 44px;
  height: 44px;
  background: #EBF1FB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.svc-icon svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-title {
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.svc-desc { font-size: 13px; line-height: 1.7; color: var(--text-muted); }

/* =============================================
   INDUSTRIES
   ============================================= */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.ind-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-left: 3px solid var(--blue);
  border-radius: 3px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: background 0.2s, border-left-color 0.2s;
}
.ind-card:hover { background: rgba(255,255,255,0.11); border-left-color: var(--steel); }
.ind-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.ind-name {
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--white);
  display: block;
  text-transform: uppercase;
}
/* Bumped to rgba(255,255,255,0.72) — clear AA on charcoal */
.ind-desc { font-size: 12px; color: rgba(255,255,255,0.68); margin-top: 4px; display: block; line-height: 1.5; }

/* =============================================
   PORTFOLIO
   ============================================= */
.port-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.port-card {
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(27,79,190,0.2);
  transition: transform 0.2s;
}
.port-card:hover { transform: translateY(-3px); }
.port-img {
  height: 260px;
  position: relative;
  overflow: hidden;
}
.port-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.port-card:hover .port-img img { transform: scale(1.05); }
.port-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11,30,61,0.3) 0%, rgba(11,30,61,0.7) 100%);
}
.port-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(27,79,190,0.88);
  color: var(--white);
  font-family: var(--font-cond);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 1px;
}
.port-body {
  background: var(--navy-mid);
  padding: 18px;
}
.port-title {
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 5px;
}
/* Raised to rgba(255,255,255,0.70) — clear contrast on #111827 */
.port-sub { font-size: 12px; color: rgba(255,255,255,0.68); line-height: 1.5; }
.port-footer { margin-top: 36px; text-align: center; }

/* =============================================
   WHY TITANGRID
   ============================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.why-card { text-align: center; padding: 40px 28px; background: var(--white); border: 1px solid var(--grey-200); border-radius: 3px; box-shadow: 0 2px 12px rgba(11,30,61,0.04); transition: transform 0.35s cubic-bezier(0.34,1.4,0.64,1), box-shadow 0.3s ease; }
.why-card:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(11,30,61,0.11); }
.why-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: rgba(27,79,190,0.08);
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}
.why-title {
  font-family: var(--font-cond);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.why-desc { font-size: 14px; line-height: 1.75; color: var(--text-muted); }

/* =============================================
   CAPABILITY
   ============================================= */
.cap-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 48px;
}
.cap-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid rgba(27,79,190,0.2);
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.cap-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(168,184,204,0.12);
  border-radius: 3px;
  padding: 20px;
  transition: border-color 0.2s;
}
.cap-card:hover { border-color: rgba(27,79,190,0.4); }
.cap-label {
  font-family: var(--font-cond);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 6px;
  display: block;
}
.cap-name {
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--white);
  margin-bottom: 4px;
  text-transform: uppercase;
}
/* #4E6A8A gave ~3.1:1 on dark navy — fails WCAG AA. Bumped to steel for ~7:1 */
.cap-spec { font-size: 11.5px; color: var(--steel); }

/* =============================================
   TRUST / TESTIMONIALS
   ============================================= */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.trust-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 3px;
  padding: 32px 28px;
  border-left: 3px solid var(--blue);
}
.trust-card:nth-child(even) {
  border-left-color: var(--grey-400);
}
.trust-quote {
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.trust-name {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dark);
}
.trust-role { font-size: 11px; color: var(--text-faint); margin-top: 2px; }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  /*
   * Background image is now set via inline style in cta-banner.php from
   * the ACF 'cta_bg_image' field (with a solid colour fallback here).
   * The gradient overlay is re-applied in the PHP template via inline style.
   */
  background: linear-gradient(135deg, rgba(27,79,190,0.93) 0%, rgba(46,52,64,0.97) 100%);
  background-size: cover;
  background-position: center;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 60px);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 680px; margin: 0 auto; }
.cta-h {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}
.cta-sub { font-size: 15px; color: rgba(255,255,255,0.7); font-weight: 300; margin-bottom: 36px; line-height: 1.6; }
.cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy-deep);
  padding: 60px 60px 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 40px;
}
.footer-brand { }
.footer-logo-name {
  font-family: var(--font-cond);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--white);
  display: block;
}
.footer-logo-sub {
  font-family: var(--font-cond);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--steel);
  display: block;
  margin-top: 2px;
  margin-bottom: 14px;
}
.footer-tagline { font-size: 12.5px; line-height: 1.7; color: #7A97BB; max-width: 280px; }
.footer-h {
  font-family: var(--font-cond);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 16px;
}
.footer-link {
  display: block;
  font-size: 12px;
  color: #7A97BB;
  margin-bottom: 9px;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #7A97BB;
  margin-bottom: 9px;
}
.footer-contact-icon {
  font-size: 11px;
  color: var(--steel);
  flex-shrink: 0;
  margin-top: 1px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}
/* #5E7A9A on navy-deep was borderline at 11px — bumped to #7A9AB8 for clear WCAG AA pass */
.footer-copy { font-size: 11px; color: #7A9AB8; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 11px; color: #7A9AB8; transition: color 0.2s; }
.footer-legal a:hover { color: var(--steel); }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.social-link {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(168,184,204,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* #334D6E failed WCAG AA on navy-deep (~2.3:1) — bumped to #6B8FAE */
  color: #8BAACE;
  font-size: 12px;
  transition: border-color 0.2s, color 0.2s;
}
.social-link:hover { border-color: var(--steel); color: var(--silver); }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  background: #25D366;
  color: var(--white);
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 12px 20px;
  border-radius: 50px;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.45); color: var(--white); }
.wa-icon { font-size: 16px; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .section { padding: 80px 40px; }
  .nav { padding: 0 40px; }
  .hero { padding: 140px 40px 100px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer { padding: 60px 40px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-banner { padding: 80px 40px; }
}
@media (max-width: 768px) {
  .section { padding: 64px 24px; }
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero { padding: 120px 24px 80px; }
  .hero h1 { font-size: 36px; }
  .who-grid { grid-template-columns: 1fr; gap: 36px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: 1fr; }
  .port-grid { grid-template-columns: 1fr; gap: 14px; }
  .why-grid { grid-template-columns: 1fr; }
  .cap-intro { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding: 48px 24px 24px; }
  .cta-banner { padding: 64px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
}
@media (max-width: 768px) {
  /* Mobile nav open state */
  html.nav-mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 84px; left: 0; right: 0;
    background: rgba(7,18,37,0.98);
    backdrop-filter: blur(12px);
    padding: 32px 24px 40px;
    gap: 0;
    border-bottom: 1px solid rgba(27,79,190,0.25);
    z-index: 998;
  }
  html.nav-mobile-open .nav-links li { border-bottom: 1px solid rgba(168,184,204,0.07); }
  html.nav-mobile-open .nav-links a { display: block; padding: 16px 0; font-size: 15px; letter-spacing: 2px; }
}

/* =============================================
   MOBILE NAV — STICKY CTA
   Pinned to bottom of screen when mobile nav is open.
   Replaces the desktop nav-cta button which is hidden on mobile.
   ============================================= */
.nav-mobile-cta-wrap {
  display: none;
}
@media (max-width: 768px) {
  html.nav-mobile-open .nav-mobile-cta-wrap {
    display: block;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    padding: 16px 24px 24px;
    background: rgba(7,18,37,0.98);
    border-top: 1px solid rgba(27,79,190,0.3);
    z-index: 999;
  }
  .nav-mobile-cta-wrap .btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 13px;
    padding: 16px 28px;
  }
}

/* =============================================
   FOCUS VISIBLE — WCAG 2.1 AA
   Keyboard and screen-reader users get a clear blue
   ring on all interactive elements. :focus-visible
   fires only for keyboard/programmatic focus, not
   mouse clicks, so it never clutters the visual design.
   ============================================= */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}
/* Buttons and nav items need a tighter offset */
button:focus-visible,
.nav-cta:focus-visible,
.nav-mobile-cta-wrap a:focus-visible,
.btn-primary:focus-visible,
.btn-outline:focus-visible,
.btn-white:focus-visible,
.btn-outline-white:focus-visible {
  outline-offset: 2px;
}
/* Skip link already has its own :focus style — don't override it */
.skip-link:focus-visible { outline: none; }

/* =============================================
   VIDEO LIGHTBOX — Showreel
   Triggered by clicking .who-play in the About section.
   ============================================= */
.video-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(7,18,37,0.96);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-lightbox.is-open {
  display: flex;
}
.video-lightbox-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
}
.video-lightbox-ratio {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.video-lightbox-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: var(--silver);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  padding: 4px 8px;
}
.video-lightbox-close:hover { color: var(--white); }
@media (max-width: 768px) {
  .video-lightbox { padding: 16px; }
  .video-lightbox-close { top: -40px; }
}

/* =============================================
   CONTACT SECTION — moved from inline styles
   in template-parts/home/contact.php
   ============================================= */
.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-detail-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(27,79,190,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon--whatsapp { background: rgba(37,211,102,0.15); }
.contact-detail-label {
  font-family: var(--font-cond);
  font-size: 9.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 3px;
  display: block;
}
.contact-detail-value {
  font-size: 13px;
  color: var(--silver);
  display: block;
}
.contact-detail-value a {
  color: var(--silver);
  transition: color 0.2s;
}
.contact-detail-value a:hover { color: var(--white); }
.contact-detail-value a.whatsapp-link { color: #25D366; }
.contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(168,184,204,0.1);
  border-radius: 4px;
  padding: 36px;
}
.contact-form-title {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}
.wa-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 9px 16px;
  border-radius: 50px;
  text-decoration: none;
  margin-top: 16px;
  transition: opacity 0.2s;
}
.wa-footer-btn:hover { opacity: 0.88; color: #fff; }


/* =============================================================================
   PAGE CONTENT STYLES — tg-* class system
   All <style> blocks originally embedded in inner-page content have been
   consolidated here so brand updates only need to happen in one place.
   Pages: About, Services, Industries, Portfolio, Capability, Contact.
   ============================================================================= */


/* ── WORDPRESS PAGE TITLE SUPPRESSION ─────────────────────────────────────────
   Inner pages manage their own headings inside the page content.
   These selectors hide the title WP outputs above .entry-content so it
   does not double up with the page's own hero heading.                          */
.entry-title,
.page-title,
.page-header,
.post-title,
.wp-block-post-title,
h1.entry-title,
h1.page-title,
.single-title,
.hero-title        { display: none !important; }
.entry-content,
.page-content,
.post-content,
.site-main article { padding-top: 0 !important; margin-top: 0 !important; }


/* ── SHARED BASE ──────────────────────────────────────────────────────────────
   Full-width breakout: each .tg-section escapes the theme's max-width
   container and stretches to 100vw; .tg-inner re-centres the content.          */
.tg-section {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  box-sizing: border-box;
}
.tg-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .tg-inner { padding: 0 24px; }
}


/* ── TYPOGRAPHY UTILITIES ─────────────────────────────────────────────────────*/
.tg-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1B4FBE;
  margin-bottom: 16px;
}
.tg-eyebrow-light { color: #7BA3E0; }
.tg-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 20px;
}
.tg-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
}
.tg-lead {
  font-family: 'Barlow', sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
}
.tg-body {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  line-height: 1.8;
}


/* ── LAYOUT GRIDS ─────────────────────────────────────────────────────────────*/
.tg-grid-2    { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tg-grid-3    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tg-grid-4    { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.tg-grid-2-eq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (max-width: 768px) {
  .tg-grid-2,
  .tg-grid-3,
  .tg-grid-4,
  .tg-grid-2-eq { grid-template-columns: 1fr !important; }
}


/* ── CARD UTILITIES ───────────────────────────────────────────────────────────*/
.tg-card-blue-left { background: #fff; border-left: 4px solid #1B4FBE; padding: 24px 28px; border-radius: 0 4px 4px 0; }
.tg-card-grey-top  { background: #fff; border-top: 3px solid #1B4FBE; padding: 24px; border-radius: 4px; }
.tg-card-flat      { background: #F1F3F5; padding: 20px 24px; border-radius: 4px; border-top: 3px solid #1B4FBE; }
.tg-card-h {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0B1E3D;
  margin: 0 0 8px;
}
.tg-card-p {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  line-height: 1.65;
  color: #374151;
  margin: 0;
}
.tg-num   { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 700; color: #1B4FBE; margin: 0 0 14px; line-height: 1; }
.tg-why-h { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #fff; margin: 0 0 10px; }
.tg-why-p { font-family: 'Barlow', sans-serif; font-size: 14px; line-height: 1.75; color: #A8B8CC; margin: 0; }


/* ── BUTTON UTILITIES ─────────────────────────────────────────────────────────*/
.tg-btn-white {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: #fff;
  color: #0B1E3D;
  padding: 14px 34px;
  border-radius: 3px;
  text-decoration: none;
}
.tg-btn-outline {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.45);
  color: #fff;
  padding: 12px 34px;
  border-radius: 3px;
  text-decoration: none;
}


/* ── CTA BUTTONS (page-content variant) ───────────────────────────────────────
   Modifier classes (.primary / .secondary / .banner-* / -primary / -secondary)
   unify the three slightly different implementations across page blocks.        */
.tg-cta-buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.tg-cta-btn {
  display: inline-block;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  background: #1B4FBE;
  color: #fff;
}
.tg-cta-btn:hover,
.tg-cta-btn:visited                { color: #fff; }
.tg-cta-btn:hover                  { background: #0B1E3D; }
.tg-cta-btn.primary,
.tg-cta-btn.banner-primary,
.tg-cta-btn-primary                { background: #fff; color: #1B4FBE; }
.tg-cta-btn.primary:hover,
.tg-cta-btn.banner-primary:hover,
.tg-cta-btn-primary:hover          { background: #F0F2F5; color: #1B4FBE; }
.tg-cta-btn.secondary,
.tg-cta-btn.banner-secondary,
.tg-cta-btn-secondary              { border: 2px solid #fff; color: #fff; background: transparent; }
.tg-cta-btn.secondary:hover,
.tg-cta-btn.banner-secondary:hover,
.tg-cta-btn-secondary:hover        { background: rgba(255,255,255,0.1); color: #fff; }


/* ── PAGE HERO (shared by all inner pages) ────────────────────────────────────
   Style reference: About TitanGrid page.
   Gradient holds mostly navy (#0B1E3D) for the first 55% then transitions to
   blue (#1B4FBE) — gives a stronger, more authoritative feel than a 0→100
   sweep. Subtext at 72% white reads clearly without competing with the h1.     */
.tg-hero {
  background: linear-gradient(135deg, #0B1E3D 55%, #1B4FBE 100%);
  color: #fff;
  padding: 90px 0 80px;
  text-align: center;
}
.tg-hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #7BA3E0;
  margin-bottom: 14px;
}
.tg-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 700;
  line-height: 1.15;
  max-width: 820px;
  margin: 0 auto 22px;
}
.tg-hero p,
.tg-hero .lead {
  font-family: 'Barlow', sans-serif;
  font-size: 17px;
  font-weight: 300;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
}


/* ── ABOUT PAGE ───────────────────────────────────────────────────────────────*/
.tg-intro {
  background: #fff;
  padding: 60px 0;
}
.tg-intro p {
  font-family: 'Barlow', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #111827;
  max-width: 800px;
  margin: 0 auto;
}


/* ── SERVICES PAGE ────────────────────────────────────────────────────────────*/
.tg-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.tg-service-card {
  background: #fff;
  border-radius: 6px;
  padding: 36px 32px 32px;
  border-bottom: 3px solid #1B4FBE;
  box-shadow: 0 2px 16px rgba(11,30,61,0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tg-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(11,30,61,0.13);
}
.tg-service-icon {
  width: 52px;
  height: 52px;
  background: #EBF1FB;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.tg-service-icon svg {
  width: 26px;
  height: 26px;
  stroke: #1B4FBE;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tg-service-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #1B4FBE;
  margin: 0 0 10px;
}
.tg-service-title {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 700;
  color: #0B1E3D;
  margin: 0 0 14px;
  line-height: 1.25;
}
.tg-service-desc {
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: #374151;
  margin: 0 0 20px;
}
.tg-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #E3E6EA;
  padding-top: 18px;
}
.tg-service-list li {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  color: #111827;
  padding: 5px 0 5px 18px;
  position: relative;
  line-height: 1.5;
}
.tg-service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1B4FBE;
}
/* Process strip — 4-step horizontal (services page) */
.tg-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.tg-process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: rgba(255,255,255,0.15);
  z-index: 0;
}
.tg-process-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.tg-process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #1B4FBE;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  background: #0B1E3D;
}
.tg-process-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  margin: 0 0 8px;
}
.tg-process-text {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  line-height: 1.65;
  color: #A8B8CC;
  margin: 0;
}
@media (max-width: 900px) { .tg-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .tg-services-grid          { grid-template-columns: 1fr; }
  .tg-process-grid           { grid-template-columns: 1fr 1fr; gap: 32px; }
  .tg-process-grid::before   { display: none; }
}


/* ── INDUSTRIES PAGE ──────────────────────────────────────────────────────────*/
.tg-sectors-container {
  background: #F1F3F5;
  padding: 80px 0;
}
.tg-sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.tg-sector-card {
  background: #fff;
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.tg-sector-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: #0B1E3D;
  margin: 0 0 16px;
  line-height: 1.3;
}
.tg-sector-card p {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  color: #111827;
  line-height: 1.7;
  margin: 0 0 20px;
}
.tg-sector-card ul { list-style: none; padding: 0; margin: 0; }
.tg-sector-card li {
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  color: #111827;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}
.tg-sector-card li::before {
  content: '•';
  color: #1B4FBE;
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 18px;
}
.tg-knowledge-strip {
  background: #0B1E3D;
  color: #fff;
  padding: 80px 0;
}
.tg-knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.tg-knowledge-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin: 0 0 16px;
  line-height: 1.3;
  color: #F0F2F5;
}
.tg-knowledge-item p {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #7BA3E0;
  margin: 0;
}
.tg-cta-banner {
  background: linear-gradient(90deg, #1B4FBE 0%, #7BA3E0 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.tg-cta-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  margin: 0 0 32px;
  line-height: 1.2;
}
.tg-cta-banner .tg-cta-buttons { margin-bottom: 48px; }
.tg-contact-info { margin-top: 48px; }
.tg-contact-info p {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  margin: 8px 0;
}
.tg-contact-info a {
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid rgba(255,255,255,0.5);
}
.tg-contact-info a:hover { border-bottom-color: #fff; }
@media (max-width: 900px) {
  .tg-sectors-grid   { grid-template-columns: repeat(2, 1fr); }
  .tg-knowledge-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .tg-sectors-grid   { grid-template-columns: 1fr; }
  .tg-knowledge-grid { grid-template-columns: 1fr; }
}


/* ── PORTFOLIO PAGE ───────────────────────────────────────────────────────────*/
.tg-intro-strip {
  background: #fff;
  padding: 60px 0;
  text-align: center;
}
.tg-intro-strip p {
  font-family: 'Barlow', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #111827;
  max-width: 800px;
  margin: 0 auto;
}
.tg-portfolio-container {
  background: #F0F2F5;
  padding: 80px 0;
}
.tg-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.tg-project-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.tg-project-image {
  background: #2E3440;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}
.tg-project-image-text {
  font-family: 'Barlow Condensed', sans-serif;
  color: #fff;
  font-size: 16px;
  letter-spacing: 1px;
}
.tg-project-content { padding: 40px; }
.tg-project-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1B4FBE;
  margin-bottom: 12px;
  display: block;
  font-weight: 600;
}
.tg-project-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: #0B1E3D;
  margin: 0 0 8px;
  line-height: 1.3;
}
.tg-project-subtitle {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  color: #7BA3E0;
  line-height: 1.6;
  margin: 0;
}
.tg-more-work {
  background: #fff;
  padding: 80px 0;
  text-align: center;
}
.tg-more-work p {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #111827;
  max-width: 600px;
  margin: 0 auto 32px;
}
@media (max-width: 900px) { .tg-portfolio-grid { grid-template-columns: 1fr; } }


/* ── CAPABILITY PAGE ──────────────────────────────────────────────────────────*/
.tg-intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.tg-intro-left p {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #111827;
  margin: 0;
}
.tg-intro-quote {
  background: #F1F3F5;
  border-left: 4px solid #1B4FBE;
  padding: 32px;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-style: italic;
  color: #0B1E3D;
  line-height: 1.6;
  margin: 0;
}
.tg-cameras {
  background: #F1F3F5;
  padding: 80px 0;
}
.tg-cameras h2 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: #0B1E3D;
  margin: 0 0 48px;
  font-weight: 700;
}
.tg-camera-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.tg-camera-card {
  background: #fff;
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(11,30,61,0.08);
}
.tg-camera-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #0B1E3D;
  margin: 0 0 12px;
}
.tg-camera-spec-headline {
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1B4FBE;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tg-camera-card ul { margin: 0 0 20px; padding-left: 20px; }
.tg-camera-card li {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  color: #111827;
  margin-bottom: 10px;
  line-height: 1.6;
}
.tg-camera-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #7BA3E0;
  padding-top: 20px;
  border-top: 1px solid #E0E4E8;
  margin-top: 20px;
}
.tg-fullkit { background: #fff; padding: 80px 0; }
.tg-fullkit h2 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: #0B1E3D;
  margin: 0 0 48px;
  font-weight: 700;
}
.tg-kit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.tg-kit-card {
  background: #F1F3F5;
  padding: 32px;
  border-radius: 4px;
  border-left: 4px solid #1B4FBE;
}
.tg-kit-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #0B1E3D;
  margin: 0 0 16px;
}
.tg-kit-card p {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  color: #111827;
  line-height: 1.7;
  margin: 0;
}
.tg-postprod { background: #0B1E3D; padding: 80px 0; }
.tg-postprod .tg-eyebrow { color: #7BA3E0; }
.tg-postprod h2 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: #fff;
  margin: 0 0 48px;
  font-weight: 700;
}
.tg-postprod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.tg-postprod-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #fff;
  margin: 0 0 12px;
}
.tg-postprod-item p {
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  color: #7BA3E0;
  line-height: 1.7;
  margin: 0;
}
/* Capability CTA (dark diagonal gradient variant) */
.tg-cta {
  background: linear-gradient(135deg, #1B4FBE 0%, #0B1E3D 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}
.tg-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  margin: 0 0 32px;
  font-weight: 700;
}
.tg-cta-contact {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  color: #F0F2F5;
  margin-top: 20px;
}
.tg-cta-contact a { color: #fff; text-decoration: none; font-weight: 600; }
.tg-cta-contact a:hover { text-decoration: underline; }
.tg-cta-address {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  color: #7BA3E0;
  margin-top: 20px;
}
@media (max-width: 768px) {
  .tg-intro-content  { grid-template-columns: 1fr; gap: 40px; }
  .tg-camera-grid    { grid-template-columns: 1fr; }
  .tg-kit-grid       { grid-template-columns: 1fr; }
  .tg-postprod-grid  { grid-template-columns: 1fr; }
}


/* ── CONTACT PAGE ─────────────────────────────────────────────────────────────*/
.tg-main-contact { background: #fff; padding: 80px 0; }
.tg-contact-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 60px;
  align-items: flex-start;
}
.tg-contact-form-col h3 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #0B1E3D;
  margin: 0 0 16px;
  font-weight: 700;
}
.tg-contact-form-col p {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  color: #111827;
  line-height: 1.6;
  margin: 0 0 24px;
}
.tg-form-placeholder {
  background: #F1F3F5;
  padding: 32px;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid #E0E4E8;
}
.tg-form-placeholder-text {
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  color: #111827;
  margin: 0 0 12px;
  font-style: italic;
}
.tg-form-placeholder-shortcode {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: #1B4FBE;
  background: #fff;
  padding: 12px;
  border-radius: 3px;
  display: block;
  overflow-x: auto;
  margin: 0;
}
.tg-form-note {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  color: #7BA3E0;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}
.tg-contact-details-col h3 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #0B1E3D;
  margin: 0 0 32px;
  font-weight: 700;
}
.tg-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.tg-detail-icon    { flex-shrink: 0; width: 24px; height: 24px; }
.tg-detail-content { flex: 1; }
.tg-detail-label {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  color: #7BA3E0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 4px;
}
.tg-detail-value {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  color: #111827;
  margin: 0;
  font-weight: 500;
}
.tg-detail-value a { color: #1B4FBE; text-decoration: none; }
.tg-detail-value a:hover { text-decoration: underline; }
.tg-whatsapp-btn {
  display: inline-block;
  background: #25D366;
  color: #fff;
  padding: 14px 32px;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 16px;
  transition: background 0.3s;
}
.tg-whatsapp-btn:hover { background: #20BA58; color: #fff; }
.tg-divider { border: none; border-top: 1px solid #E0E4E8; height: 0; margin: 32px 0; }
.tg-response-note { background: #F0F2F5; padding: 20px; border-radius: 4px; margin-top: 24px; }
.tg-response-note-title {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1B4FBE;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 8px;
}
.tg-response-note-text {
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  color: #111827;
  line-height: 1.6;
  margin: 0;
}
/* Process strip — 3-step (contact page); scoped to override the 4-col default */
.tg-process { background: #F1F3F5; padding: 80px 0; }
.tg-process h2 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: #0B1E3D;
  margin: 0 0 48px;
  font-weight: 700;
}
.tg-process .tg-process-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: static;
}
.tg-process .tg-process-grid::before { display: none; }
.tg-process-step-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: #1B4FBE;
  font-weight: 700;
  margin: 0 0 16px;
}
.tg-process .tg-process-step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #0B1E3D;
  margin: 0 0 12px;
}
.tg-process .tg-process-step p {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  color: #111827;
  line-height: 1.7;
  margin: 0;
}
.tg-office { background: #fff; padding: 80px 0; }
.tg-office h2 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: #0B1E3D;
  margin: 0 0 16px;
  font-weight: 700;
}
.tg-office-address {
  font-family: 'Barlow', sans-serif;
  font-size: 18px;
  color: #111827;
  font-weight: 600;
  margin: 0 0 24px;
}
.tg-office-note {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  color: #111827;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 768px) {
  .tg-contact-grid            { grid-template-columns: 1fr; gap: 40px; }
  .tg-process .tg-process-grid { grid-template-columns: 1fr; }
}

/* =============================================
   EXTENDED PALETTE — GREYER TONES  (v4 update)
   ============================================= */
/* Replaces pure-navy dark sections so the site reads
   as steel-grey-professional rather than dark-blue-heavy */
.section-slate    { background: #304050; }  /* dark slate blue-grey  */
.section-charcoal { background: #2E3440; }  /* charcoal grey         */

/* =============================================
   SCROLL-REVEAL ANIMATIONS
   ============================================= */
.tg-reveal {
  opacity: 0;
  transform: translateY(36px) scale(0.97);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.tg-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.tg-reveal-delay-1 { transition-delay: 0.08s; }
.tg-reveal-delay-2 { transition-delay: 0.18s; }
.tg-reveal-delay-3 { transition-delay: 0.30s; }
.tg-reveal-delay-4 { transition-delay: 0.44s; }

/* =============================================
   PARALLAX DIVIDER SECTIONS
   ============================================= */
.parallax-divider {
  min-height: 560px;
  background-attachment: fixed;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
/* Dark-to-transparent overlay — shows more image */
.parallax-divider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7,18,37,0.55) 0%,
    rgba(11,30,61,0.18) 40%,
    rgba(11,30,61,0.18) 60%,
    rgba(7,18,37,0.55) 100%
  );
}
/* Sweeping light band — crosses the image periodically */
.parallax-divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.06) 50%,
    transparent 100%
  );
  transform: skewX(-10deg);
  animation: sweepAcross 9s ease-in-out infinite;
  pointer-events: none;
}
/* Stagger the second divider's sweep so they're not in sync */
.parallax-divider:nth-of-type(2)::after {
  animation-delay: 4.5s;
}
@media (max-width: 768px) {
  .parallax-divider { min-height: 380px; background-attachment: scroll; }
}

/* =============================================
   VIDEO SECTION — full-bleed background video
   ============================================= */
.video-section {
  background: var(--navy-deep);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.video-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px,
    transparent 1px, transparent 80px
  );
  pointer-events: none;
}
.video-section-header {
  text-align: center;
  padding: 0 60px 52px;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}
.video-section-header .eyebrow { justify-content: center; color: var(--steel); }
.video-section-header .eyebrow::before { background: var(--steel); }

/* Outer frame — fixed height, clips overflow */
.video-embed-frame {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  background: var(--navy-deep);
}
/* Remove old corner accents */
.video-embed-frame::before,
.video-embed-frame::after { display: none; }

/* Inner ratio wrapper — full width, acts as stage */
.video-embed-ratio {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

/* Iframe spans full viewport width at true 16:9 ratio,
   centred vertically so no black bars show in the 360px window */
.video-embed-ratio iframe {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 56.25vw;      /* 9/16 = always correct 16:9 for full width */
  min-height: 360px;
  transform: translateY(-50%);
  border: none;
  display: block;
  pointer-events: none; /* prevent click-to-fullscreen on mobile */
}
.video-embed-ratio video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  display: block;
}
.video-section-divider {
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--steel) 50%, var(--blue) 100%);
}
@media (max-width: 768px) {
  .video-section { padding: 60px 0 0; }
  .video-section-header { padding: 0 24px 40px; }
  .video-embed-frame { height: 220px; }
  .video-embed-ratio iframe { min-height: 220px; }
}


/* Updated port-body — dark navy card body sits clearly against charcoal section */
.port-body-slate {
  background: #111827;
  padding: 20px 22px;
  border-top: 2px solid rgba(27,79,190,0.5);
}

@media (max-width: 768px) {
  .video-section { padding: 64px 24px; }
  .video-poster-circle { width: 70px; height: 70px; }
  .video-poster-arrow { border-top-width: 10px; border-bottom-width: 10px; border-left-width: 17px; }
}



/* =========================================================
   HERO PERFORMANCE OPTIMIZATION
========================================================= */

.hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    contain: layout paint;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    will-change: auto !important;
    transform: none !important;
    animation: none !important;
}

.hero::before,
.hero::after {
    animation: none !important;
}

.hero * {
    animation-duration: 0s !important;
    transition-duration: 0.2s;
}

.hero-content,
.hero-inner,
.hero-container {
    position: relative;
    z-index: 2;
}

/* Reduce layout shifts */
.hero h1,
.hero p,
.hero .btn,
.hero .hero-buttons {
    transform: none !important;
    opacity: 1 !important;
}

/* Mobile rendering optimization */
@media (max-width: 768px) {

    .hero {
        min-height: 100svh;
    }

    .hero-bg-image {
        object-position: center center;
    }

}

/* GPU stability */
.hero,
.hero * {
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

