@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@85..100,900&family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&family=Poppins:wght@400;500;600;900&display=swap');

:root {
  --navy: #012348;
  --navy-dark: #011a36;
  --cream: #F1F6FA;
  --white: #FFFFFF;
  --light-blue: #ABCEEC;
  --gold: #FFB23E;
  --gold-light: #D4BA94;
  --gray-gold: #8A8A84;
  --teal: #429AB9;
  --off-white: #F8F7F4;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-poppins: 'Poppins', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --glass-bg: rgba(1, 35, 72, 0.9);
  --accent-blue: #06588C;
  --dark-gray: #333331;
  --section-bg: #EFEEE7;
  --blue-lightest: #F1F6FA;
  --blue-light: #ABCEEC;
  --blue-mid: #429AB9;
  --blue-dark: #06588C;
  --blue-navy: #012348;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--navy);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Reveal animations */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: none;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0s;
}

.reveal-delay-2 {
  transition-delay: 0s;
}

.reveal-delay-3 {
  transition-delay: 0s;
}

.reveal-delay-4 {
  transition-delay: 0s;
}

.reveal-delay-5 {
  transition-delay: 0s;
}

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease, -webkit-backdrop-filter 0.4s ease;
  pointer-events: none;
}

.site-header.scrolled {
  border-bottom-color: var(--gray-200);
}

.site-header.scrolled::before {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* ─── Persistent Internal Header Styles ─── */
.site-header--internal.scrolled {
  border-bottom-color: var(--gray-200);
}

.site-header--internal.scrolled::before {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06) !important;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  z-index: 10;
}

.logo img {
  width: 155px;
  height: 68px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: #0E2E45;
  font-family: var(--font-poppins);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover {
  color: #515151;
}

.nav-link svg.chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.3s var(--ease-out-expo);
}

.nav-item:hover .nav-link svg.chevron {
  transform: translateY(2px);
}

.btn-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 24px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 1rem;
  background: var(--blue-navy);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(1, 35, 72, 0.25);
  background: var(--blue-dark);
}

.btn-nav .arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-nav:hover .arrow-circle {
  background: rgba(255, 255, 255, 0.2);
}

.btn-nav .arrow-circle svg {
  width: 16px;
  height: 16px;
  stroke: #FFFFFF;
  transition: transform 0.3s ease;
}

.btn-nav:hover .arrow-circle svg {
  transform: translateX(4px);
}

/* ─── CTA MAIN (Standard Reusable CTA) ─── */
.cta-main {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 200px;
  height: 52px;
  border-radius: 100px;
  background: linear-gradient(to right, #06588C 0%, #099FFF 100%);
  box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.25);
  color: #E8F0F6;
  text-align: center;
  font-family: var(--font-poppins);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(.22, 1, .36, 1),
    box-shadow 0.35s ease;
  flex-shrink: 0;

  /* extra width so the flowing gradient has room to travel */
  background-size: 220% 100%;
  background-position: 0% 50%;
  overflow: visible;
  /* let sonar rings escape the pill */
}

/* ---------- HOVER STATE ---------- */
.cta-main:hover,
.cta-main:focus-visible {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px -4px rgba(9, 159, 255, 0.45);
  animation: flow 1.6s ease-in-out infinite alternate;
  outline: none;
}

/* ---------- ICON WRAPPER (anchor for the sonar rings) ---------- */
.cta-icon {
  position: relative;
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
}

.cta-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  transform-origin: 50% 60%;
  /* pivot near the "earpiece" for a natural ring */
}

/* the phone shakes like it's ringing */
.cta-main:hover .cta-icon svg,
.cta-main:focus-visible .cta-icon svg {
  animation: ring 0.7s ease-in-out 0.05s 2;
}

/* ---------- SONAR RINGS ---------- */
.cta-icon::before,
.cta-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  border: 1.5px solid #E8F0F6;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.4);
  opacity: 0;
  pointer-events: none;
}

.cta-main:hover .cta-icon::before,
.cta-main:focus-visible .cta-icon::before {
  animation: sonar 1.5s ease-out infinite;
}

.cta-main:hover .cta-icon::after,
.cta-main:focus-visible .cta-icon::after {
  animation: sonar 1.5s ease-out 0.75s infinite;
  /* staggered second pulse */
}

/* ---------- KEYFRAMES ---------- */
@keyframes flow {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

@keyframes ring {

  0%,
  100% {
    transform: rotate(0);
  }

  20% {
    transform: rotate(-14deg);
  }

  40% {
    transform: rotate(11deg);
  }

  60% {
    transform: rotate(-7deg);
  }

  80% {
    transform: rotate(4deg);
  }
}

@keyframes sonar {
  0% {
    transform: translate(-50%, -50%) scale(0.45);
    opacity: 0.65;
  }

  100% {
    transform: translate(-50%, -50%) scale(2.6);
    opacity: 0;
  }
}

/* respect users who prefer no motion */
@media (prefers-reduced-motion: reduce) {

  .cta-main,
  .cta-main * {
    animation: none !important;
    transition: none !important;
  }
}


/* ─── DROPDOWNS ─── */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 34px);
  left: -10px;
  min-width: 320px;
  background: #FFFFFF;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  border: 1px solid rgba(14, 46, 69, 0.08);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Invisible bridge to prevent hover loss */
.dropdown-menu::before,
.mega-menu::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 40px;
  background: transparent;
}

.dropdown-link {
  display: block;
  padding: 0.75rem 1.25rem;
  margin: 0.25rem 0;
  border-radius: 12px;
  color: #0E2E45;
  font-family: var(--font-poppins);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  transition: background 0.2s ease;
}

.dropdown-link:hover {
  background: rgba(14, 46, 69, 0.06);
}

/* ─── MEGA MENU ─── */
.nav-item.has-mega {
  position: static;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px) !important;
  width: auto;
  min-width: 90vw;
  max-width: 1200px;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 3rem 0;
  border-radius: 32px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-out-expo);
  z-index: 99;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-item.has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) !important;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.mega-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.25rem;
  border-radius: 16px;
  transition: background 0.2s ease;
  background: transparent;
  border: none;
}

.mega-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.mega-title {
  color: #FFFFFF;
  font-weight: 500;
  font-size: 1rem;
  font-family: var(--font-body);
}

.mega-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 120px 0 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-banner.avif');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
}

.hero>.container {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: left;
  width: 1095px;
  max-width: 100%;
  margin: 0 auto;
  animation: heroFadeIn 1.2s var(--ease-out-expo) forwards;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 379px;
  height: 39px;
  border-radius: 100px;
  border: 1px solid #94D2E8;
  background: transparent;
  color: #06588C;
  font-family: var(--font-poppins);
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-title {
  max-width: 820px;
  font-family: var(--font-poppins);
  font-weight: 500;
  font-style: normal;
  font-size: 50px;
  line-height: 1.4;
  /* Equivalent to 70px line-height */
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--blue-navy);
  -webkit-text-stroke: 0.5px #000000;
  margin: 0 0 1.5rem;
  text-align: left;
}

.hero-title .highlight {
  color: #FF6B47;
  font-weight: inherit;
  font-style: inherit;
}

.hero-underline {
  width: 80px;
  height: 4px;
  background: var(--blue-dark);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero-description {
  width: 800px;
  max-width: 100%;
  margin: 0 0 2.5rem;
  font-family: var(--font-poppins);
  color: #000;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 35px;
  letter-spacing: 0.4px;
  text-align: left;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

/* Outlined "Our Services" Button */
.btn-outline-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 200px;
  height: 52px;
  padding: 0 16px 0 24px;
  border-radius: 100px;
  font-family: var(--font-poppins);
  font-size: 16px;
  font-weight: 400;
  color: #06588C;
  background: transparent;
  border: 1px solid #06588C;
  box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline-link:hover {
  transform: translateY(-2px);
  border-color: #06588C;
  background: rgba(6, 88, 140, 0.04);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.arrow-circle-outline {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #06588C;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-outline-link:hover .arrow-circle-outline {
  background: #086dae;
}

.arrow-circle-outline svg {
  width: 14px;
  height: 14px;
  stroke: #FFFFFF;
  transition: transform 0.3s ease;
}

.btn-outline-link:hover .arrow-circle-outline svg {
  transform: translateX(4px);
}

/* ─── HERO STATS BAR ─── */
.hero-stats-bar {
  position: relative;
  z-index: 5;
  margin-top: auto;
  padding-bottom: 2rem;
}

.hero-stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1095px;
  max-width: 100%;
  height: 139px;
  margin: 0 auto;
  background: rgba(241, 246, 250, 0.20);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  border: 1px solid var(--teal);
  border-radius: 20px;
  padding: 0 2.5rem;
  box-shadow: 0 15px 40px rgba(1, 35, 72, 0.06);
}

.hero-stat-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.hero-stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-stat-icon--blue {
  background: rgba(6, 88, 140, 0.12);
}

.hero-stat-icon--teal {
  background: rgba(66, 154, 185, 0.15);
}

.hero-stat-icon--coral {
  background: rgba(249, 137, 120, 0.15);
}

.hero-stat-icon--gold {
  background: rgba(255, 191, 0, 0.15);
}

.hero-stat-icon svg {
  height: 40px;
  width: auto;
  display: block;
}

.hero-stat-content {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--blue-navy);
  line-height: 1.2;
}

.hero-stat-label {
  font-family: var(--font-poppins);
  font-weight: 500;
  font-size: 0.8rem;
  color: #5A6A7A;
  line-height: 1.3;
}

.hero-stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(1, 35, 72, 0.1);
  margin: 0 0.5rem;
  flex-shrink: 0;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-secondary-link {
  font-family: var(--font-poppins);
  font-size: 16px;
  font-weight: 500;
  color: var(--blue-navy);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-secondary-link svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
  transition: transform 0.3s var(--ease-spring);
}

.btn-secondary-link:hover {
  color: var(--blue-dark);
}

.btn-secondary-link:hover svg {
  transform: translateX(6px);
}



/* ─── WHAT WE DO ─── */
:root {
  --arch-max-rotate: 7deg;
  --arch-max-drop: 46px;
  --geo-teal: #0FA89C;
  --geo-coral: #FF6F61;
  --geo-amber: #FFB23E;
}

.what-we-do {
  padding: 90px 0 70px;
  background-color: #F2F0ED;
  position: relative;
  overflow: hidden;
}

.what-we-do>.container {
  position: relative;
  z-index: 2;
}

.what-we-do-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #429AB9;
  border: 1px solid #94D2E8;
  padding: 8px 24px;
  border-radius: 100px;
  margin-bottom: 2rem;
  background: rgba(66, 154, 185, 0.05);
}

.what-we-do-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 45px;
  letter-spacing: .5px;
  color: #012348;
  margin-bottom: 1.5rem;
  max-width: 820px;
}

.what-we-do-heading .highlight {
  background: linear-gradient(90deg, #429AB9 0%, #06588C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.what-we-do-bar {
  width: 150px;
  height: 4px;
  background: linear-gradient(90deg, #429AB9 0%, #06588C 100%);
  margin-bottom: 2.5rem;
  border-radius: 2px;
}

.what-we-do-subheading {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: rgba(1, 35, 72, 0.7);
  line-height: 35px;
  letter-spacing: 0.4px;
  margin-bottom: 4rem;
  max-width: 800px;
  position: relative;
  z-index: 2;
}

/* ─── CAROUSEL VIEWPORT & TRACK ─── */
.svc-viewport {
  position: relative;
  width: 100%;
  padding: 0;
  z-index: 2;
}

.svc-track {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  padding-top: clamp(40px, 6vw, 70px);
  padding-bottom: clamp(40px, 4.5vw, 60px);
  padding-left: max(24px, calc((100vw - 1180px) / 2));
  padding-right: max(24px, calc((100vw - 1180px) / 2));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.svc-track::-webkit-scrollbar {
  display: none;
}

.svc-track.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

/* ── CARD ── */
.svc-card {
  flex: 0 0 clamp(280px, 28vw, 350px);
  scroll-snap-align: center;
  background: #FFFFFF;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 16px 16px 28px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .04);
  transform-origin: center bottom;
  transition: box-shadow .3s ease, border-color .3s ease;
  will-change: transform;
  user-select: none;
}

.svc-card:hover {
  box-shadow: 0 26px 70px rgba(0, 0, 0, .08);
  border-color: rgba(6, 88, 140, 0.15);
}

.svc-card .media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.2;
  border-radius: 16px;
  overflow: hidden;
  background: #EAEAEA;
  margin-bottom: 22px;
}

.svc-card .media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.16, 0, .3, 1);
}

.svc-card:hover .media img {
  transform: scale(1.05);
}

/* Card Typography Appearance */
.svc-card h3 {
  color: #06588C;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: 1px;
  margin: 0 6px 12px;
}

.svc-card p {
  color: #474747;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.28px;
  margin: 0 6px 6px;
  min-height: 72px;
}

/* ── CTA Card Variant ── */
.svc-card.cta {
  background: linear-gradient(135deg, #012348 0%, #06588C 100%);
  border: 1px solid rgba(255, 107, 71, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: background .3s ease, box-shadow .3s ease;
}

.svc-card.cta:hover {
  box-shadow: 0 26px 70px rgba(1, 35, 72, 0.15);
}

.svc-card.cta::before {
  content: '';
  position: absolute;
  top: -70px;
  right: -70px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  pointer-events: none;
}

.svc-card.cta .cta-card-content {
  padding: 1.25rem 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  z-index: 2;
}

.svc-card.cta h3.cta-card-title {
  color: #FFFFFF;
  font-size: 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: normal;
  margin: 0 0 1.25rem;
}

.svc-card.cta h3.cta-card-title .highlight {
  color: #FF6B47;
}

.svc-card.cta p.cta-card-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0.28px;
  margin: 0 0 1.5rem;
  min-height: auto;
}

.svc-card.cta .btn-cta-connect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #FF6B47;
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 100px;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 71, 0.3);
}

.svc-card.cta .btn-cta-connect:hover {
  background: #e05633;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 71, 0.4);
}

.svc-card.cta .btn-cta-connect svg.phone-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* ── CONTROLS ── */
.svc-controls {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  position: relative;
  z-index: 2;
}

.svc-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(1, 35, 72, 0.15);
  background: #FFFFFF;
  color: #012348;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.svc-btn:hover {
  background: #06588C;
  border-color: #06588C;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(6, 88, 140, 0.25);
}

.svc-btn:disabled {
  opacity: .3;
  cursor: default;
  transform: none !important;
  box-shadow: none !important;
}

.svc-btn:disabled:hover {
  background: #FFFFFF;
  border-color: rgba(1, 35, 72, 0.15);
  color: #012348;
}

/* ── GEOMETRIC ACCENT LAYER ── */
.svc-geo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.geo {
  position: absolute;
  border-radius: 32px;
  opacity: .9;
}

.geo-sq1 {
  width: clamp(64px, 8vw, 120px);
  aspect-ratio: 1;
  background: var(--geo-coral);
  top: clamp(20px, 4vw, 56px);
  left: clamp(16px, 3vw, 56px);
  border-radius: clamp(18px, 2.4vw, 36px);
  opacity: .85;
  animation: geoFloat 11s ease-in-out infinite, geoSpin 26s linear infinite;
}

.geo-ring {
  width: clamp(58px, 7vw, 104px);
  aspect-ratio: 1;
  border: clamp(7px, 0.9vw, 11px) solid var(--geo-amber);
  background: transparent;
  border-radius: 50%;
  top: clamp(70px, 11vw, 150px);
  left: clamp(86px, 11vw, 168px);
  opacity: .55;
  animation: geoFloat 12s ease-in-out infinite;
}

.geo-circ1 {
  width: clamp(54px, 6.5vw, 90px);
  aspect-ratio: 1;
  background: var(--geo-teal);
  top: clamp(24px, 3.5vw, 48px);
  right: clamp(20px, 4vw, 72px);
  border-radius: 50%;
  opacity: .8;
  animation: geoDrift 13s ease-in-out infinite;
}

.geo-circ2 {
  width: clamp(30px, 3.6vw, 46px);
  aspect-ratio: 1;
  background: var(--geo-amber);
  top: clamp(96px, 14vw, 184px);
  right: clamp(14px, 2.5vw, 40px);
  border-radius: 50%;
  opacity: .85;
  animation: geoFloat 7.5s ease-in-out infinite;
}

.geo-sq2 {
  width: clamp(46px, 5.5vw, 78px);
  aspect-ratio: 1;
  background: var(--geo-amber);
  bottom: clamp(28px, 5vw, 84px);
  left: clamp(18px, 3.5vw, 64px);
  border-radius: clamp(14px, 1.6vw, 24px);
  opacity: .85;
  animation: geoFloat 9s ease-in-out infinite reverse, geoSpin 20s linear infinite reverse;
}

.geo-outline-sq {
  width: clamp(50px, 6vw, 84px);
  aspect-ratio: 1;
  border: clamp(6px, 0.7vw, 9px) solid var(--geo-teal);
  background: transparent;
  border-radius: clamp(16px, 1.8vw, 26px);
  bottom: clamp(80px, 11vw, 150px);
  left: clamp(84px, 10vw, 150px);
  opacity: .5;
  animation: geoSpin 30s linear infinite, geoFloat 10s ease-in-out infinite;
}

.geo-arch {
  width: clamp(96px, 11vw, 150px);
  height: clamp(48px, 5.5vw, 75px);
  background: var(--geo-coral);
  bottom: clamp(24px, 4.5vw, 60px);
  right: clamp(20px, 4vw, 72px);
  border-radius: 150px 150px 0 0;
  opacity: .8;
  animation: geoDrift 16s ease-in-out infinite reverse;
}

@keyframes geoFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-22px);
  }
}

@keyframes geoDrift {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-18px, 16px);
  }
}

@keyframes geoSpin {
  from {
    rotate: 0deg;
  }

  to {
    rotate: 360deg;
  }
}

@media (max-width: 700px) {

  .geo-ring,
  .geo-outline-sq,
  .geo-circ2 {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc-card {
    transform: none !important;
    transition: none;
  }

  .svc-card .media img {
    transition: none;
  }

  .geo {
    animation: none !important;
  }
}

@media (max-width: 1366px) {
  :root {
    --arch-max-drop: 24px;
  }

  .svc-track {
    padding-top: 30px;
    padding-bottom: 36px;
  }

  .svc-card {
    flex: 0 0 clamp(260px, 24vw, 310px);
    padding: 12px 12px 20px;
    border-radius: 20px;
  }

  .svc-card .media {
    aspect-ratio: 4 / 2.6;
    margin-bottom: 14px;
    border-radius: 12px;
  }

  .svc-card h3 {
    font-size: 18px;
    line-height: 26px;
    margin: 0 4px 8px;
    letter-spacing: 0.5px;
  }

  .svc-card p {
    font-size: 13px;
    line-height: 20px;
    min-height: 60px;
    margin: 0 4px 4px;
  }

  .svc-controls {
    margin-top: 4px;
  }

  .svc-card.cta h3.cta-card-title {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }

  .svc-card.cta p.cta-card-desc {
    font-size: 13px;
    line-height: 20px;
    margin-bottom: 1rem;
  }

  .svc-card.cta .btn-cta-connect {
    padding: 10px 20px;
    font-size: 13px;
  }

  /* Removed .works::before override to let it inherit proportional base styles */
  .dropdown-menu {
    top: calc(100% + 15px);
    padding: 0.5rem;
    min-width: 280px;
  }

  .dropdown-link {
    padding: 0.45rem 1rem;
    margin: 0.1rem 0;
    font-size: 14px;
  }
}


@media (max-width: 768px) {
  :root {
    --arch-max-drop: 16px;
  }

  .svc-track {
    padding-top: 20px;
    padding-bottom: 24px;
  }

  .svc-card {
    flex: 0 0 clamp(260px, 55vw, 300px);
    padding: 12px 12px 18px;
    border-radius: 18px;
  }

  .svc-card .media {
    aspect-ratio: 4 / 2.5;
    margin-bottom: 12px;
    border-radius: 10px;
  }

  .svc-card h3 {
    font-size: 16px;
    line-height: 24px;
    margin: 0 4px 6px;
    letter-spacing: 0.5px;
  }

  .svc-card p {
    font-size: 13px;
    line-height: 18px;
    min-height: auto;
    margin: 0 4px 4px;
  }

  .svc-controls {
    margin-top: 0px;
  }

  .what-we-do {
    padding: 6rem 0;
  }

  .what-we-do-heading {
    font-size: 24px;
    line-height: 36px;
  }

  .what-we-do-subheading {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 2.5rem;
  }

  .svc-card.cta h3.cta-card-title {
    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 0.5rem;
  }

  .svc-card.cta p.cta-card-desc {
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 0.75rem;
  }

  .svc-card.cta .btn-cta-connect {
    padding: 8px 18px;
    font-size: 12px;
  }

  /* Removed .works::before override to let it inherit proportional base styles */
}


@media (max-width: 600px) {
  .svc-card {
    flex-basis: 82vw;
  }
}


/* ─── WORKS (PREMIUM AGENCY REVAMP) ─── */
.works {
  padding: 8rem 0;
  background-color: #030A10;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 86.4vw;
  max-height: 700px;
  background-image: url('../img/work-bg.avif');
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
}

.works>.container {
  position: relative;
  z-index: 2;
}

/* ── Section Header ── */
.works-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.works-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #429AB9;
  border: 1px solid #94D2E8;
  padding: 8px 24px;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.works-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 45px;
  letter-spacing: .5px;
  color: #E8F0F6;
  margin-bottom: 1.5rem;
  max-width: 820px;
}

.works-heading .highlight {
  background: linear-gradient(90deg, #429AB9 0%, #06588C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.works-bar {
  width: 150px;
  height: 4px;
  background: linear-gradient(90deg, #429AB9 0%, #06588C 100%);
  margin-bottom: 2.5rem;
  border-radius: 2px;
}

.works-description {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #E8F0F6;
  line-height: 35px;
  letter-spacing: 0.4px;
  margin-bottom: 4rem;
  max-width: 800px;
}

/* ── Grid ── */
.works-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  z-index: 2;
}

/* ── Work Card (Premium) ── */
.work-card {
  position: relative;
  aspect-ratio: 430 / 318;
  height: auto;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  text-decoration: none;
  border: none;
  background: #06121C;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Creative Circular Arrow Wrapper */
.work-arrow-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
  flex-shrink: 0;
}

.work-arrow {
  width: 18px;
  height: 18px;
  color: #FFFFFF;
  transition: transform 0.3s ease, color 0.3s ease;
}

.work-card:hover .work-arrow-wrapper {
  background: #FFFFFF;
  border-color: #FFFFFF;
}

.work-card:hover .work-arrow {
  color: #030A10;
  transform: translate(3px, -3px);
}

.work-card.reset-tilt {
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.5s ease, box-shadow 0.5s ease;
}

.work-card:hover {
  border-color: rgba(66, 154, 185, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Full-bleed image */
.work-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.work-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-card:hover .work-card-media img {
  transform: scale(1.05);
}

/* Gradient overlay */
.work-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 45%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Info block */
.work-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
}

.work-title {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  color: #FFFFFF;
  margin: 0;
  padding-right: 1.5rem;
}



/* CTA Card Variant */
.work-card.cta-card {
  background: #000000;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.cta-card-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  z-index: 2;
}

.cta-title {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 34px;
  color: #FFFFFF;
  margin: 0;
}

.cta-arrow-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
  flex-shrink: 0;
}

.cta-arrow {
  width: 20px;
  height: 20px;
  color: #FFFFFF;
  transition: transform 0.3s ease, color 0.3s ease;
}

.work-card.cta-card:hover .cta-arrow-wrapper {
  background: #FFFFFF;
  border-color: #FFFFFF;
}

.work-card.cta-card:hover .cta-arrow {
  color: #000000;
  transform: translate(3px, -3px);
}

/* ── View All Button — Dark Theme ── */
.works-btn-container {
  margin-top: 4rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.view-all-works {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-poppins);
  font-size: 16px;
  font-weight: 600;
  background: transparent;
  color: var(--gold);
  padding: 14px 36px;
  border-radius: 100px;
  border: 1px solid rgba(200, 169, 126, 0.3);
  box-shadow: none;
  transition: all 0.4s var(--ease-out-expo);
}

.view-all-works svg {
  width: 20px;
  height: 20px;
  transition: transform 0.4s var(--ease-spring);
}

.view-all-works:hover {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(200, 169, 126, 0.2);
}

.view-all-works:hover svg {
  transform: translateX(6px);
}

/* ─── Works Showcase Filter Bar & Sliding Pills ─── */
.works-filter-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 4.5rem;
  position: relative;
  z-index: 5;
}

.works-filter-pills {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 6px;
  border-radius: 100px;
  position: relative;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.filter-pill {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-poppins);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 11px 26px;
  border-radius: 100px;
  cursor: pointer;
  transition: color 0.35s ease, transform 0.2s ease;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
}

.filter-pill:hover {
  color: var(--white);
}

.filter-pill.active {
  color: var(--navy-dark) !important;
}

.filter-pill-bg {
  position: absolute;
  top: 6px;
  left: 6px;
  height: calc(100% - 12px);
  background: var(--gold);
  border-radius: 100px;
  z-index: 1;
  transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 18px rgba(200, 169, 126, 0.35);
  pointer-events: none;
}

/* ─── Bento Grid Adaptation on Filtering ─── */
.works-showcase.is-filtered {
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  max-width: 800px;
  margin: 0 auto;
  gap: 2.5rem;
}

.works-showcase.is-filtered .work-card {
  grid-column: 1 / -1 !important;
  grid-row: auto !important;
  min-height: 480px;
}

/* ─── Frosted Campaign Details Drawer (Premium Slide-over) ─── */
.works-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.5s ease;
}

.works-drawer[aria-hidden="false"] {
  visibility: visible;
  pointer-events: all;
}

.works-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 11, 18, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.works-drawer[aria-hidden="false"] .works-drawer-overlay {
  opacity: 1;
}

.works-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 680px;
  height: 100%;
  background: linear-gradient(150deg, rgba(14, 25, 36, 0.96) 0%, rgba(7, 13, 20, 0.99) 100%);
  border-left: 1px solid rgba(200, 169, 126, 0.12);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
  transform: translateX(100%);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  scrollbar-width: none;
  z-index: 5;
}

.works-drawer-content::-webkit-scrollbar {
  display: none;
}

.works-drawer[aria-hidden="false"] .works-drawer-content {
  transform: translateX(0);
}

.works-drawer-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 10;
}

.works-drawer-close:hover {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
  transform: rotate(90deg) scale(1.05);
  box-shadow: 0 4px 15px rgba(200, 169, 126, 0.4);
}

.works-drawer-close svg {
  width: 20px;
  height: 20px;
}

.works-drawer-body {
  padding: 5.5rem 3.5rem 4.5rem 3.5rem;
}

.works-drawer-header {
  margin-bottom: 3rem;
}

.works-drawer-tag {
  font-family: var(--font-poppins);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.works-drawer-title {
  font-family: var(--font-poppins);
  font-size: clamp(34px, 4.5vw, 48px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin: 0 0 1.25rem 0;
  letter-spacing: -1px;
}

.works-drawer-brief {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
  margin: 0;
  max-width: 520px;
}

.works-drawer-hero-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 3.5rem;
  border: 1px solid rgba(200, 169, 126, 0.1);
  aspect-ratio: 16/10;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.works-drawer-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.works-drawer-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 13, 20, 0.65) 0%, transparent 100%);
}

.works-drawer-section-title {
  font-family: var(--font-poppins);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(200, 169, 126, 0.12);
  padding-bottom: 0.85rem;
}

.works-drawer-metrics-container {
  margin-bottom: 3.5rem;
}

.works-drawer-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.75rem 1.25rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.metric-card:hover {
  background: rgba(200, 169, 126, 0.04);
  border-color: rgba(200, 169, 126, 0.22);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.metric-val {
  font-family: var(--font-poppins);
  font-size: 30px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.35rem;
  display: block;
}

.metric-label {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.works-drawer-story {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 4rem;
}

.story-block p {
  font-family: var(--font-body);
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin: 0;
}

.works-drawer-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.service-tag {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 7px 16px;
  border-radius: 100px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.service-tag:hover {
  background: rgba(200, 169, 126, 0.1);
  color: var(--white);
  border-color: rgba(200, 169, 126, 0.3);
}

.works-drawer-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 3rem;
}

.drawer-cta {
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .works-filter-pills {
    flex-wrap: wrap;
    border-radius: 20px;
    justify-content: center;
  }

  .filter-pill-bg {
    display: none;
    /* Hide interactive background slider on mobile to avoid overlap bugs */
  }

  .filter-pill.active {
    background: var(--gold) !important;
  }

  .works-drawer-content {
    max-width: 100%;
  }

  .works-drawer-body {
    padding: 4.5rem 2rem 3rem 2rem;
  }

  .works-drawer-metrics {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ── Logo Marquee ── */
.logo-marquee {
  margin-top: 6rem;
  padding: 4rem 0;
  background: transparent;
  position: relative;
  z-index: 2;
  overflow: hidden;
}



.logo-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
}

.logo-track:hover {
  animation-play-state: paused !important;
}

/* Dual directions animations */
.logo-track--left {
  animation: marqueeScrollLeft 60s linear infinite;
}

.logo-track--right {
  animation: marqueeScrollRight 60s linear infinite;
}

.logo-box {
  width: 180px;
  height: 80px;
  background: transparent;
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  transition: all 0.4s var(--ease-out-expo);
  overflow: hidden;
}

.logo-box:hover {
  transform: translateY(-4px) scale(1.05);
}

.client-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 1;
  filter: grayscale(1);
  transition: opacity 0.4s var(--ease-out-expo), filter 0.4s var(--ease-out-expo);
  border-radius: 12px;
}

.logo-box:hover .client-logo-img {
  filter: grayscale(0);
}

@keyframes marqueeScrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes marqueeScrollRight {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

.works .logo-marquee::before,
.works .logo-marquee::after,
.logo-marquee::before,
.logo-marquee::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

/* ─── THE EDGE ─── */
.edge-section {
  padding: 4rem 0 2rem 0;
  background: #E8F0F6;
  overflow: hidden;
}

.edge-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}

.edge-header-left {
  max-width: 900px;
}

.edge-section-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #06588C;
  border: 1px solid #94D2E8;
  padding: 8px 24px;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.edge-section-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 500;
  line-height: 45px;
  letter-spacing: 1.5px;
  color: #012348;
  margin-bottom: 1.5rem;
  max-width: 820px;
}

.edge-section-heading .highlight {
  background: linear-gradient(90deg, #429AB9 0%, #06588C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.edge-bar {
  width: 150px;
  height: 4px;
  background: linear-gradient(90deg, #429AB9 0%, #06588C 100%);
  margin-bottom: 2.5rem;
  border-radius: 2px;
  margin-top: 1.5rem;
}

.edge-nav-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.edge-nav-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(14, 46, 69, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 4px 12px rgba(14, 46, 69, 0.04);
}

.edge-nav-btn svg {
  width: 22px;
  height: 22px;
  transition: transform 0.4s var(--ease-out-expo);
}

.edge-nav-btn:hover {
  background: #06588C;
  color: var(--white);
  border-color: #06588C;
  box-shadow: 0 10px 20px rgba(14, 46, 69, 0.12);
}

.edge-nav-btn.prev:hover svg {
  transform: translateX(-4px);
}

.edge-nav-btn.next:hover svg {
  transform: translateX(4px);
}

.edge-scroller {
  width: 100%;
  position: relative;
}

.edge-track {
  display: flex;
  gap: 2.5rem;
  overflow-x: auto;
  padding: 0.75rem 1.5rem 2rem 1.5rem;
  margin: 0 -1.5rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* Hide scrollbar for clean look */
}

.edge-track::-webkit-scrollbar {
  display: none;
}

.edge-card {
  flex: 0 0 380px;
  height: 295px;
  border-radius: 28px;
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  scroll-snap-align: start;
  transition: all 0.5s var(--ease-out-expo);
  border: none;
  background-image: url('../img/the-edge-bg.png');
  background-size: cover;
  background-position: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  color: var(--white);
}

@media (max-width: 768px) {
  .edge-card {
    flex: 0 0 310px;
    height: 310px;
    padding: 2.2rem 2rem;
  }
}

.edge-card-num {
  position: absolute;
  top: 2rem;
  right: 2.2rem;
  font-family: var(--font-poppins);
  font-size: 40px;
  font-weight: 700;
  opacity: 0.15;
  color: var(--white);
  z-index: 2;
}

.edge-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.edge-card h3 {
  font-family: var(--font-poppins);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.edge-card p {
  font-family: var(--font-poppins);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.edge-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.edge-card:active {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

@media (min-width: 1024px) {
  .edge-card {
    flex: 0 0 calc((100% - 5rem) / 3);
  }
}

/* ─── TESTIMONIALS SECTION ─── */
.testimonials-section {
  padding: 3.5rem 0 8rem 0;
  background: #E8F0F6;
  position: relative;
  overflow: hidden;
}

.testimonials-grid-bg {
  display: none;
}

.testimonials-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #06588C;
  border: 1px solid #94D2E8;
  padding: 8px 24px;
  border-radius: 100px;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.testimonials-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 500;
  line-height: 45px;
  letter-spacing: 1.5px;
  color: var(--navy);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.testimonials-bar {
  width: 150px;
  height: 4px;
  background: linear-gradient(90deg, #429AB9 0%, #06588C 100%);
  margin-bottom: 4.5rem;
  border-radius: 2px;
  margin-top: 1.5rem;
}

.testimonials-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.testimonial-card-premium {
  display: grid;
  grid-template-columns: 360px 1fr;
  background: var(--white);
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(14, 46, 69, 0.05);
  border: 1px solid rgba(14, 46, 69, 0.04);
  position: relative;
  z-index: 2;
  transition: all 0.6s var(--ease-out-expo);
}

.testimonial-card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 45px 90px rgba(14, 46, 69, 0.12);
  border-color: rgba(255, 107, 71, 0.3);
}

/* Left Spotlight Block */
.testimonial-brand-spotlight {
  background: var(--navy-dark);
  padding: 4.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-right: 1px solid rgba(246, 237, 222, 0.05);
}

.spotlight-circle-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 71, 0.12) 0%, rgba(255, 107, 71, 0) 70%);
  pointer-events: none;
  z-index: 1;
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.1);
    opacity: 1.2;
  }
}

.spotlight-particles .particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #FF6B47;
  border-radius: 50%;
  opacity: 0.15;
  pointer-events: none;
}

.spotlight-particles .p-1 {
  top: 20%;
  left: 25%;
  animation: floatUp 8s ease-in-out infinite;
}

.spotlight-particles .p-2 {
  bottom: 25%;
  right: 20%;
  animation: floatUp 11s ease-in-out infinite;
  animation-delay: 2s;
}

.spotlight-particles .p-3 {
  top: 65%;
  left: 80%;
  animation: floatUp 9s ease-in-out infinite;
  animation-delay: 4s;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.1;
  }

  50% {
    transform: translateY(-20px) scale(1.3);
    opacity: 0.3;
  }

  100% {
    transform: translateY(-40px) scale(1);
    opacity: 0.1;
  }
}

.brand-logo-container {
  position: relative;
  width: 200px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.5s var(--ease-out-expo);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 107, 71, 0.08);
  border-radius: 24px;
  padding: 0.75rem;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.honda-brand-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.5s var(--ease-out-expo);
  filter: drop-shadow(0 0 8px rgba(255, 107, 71, 0.15)) brightness(0.9);
}

.testimonial-card-premium:hover .brand-logo-container {
  transform: scale(1.05) translateY(-5px);
  background: rgba(255, 107, 71, 0.06);
  border-color: rgba(255, 107, 71, 0.3);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(255, 107, 71, 0.1);
}

.testimonial-card-premium:hover .honda-brand-logo {
  filter: drop-shadow(0 0 15px rgba(255, 107, 71, 0.45)) brightness(1.1);
}

.brand-badge-tag {
  font-family: var(--font-poppins);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #FF6B47;
  background: rgba(255, 107, 71, 0.1);
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255, 107, 71, 0.2);
  z-index: 2;
  transition: all 0.4s ease;
}

.testimonial-card-premium:hover .brand-badge-tag {
  background: #FF6B47;
  color: #FFFFFF;
  border-color: #FF6B47;
  box-shadow: 0 5px 15px rgba(255, 107, 71, 0.3);
}

/* Right Narrative Block */
.testimonial-narrative {
  padding: 5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
}

.quote-watermark {
  position: absolute;
  top: 3rem;
  right: 4rem;
  color: var(--navy);
  opacity: 0.03;
  width: 140px;
  height: 140px;
  pointer-events: none;
  transition: all 0.6s var(--ease-out-expo);
  z-index: 1;
}

.testimonial-card-premium:hover .quote-watermark {
  opacity: 0.06;
  transform: scale(1.1) rotate(-5deg);
  color: #FF6B47;
}

.testimonial-body {
  position: relative;
  z-index: 2;
  margin-bottom: 2.5rem;
}

.premium-quote-text {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.3vw, 25px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--navy);
  letter-spacing: -0.2px;
  margin: 0;
}

.testimonial-meta-block {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.meta-divider {
  width: 40px;
  height: 2px;
  background: #FF6B47;
  transition: all 0.4s ease;
}

.testimonial-card-premium:hover .meta-divider {
  width: 60px;
  background: var(--navy);
}

.meta-details {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.meta-name {
  font-family: var(--font-poppins);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.meta-org {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-dot {
  width: 4px;
  height: 4px;
  background: #FF6B47;
  border-radius: 50%;
}

.meta-company {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 900px) {
  .testimonial-card-premium {
    grid-template-columns: 1fr;
  }

  .testimonial-brand-spotlight {
    padding: 3.5rem 2rem;
    border-right: none;
    border-bottom: 1px solid rgba(14, 46, 69, 0.05);
  }

  .testimonial-narrative {
    padding: 3.5rem 2.5rem;
  }

  .quote-watermark {
    top: 2rem;
    right: 2rem;
    width: 100px;
    height: 100px;
  }
}

/* ─── CTA BANNER ─── */
.cta-banner {
  padding: 8rem 0;
  background: radial-gradient(circle at 50% -20%, rgba(66, 154, 185, 0.15) 0%, rgba(5, 8, 17, 0) 60%), radial-gradient(circle at 50% 120%, rgba(6, 88, 140, 0.18) 0%, rgba(5, 8, 17, 0) 65%), #050811;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 32px;
  margin: 0 2rem 6rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), inset 0 1px 0px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Background Glow */
.cta-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(148, 210, 232, 0.05) 0%, rgba(5, 8, 17, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

/* Floating Orbs */
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 2;
  transition: all 1s ease;
}

.cta-orb-1 {
  width: 350px;
  height: 350px;
  background: #429AB9;
  top: -10%;
  right: 5%;
  animation: floatOrb1 25s ease-in-out infinite alternate;
}

.cta-orb-2 {
  width: 380px;
  height: 380px;
  background: #06588C;
  bottom: -15%;
  left: 10%;
  animation: floatOrb2 30s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-40px, 30px) scale(1.1);
  }

  100% {
    transform: translate(20px, -20px) scale(0.95);
  }
}

@keyframes floatOrb2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(60px, -40px) scale(0.95);
  }

  100% {
    transform: translate(-30px, 30px) scale(1.1);
  }
}

/* Tech Grid Lines */
.cta-grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  opacity: 0.5;
  mask-image: radial-gradient(circle, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle, black 30%, transparent 80%);
  z-index: 3;
  pointer-events: none;
  animation: gridPulse 10s ease-in-out infinite;
}

@keyframes gridPulse {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.6;
  }
}

/* Grain Overlay */
.cta-banner-grain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.02;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 4;
}

.cta-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #429AB9;
  border: 1px solid #94D2E8;
  background: rgba(148, 210, 232, 0.15);
  padding: 8px 24px;
  border-radius: 100px;
  margin-bottom: 2.2rem;
}

.cta-title {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 45px;
  letter-spacing: 1.5px;
  color: #E8F0F6;
  margin: 0 auto 1.5rem;
  max-width: 820px;
}

.cta-title .highlight {
  background: linear-gradient(90deg, #429AB9 0%, #94D2E8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  display: inline-block;
}

.cta-description {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  line-height: 1.6;
  color: rgba(232, 240, 246, 0.65);
  max-width: 600px;
  margin: 1.5rem auto 3.5rem;
}

.premium-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: #FFFFFF;
  color: #050811;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 5;
}

.premium-cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(148, 210, 232, 0.25);
  background: #E8F0F6;
  color: #06588C;
}

.btn-arrow-icon {
  width: 32px;
  height: 32px;
  background: rgba(5, 8, 17, 0.05);
  color: #050811;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-cta-btn:hover .btn-arrow-icon {
  background: #06588C;
  color: #FFFFFF;
  transform: translateX(4px);
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--cream);
  padding: 2rem 0 2rem;
  color: #000000;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  gap: 3rem;
  flex-wrap: nowrap;
}

.footer-brand {
  max-width: 350px;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-brand .logo img {
  filter: none;
}

.footer-desc {
  color: #4B4B4B;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  color: #000000;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: #000000;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-links {
  display: flex;
  gap: 4rem;
  flex-wrap: nowrap;
}

.footer-col h4 {
  color: #000000;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: none;
  letter-spacing: 0;
}

.footer-col a {
  display: block;
  color: #4B4B4B;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
  font-weight: 400;
}

.footer-col a:hover {
  color: #000000;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  color: #888888;
  font-size: 0.9rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: #888888;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #000000;
}

/* ─── CONTACT INFO ─── */
.contact-info {
  margin-top: 2.5rem;
}

.contact-info .contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #4B4B4B;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact-info .contact-link:hover {
  color: #000000;
}

.contact-info .contact-icon {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.contact-info .prominent-phone {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-top: 0.5rem;
}

.contact-info .prominent-phone:hover {
  color: var(--navy);
}

/* ─── MOBILE MENU ─── */
.hamburger-menu {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1000;
}

.hamburger-menu .bar {
  width: 25px;
  height: 2px;
  background-color: var(--navy);
  transition: all 0.3s ease;
  display: block;
}

.hamburger-menu.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hamburger-menu.active .bar {
  background-color: #FFFFFF;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {

  /* --- TABLET/MOBILE CORE NAVIGATION --- */
  .hamburger-menu {
    display: flex;
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(241, 246, 250, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 120px;
    padding-bottom: 40px;
    align-items: center;
    gap: 1.75rem;
    transform: translateY(-100%);
    transition: transform 0.4s var(--ease-out-expo);
    z-index: 999;
    overflow-y: auto;
  }

  .main-nav .nav-link {
    color: var(--navy);
    font-size: 1.25rem;
    font-weight: 600;
  }

  .main-nav .nav-link:hover,
  .main-nav .nav-link.active {
    color: #FF6B47;
  }

  .main-nav.active {
    transform: translateY(0);
  }

  .hamburger-menu.active .bar {
    background-color: var(--navy);
  }

  .nav-item {
    flex-direction: column;
    width: 100%;
  }

  .nav-item.mobile-open .nav-link svg.chevron {
    transform: rotate(180deg);
  }

  .nav-item:hover .dropdown-menu,
  .nav-item:hover .mega-menu {
    display: none;
  }

  .nav-item.mobile-open .dropdown-menu,
  .nav-item.mobile-open .mega-menu {
    display: block;
    position: static;
    transform: none !important;
    background: rgba(1, 35, 72, 0.04);
    border-radius: 16px;
    margin-top: 0.5rem;
    box-shadow: none;
    border: none;
    padding: 0.75rem 0;
    width: 100%;
    opacity: 1;
    visibility: visible;
  }

  .nav-item.mobile-open .dropdown-menu {
    text-align: center;
  }

  .main-nav .dropdown-link {
    color: var(--navy);
    font-size: 1rem;
    padding: 0.6rem 1.25rem;
  }

  .main-nav .dropdown-link:hover {
    background: rgba(1, 35, 72, 0.08);
    color: #FF6B47;
  }

  .nav-item.mobile-open .mega-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0;
    text-align: center;
  }

  .nav-container {
    padding: 1rem 1.25rem;
    position: relative;
  }

  .logo {
    position: relative;
    z-index: 1001;
  }

  .logo img {
    width: 130px;
    height: 57px;
  }

  .hero-bg {
    background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('../img/hero-banner.avif');
  }

  .hero {
    padding: 120px 0 50px 0;
    min-height: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: visible;
  }

  .hero>.container {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    min-height: auto;
    height: auto;
    padding-bottom: 2rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-badge {
    width: auto;
    height: auto;
    max-width: 100%;
    margin-bottom: 1.25rem;
    padding: 0.45rem 1.15rem;
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .hero-title {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    line-height: 1.35;
    margin-bottom: 1.5rem;
    text-align: left;
  }

  .hero-underline {
    margin: 0 0 1.5rem 0;
  }

  .hero-description {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 2rem;
    text-align: left;
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  /* --- TABLET STATS BAR --- */
  .hero-stats-bar {
    padding: 0 1rem;
    transform: translateY(30px);
  }

  .hero-stats-inner {
    width: auto;
    height: auto;
    margin: 0 auto;
    flex-wrap: wrap;
    padding: 1.5rem;
    gap: 1.5rem 1rem;
    border-radius: 16px;
  }

  .hero-stat {
    flex: 0 0 calc(50% - 1rem);
    min-width: 0;
  }

  .hero-stat-divider {
    display: none;
  }

  /* --- TABLET GRID OVERRIDES --- */
  .what-we-do-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .what-we-do-image {
    max-height: 400px;
    aspect-ratio: 16/9;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .works-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .work-card {
    height: auto;
  }
}

@media (max-width: 768px) {

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .works-showcase {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .work-card {
    height: auto;
  }

  /* --- PRECISION MOBILE OVERRIDES --- */
  .container {
    padding: 0 1.25rem;
  }

  .hero {
    padding: 110px 0 50px 0;
    min-height: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: visible;
  }

  .hero>.container {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: auto;
    height: auto;
    padding-bottom: 2rem;
  }

  .hero-bg {
    background-size: cover;
    background-position: right center;
    opacity: 1;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-brand-name {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
    text-align: center;
  }

  .hero-badge {
    width: auto;
    height: auto;
    max-width: 100%;
    margin-bottom: 1.25rem;
    padding: 0.45rem 1.15rem;
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .hero-title {
    width: auto;
    height: auto;
    font-size: clamp(1.4rem, 5vw, 2rem);
    line-height: 1.3;
    margin-bottom: 1.25rem;
    text-align: center;
    border: none;
    -webkit-text-stroke: none;
  }

  .hero-underline {
    margin: 0 auto 1.25rem;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 0;
    text-align: center;
    max-width: 100%;
  }

  .hero-desc-line1,
  .hero-desc-line2 {
    font-size: 14px;
    font-weight: 500;
  }

  .hero-buttons {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
    width: 100%;
    justify-content: center;
  }

  .hero-buttons .cta-main,
  .hero-buttons .btn-outline-link {
    width: 100%;
    height: 52px;
    justify-content: center;
    padding: 0 20px;
    font-size: 0.95rem;
    gap: 12px;
  }

  .hero-buttons .btn-secondary-link {
    font-size: 15px;
    padding: 8px 12px;
  }

  .hero-stats-bar {
    padding: 0 1rem;
    transform: translateY(30px);
  }

  .hero-stats-inner {
    width: auto;
    height: auto;
    margin: 0 auto;
    flex-wrap: wrap;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
    border-radius: 16px;
  }

  .hero-stat {
    flex: 0 0 calc(50% - 1rem);
    min-width: 0;
  }

  @media (max-width: 576px) {
    .hero-stat {
      flex: 0 0 100%;
    }
  }

  .hero-stat-divider {
    display: none;
  }

  .hero-stat-img {
    width: 40px;
    height: 40px;
  }

  .hero-stat-number {
    font-size: 1.15rem;
  }

  .hero-stat-label {
    font-size: 0.72rem;
  }

  .hero-stat-sub {
    font-size: 0.65rem;
  }

  .hero-scroll-down {
    margin-top: 10px;
    width: 38px;
    height: 38px;
  }

  .hero-scroll-down svg {
    width: 18px;
    height: 18px;
  }

  .what-we-do-label {
    font-size: 18px;
    margin-bottom: 1rem;
  }

  .what-we-do-heading {
    font-size: clamp(1.5rem, 6vw, 1.5rem);
    line-height: 1.25;
    margin-bottom: 1.5rem;
  }

  .what-we-do-subheading {
    font-size: clamp(1.15rem, 4vw, 1.35rem);
    line-height: 1.45;
    margin-bottom: 2.5rem;
  }

  .works-heading {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    line-height: 1.25;
    margin-bottom: 1.5rem;
  }

  .works-description {
    font-size: clamp(1.15rem, 4vw, 1.35rem);
    line-height: 1.45;
    margin-bottom: 2.5rem;
  }

  .works-label {
    font-size: 20px;
    margin-bottom: 1rem;
  }

  .works-header {
    margin-bottom: 2.5rem;
  }

  .edge-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .edge-section-label {
    font-size: 16px;
    padding: 6px 18px;
    margin-bottom: 1rem;
  }

  .edge-section-heading {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    line-height: 1.25;
  }

  .edge-nav-buttons {
    margin-bottom: 0;
    gap: 0.75rem;
    align-self: flex-end;
  }

  .edge-nav-btn {
    width: 48px;
    height: 48px;
  }

  .edge-nav-btn svg {
    width: 18px;
    height: 18px;
  }

  .testimonials-label {
    font-size: 16px;
    padding: 6px 18px;
    margin-bottom: 1rem;
  }

  .testimonials-heading {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    line-height: 1.25;
    margin-bottom: 2.5rem;
  }

  .cta-banner {
    margin: 0 1rem 2rem;
    padding: 4rem 1.25rem;
    border-radius: 16px;
  }

  .cta-label {
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
  }

  .cta-title {
    font-size: clamp(1.6rem, 5.2vw, 2.2rem);
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
  }

  .premium-cta-btn {
    padding: 12px 28px;
    font-size: 0.95rem;
  }

  .btn-arrow-icon {
    width: 32px;
    height: 32px;
  }

  .services-container {
    grid-template-columns: 1fr;
  }

  .services-image-sticky {
    display: none;
  }

  section,
  .what-we-do,
  .works,
  .edge-section,
  .testimonials-section {
    padding: 4rem 0;
  }

  .footer-top {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-desc {
    margin-bottom: 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    padding: 2rem 0 1rem 0;
  }
}

/* ══════════════════════════════════════
   ─── UNIFIED INTERNAL PAGES CSS ───
   ══════════════════════════════════════ */

/* ─── 1. Fixed-Height Panoramic Banner ─── */
.internal-banner {
  height: 350px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* Subtle Overlay Gradient Mesh */
.internal-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 17, 27, 0.45) 0%, rgba(7, 13, 20, 0.95) 100%);
  z-index: 2;
}

.internal-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at 50% 50%, rgba(200, 169, 126, 0.08) 0%, transparent 60%);
  z-index: 2;
  pointer-events: none;
  animation: bannerMesh 15s ease-in-out infinite alternate;
}

@keyframes bannerMesh {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  100% {
    transform: translate(5%, 5%) rotate(3deg);
  }
}

.internal-banner .container {
  position: relative;
  z-index: 3;
}

.internal-banner-content {
  max-width: 650px;
}

.internal-banner-label {
  font-family: var(--font-poppins);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.internal-banner-title {
  font-family: var(--font-poppins);
  font-size: clamp(34px, 4vw, 45px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin: 0 0 0.5rem 0;
  letter-spacing: -1px;
}

.internal-banner-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
  margin: 0;
}

/* ─── 2. Services directory Grid Page ─── */
.services-directory {
  padding: 8rem 0;
  background: #070d14;
  color: var(--white);
  position: relative;
}

.services-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}

.services-bento-card {
  position: relative;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  text-decoration: none;
}

.services-bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200, 169, 126, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.services-bento-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 169, 126, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(200, 169, 126, 0.1) inset;
}

.services-bento-card:hover::before {
  opacity: 1;
}

.services-bento-card-top {
  position: relative;
  z-index: 2;
  margin-bottom: 2rem;
}

.services-bento-card-icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  transition: transform 0.5s ease;
}

.services-bento-card:hover .services-bento-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.services-bento-card-body {
  position: relative;
  z-index: 2;
}

.services-bento-card-title {
  font-family: var(--font-poppins);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.services-bento-card-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  margin: 0;
}

.services-bento-card-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-poppins);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

.services-bento-card-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease-spring);
}

.services-bento-card:hover .services-bento-card-cta svg {
  transform: translateX(6px);
}

/* ─── 3. Dedicated Service Pillar Layouts ─── */
.service-details-section {
  padding: 8rem 0;
  background: #070d14;
  color: var(--white);
}

.service-detail-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  margin-bottom: 6rem;
  align-items: flex-start;
}

.service-detail-content h2 {
  font-family: var(--font-poppins);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.service-detail-content p {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-detail-highlight {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.service-detail-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold);
}

.service-detail-highlight h3 {
  font-family: var(--font-poppins);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.service-detail-highlight p {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin: 0;
}

/* Internal Stats Showcase */
.service-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 6rem;
}

/* Capabilities list styling */
.capabilities-container {
  margin-bottom: 6rem;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.capability-item {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 2rem 2.25rem;
  border-radius: 16px;
  transition: all 0.4s ease;
}

.capability-item:hover {
  background: rgba(200, 169, 126, 0.03);
  border-color: rgba(200, 169, 126, 0.15);
  transform: translateY(-4px);
}

.capability-item-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.capability-item-top svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.capability-item-title {
  font-family: var(--font-poppins);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.capability-item-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.55;
  margin: 0;
}

/* Navigation Back Anchor */
.back-to-services-container {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 4rem;
  margin-top: 6rem;
}

.back-to-services {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-poppins);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.back-to-services svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease-spring);
}

.back-to-services:hover {
  color: var(--white);
}

.back-to-services:hover svg {
  transform: translateX(-6px);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .services-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail-row {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .internal-banner {
    height: 280px;
  }

  .services-bento-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .services-bento-card {
    min-height: auto;
    padding: 2.5rem 2rem;
  }

  .service-stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Service Card Highlighting Pulse Interaction */
@keyframes highlight-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(200, 169, 126, 0.5);
    border-color: rgba(200, 169, 126, 0.8);
    transform: scale(1);
  }

  25% {
    box-shadow: 0 0 30px 10px rgba(200, 169, 126, 0.35);
    border-color: rgba(200, 169, 126, 1);
    transform: scale(1.02);
  }

  50% {
    box-shadow: 0 0 15px 5px rgba(200, 169, 126, 0.2);
    border-color: rgba(200, 169, 126, 0.9);
    transform: scale(1.01);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(200, 169, 126, 0);
    border-color: rgba(255, 255, 255, 0.05);
    transform: scale(1);
  }
}

.services-bento-card.highlight-glow {
  animation: highlight-pulse 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  z-index: 5;
}

/* =========================================
   MASONRY PORTFOLIO GRID
   ========================================= */
.masonry-grid {
  column-count: 2;
  column-gap: 2rem;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .masonry-grid {
    column-count: 1;
  }
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 2rem;
  width: 100%;
  display: block;
  /* Make sure anchors wrap correctly */
}

/* Glass filter pills */
.glass-pills {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 10px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: fit-content;
  margin: 0 auto;
}

.glass-pills .filter-pill {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: none;
  padding: 8px 20px;
  border-radius: 40px;
  font-family: var(--font-poppins);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.glass-pills .filter-pill:hover,
.glass-pills .filter-pill.active {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.glass-pills .filter-pill-bg {
  display: none;
  /* Hide the background sweep if using simple active state */
}

/* =========================================
   CASE STUDY PAGE LAYOUT
   ========================================= */
.case-study-page main {
  padding-top: 0;
}

.case-hero {
  position: relative;
  padding: 160px 0 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.case-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.case-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 34, 53, 0.2) 0%, rgba(10, 34, 53, 0.8) 50%, rgba(10, 34, 53, 1) 100%);
}

.case-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.case-hero-content .work-tag {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.case-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.case-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
}

/* Case Details Layout */
.case-details {
  padding: 4rem 0 6rem;
  background: var(--navy-dark);
}

.case-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
}

@media (max-width: 900px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}

.case-meta {
  position: sticky;
  top: 120px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
}

.meta-item {
  margin-bottom: 1.5rem;
}

.meta-item:last-child {
  margin-bottom: 0;
}

.meta-item h4 {
  font-family: var(--font-poppins);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin: 0 0 0.5rem;
}

.meta-item p {
  font-size: 15px;
  color: var(--white);
  margin: 0;
  font-weight: 500;
}

.case-section {
  margin-bottom: 4rem;
}

.case-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  margin: 0 0 1.5rem;
}

.case-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

/* Gallery */
.case-gallery {
  padding: 2rem 0 4rem;
  background: var(--navy-dark);
}

.gallery-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 3rem;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-item.large {
  grid-column: 1 / -1;
  height: 500px;
}

@media (max-width: 768px) {
  .gallery-item.large {
    height: 300px;
  }

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.video-placeholder:hover {
  background: rgba(255, 255, 255, 0.05);
}

.play-button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s var(--ease-spring);
}

.video-placeholder:hover .play-button {
  transform: scale(1.1);
}

.play-button svg {
  width: 24px;
  height: 24px;
  margin-left: 4px;
  /* optical centering */
}

/* =========================================
   LIGHT THEME CASE STUDY LAYOUT
   ========================================= */
body.light-theme-case {
  background-color: #ffffff;
  color: #111111;
}

.light-theme-case main {
  background-color: #ffffff;
}

/* Header Overrides for Light Theme */
.light-theme-case .site-header .nav-link {
  color: #000000;
}

.light-theme-case .site-header .logo {
  color: #000000;
}

.light-theme-case .hamburger-menu .bar {
  background-color: #000000;
}

.light-hero {
  padding-top: 150px;
  padding-bottom: 4rem;
}

.light-hero-label {
  font-family: var(--font-poppins);
  font-size: 14px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 1rem;
  display: block;
}

.light-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.5px;
}

/* Metadata Bar */
.light-meta-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
  padding: 3rem 0;
  margin-top: 6rem;
  margin-bottom: 6rem;
}

.light-meta-item {
  border-right: 1px solid #f0f0f0;
  padding-right: 2rem;
}

.light-meta-item:last-child {
  border-right: none;
  padding-right: 0;
}

.light-meta-item h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: #222222;
  margin: 0 0 0.75rem 0;
}

.light-meta-item p {
  font-family: var(--font-poppins);
  font-size: 15px;
  font-weight: 500;
  color: #555555;
  margin: 0;
}

@media (max-width: 900px) {
  .light-meta-bar {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 3rem;
  }

  .light-meta-item:nth-child(2) {
    border-right: none;
    padding-right: 0;
  }

  .light-meta-item {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 3rem;
  }

  .light-meta-item:nth-last-child(-n+2) {
    border-bottom: none;
    padding-bottom: 0;
  }
}

@media (max-width: 500px) {
  .light-meta-bar {
    grid-template-columns: 1fr;
  }

  .light-meta-item {
    border-right: none !important;
    padding-right: 0 !important;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 2rem;
  }

  .light-meta-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* 2-Column Text Section */
.light-content-section {
  padding-bottom: 6rem;
}

.light-content-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.light-content-row:last-child {
  margin-bottom: 0;
}

.light-content-heading h2 {
  font-family: var(--font-poppins);
  font-weight: 500;
  font-size: 24px;
  color: #000000;
  margin: 0;
}

.light-content-body p {
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.8;
  color: #333333;
  margin: 0 0 1.5rem;
}

.light-content-body ul {
  margin: 0 0 1.5rem;
  padding-left: 1.35rem;
  list-style: none;
}

.light-content-body ul li {
  position: relative;
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 0.75rem;
}

.light-content-body ul li::before {
  content: '';
  position: absolute;
  left: -1.35rem;
  top: 0.85em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-mid);
}

.light-content-body ul li:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .light-content-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Masonry override for light theme */
.light-theme-case .masonry-grid {
  margin-top: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   LIGHT THEME PORTFOLIO (work.html)
   ========================================= */
body.light-theme-portfolio {
  background-color: #ffffff;
  color: #000000;
}

body.light-theme-portfolio main {
  background-color: #ffffff;
}

body.light-theme-portfolio .site-header .nav-link,
body.light-theme-portfolio .site-header .logo {
  color: #000000;
}

body.light-theme-portfolio .hamburger-menu .bar {
  background-color: #000000;
}

/* Portfolio Light Typography (From Style Guide) */
.portfolio-light-header {
  padding-top: 180px;
  margin-bottom: 5rem;
  text-align: left;
}

.portfolio-light-title {
  font-family: var(--font-poppins);
  font-weight: 500;
  font-size: 24px;
  color: #000000;
  margin-bottom: 1.5rem;
}

.portfolio-light-subtitle {
  font-family: var(--font-poppins);
  font-weight: 500;
  font-size: 20px;
  color: #000000;
  margin: 0;
}

/* Navy Pill Filter Bar for Light Theme */
.light-theme-portfolio .works-filter-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 5rem;
}

.light-theme-portfolio .glass-pills {
  background: #0B1E2E;
  /* Dark navy from image */
  border: none;
  border-radius: 100px;
  padding: 8px 16px;
  backdrop-filter: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  gap: 12px;
}

.light-theme-portfolio .filter-pill {
  font-family: var(--font-poppins);
  font-weight: 300;
  /* Poppins Light */
  font-size: 16px;
  color: #F6EDDE;
  letter-spacing: 0.05em;
  /* 5% spacing */
  padding: 10px 16px;
  transition: all 0.3s ease;
}

.light-theme-portfolio .filter-pill:hover,
.light-theme-portfolio .filter-pill.active {
  background: #F6EDDE;
  color: #0B1E2E;
  opacity: 1;
  border-radius: 100px;
}

/* Mobile pill slider */
@media (max-width: 768px) {
  .light-theme-portfolio .works-filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    /* space for scroll */
  }

  .light-theme-portfolio .works-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .light-theme-portfolio .glass-pills {
    flex-wrap: nowrap;
    white-space: nowrap;
  }
}

/* Equal gaps for masonry grid */
.light-theme-portfolio .masonry-grid {
  column-gap: 24px;
}

.light-theme-portfolio .masonry-item {
  margin-bottom: 24px;
}

/* =========================================
   BOLD SERVICES GRID
   ========================================= */
.bold-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 80px;
}

.bold-service-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 30px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
}

.bold-service-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.bold-service-watermark {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 180px;
  height: 180px;
  color: #000000;
  opacity: 0.03;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  pointer-events: none;
}

.bold-service-watermark svg {
  width: 100%;
  height: 100%;
}

.bold-service-card:hover .bold-service-watermark {
  transform: scale(1.1) rotate(-5deg);
  opacity: 0.06;
}

.bold-service-content {
  position: relative;
  z-index: 2;
}

.bold-service-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.bold-service-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 25px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.bold-service-card:hover .bold-service-desc {
  opacity: 1;
}

.bold-service-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.bold-cta-label {
  font-family: var(--font-poppins);
  font-weight: 500;
  font-size: 14px;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bold-cta-icon {
  width: 32px;
  height: 32px;
  background: #000000;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-10px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bold-cta-icon svg {
  width: 14px;
  height: 14px;
}

.bold-service-card:hover .bold-cta-icon {
  transform: translateX(0);
  opacity: 1;
}

@media (max-width: 768px) {
  .bold-service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .bold-service-card {
    min-height: 250px;
    padding: 30px 20px;
  }

  .bold-service-title {
    font-size: 1.8rem;
  }
}

/* =========================================
   SERVICE DETAIL — IMMERSIVE HERO
   ========================================= */
.sd-immersive {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-bottom: 0;
}

.sd-immersive-img {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.sd-immersive-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sd-immersive-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top,
      rgba(10, 20, 30, 0.92) 0%,
      rgba(10, 20, 30, 0.7) 40%,
      rgba(10, 20, 30, 0.3) 70%,
      rgba(10, 20, 30, 0) 100%);
}

.hero-scrim {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  /* taller = gentler per-pixel slope */
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.955) 22%,
      /* nav plateau — logo + menu sit here */
      rgba(255, 255, 255, 0.82) 35%,
      rgba(255, 255, 255, 0.66) 46%,
      rgba(255, 255, 255, 0.50) 55%,
      rgba(255, 255, 255, 0.36) 63%,
      rgba(255, 255, 255, 0.25) 70%,
      rgba(255, 255, 255, 0.16) 77%,
      rgba(255, 255, 255, 0.095) 83%,
      rgba(255, 255, 255, 0.052) 88%,
      rgba(255, 255, 255, 0.026) 92%,
      rgba(255, 255, 255, 0.009) 96%,
      /* tail decelerates… */
      rgba(255, 255, 255, 0.000) 100%
      /* …into zero with no kick */
    );
}

.sd-immersive-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 80px 0;
}

.sd-immersive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-end;
}

.sd-tag {
  display: inline-block;
  font-family: var(--font-poppins);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #429AB9;
  border: 1px solid #94D2E8;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.sd-tag-dark {
  color: var(--gold);
  border-color: rgba(200, 169, 126, 0.3);
}

.sd-immersive-heading {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.02em;
}

.sd-immersive-heading span {
  color: var(--gold);
}

.about-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #012348;
  margin-bottom: 1.25rem;
}

.sd-immersive .about-heading {
  color: #ffffff;
  margin: 0;
}

.sd-immersive .about-heading span {
  color: var(--geo-amber);
}

.sd-immersive-right p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin: 0 0 16px 0;
}

.sd-immersive-right .sd-muted {
  color: rgba(255, 255, 255, 0.5);
}

/* =========================================
   SERVICE DETAIL — ADVANTAGE STRIP
   ========================================= */
.sd-advantage-strip {
  background: var(--navy);
  padding: 0;
}

.sd-advantage-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 35px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sd-advantage-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(200, 169, 126, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.sd-advantage-icon svg {
  width: 22px;
  height: 22px;
}

.sd-advantage-tag {
  display: block;
  font-family: var(--font-poppins);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 6px;
}

.sd-advantage-content p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin: 0;
}

/* =========================================
   SERVICE DETAIL — EDITORIAL OFFERINGS
   ========================================= */
.sd-offerings {
  padding: 80px 0 60px;
  background: #ffffff;
}

.sd-offerings-header {
  margin-bottom: 50px;
}

.sd-offerings-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: #000000;
  margin: 0;
  letter-spacing: -0.02em;
}

.sd-offerings-list {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.sd-offering-item {
  display: grid;
  grid-template-columns: 80px 1fr 56px;
  align-items: center;
  gap: 30px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: background 0.3s ease, padding-left 0.3s ease;
  cursor: default;
}

.sd-offering-item:hover {
  background: rgba(200, 169, 126, 0.04);
  padding-left: 20px;
}

.sd-offering-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.06);
  line-height: 1;
  transition: color 0.3s ease;
}

.sd-offering-item:hover .sd-offering-num {
  color: var(--gold);
}

.sd-offering-body h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: #000000;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.sd-offering-body p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #888888;
  line-height: 1.5;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
}

.sd-offering-item:hover .sd-offering-body p {
  max-height: 60px;
  opacity: 1;
  margin-top: 8px;
}

.sd-offering-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.2);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.sd-offering-icon svg {
  width: 24px;
  height: 24px;
}

.sd-offering-item:hover .sd-offering-icon {
  border-color: var(--gold);
  color: var(--gold);
}

/* Cloud Label */
.sd-cloud-label {
  text-align: center;
  font-family: var(--font-poppins);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #999999;
  margin-bottom: 20px;
}

/* =========================================
   SERVICE DETAIL — RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
  .sd-immersive {
    min-height: 60vh;
  }

  .sd-immersive-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sd-immersive-heading {
    font-size: 2.6rem;
  }

  .sd-offerings-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .sd-immersive {
    min-height: auto;
    padding-bottom: 0;
  }

  .sd-immersive-content {
    padding: 60px 0;
  }

  .sd-immersive-heading {
    font-size: 2rem;
  }

  .sd-offering-item {
    grid-template-columns: 50px 1fr 44px;
    gap: 16px;
    padding: 24px 0;
  }

  .sd-offering-num {
    font-size: 1.6rem;
  }

  .sd-offering-body h3 {
    font-size: 1.1rem;
  }

  .sd-offering-body p {
    max-height: none;
    opacity: 1;
    margin-top: 6px;
  }

  .sd-offering-icon {
    width: 44px;
    height: 44px;
  }

  .sd-offering-icon svg {
    width: 20px;
    height: 20px;
  }

  .sd-advantage-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .sd-offerings-title {
    font-size: 1.8rem;
  }
}


/* =========================================
   SERVICE CLOUD (BOTTOM NAV)
   ========================================= */
.service-cloud-section {
  padding: 40px 0 60px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 0;
}

.service-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cloud-pill {
  display: inline-block;
  padding: 12px 24px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 100px;
  font-family: var(--font-poppins);
  font-size: 14px;
  font-weight: 500;
  color: #333333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cloud-pill:hover,
.cloud-pill.active {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


.light-theme-portfolio .filter-pill-bg {}

/* Shared styles for case study banner matching portfolio */
.light-theme-case .works-filter-bar {
  display: flex;
  justify-content: flex-start;
}

.light-theme-case .glass-pills {
  background: #0B1E2E;
  border: none;
  border-radius: 100px;
  padding: 8px 16px;
  backdrop-filter: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  gap: 12px;
}

.light-theme-case .filter-pill {
  font-family: var(--font-poppins);
  font-weight: 300;
  font-size: 16px;
  color: #F6EDDE;
  letter-spacing: 0.05em;
  padding: 10px 16px;
  transition: all 0.3s ease;
}

.light-theme-case .filter-pill:hover,
.light-theme-case .filter-pill.active {
  background: #F6EDDE;
  color: #0B1E2E;
  opacity: 1;
  border-radius: 100px;
}

/* ─── PORTFOLIO GRID CARD OVERLAYS & INFO (work.html) ─── */
.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 45%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.work-card-info {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 2;
}

.work-card-cta {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--ease-out-expo);
}

.work-card:hover .work-card-cta {
  opacity: 1;
  transform: translateY(0);
}

.work-cta-label {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #E8F0F6;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.work-cta-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
}

.work-card:hover .work-cta-icon {
  background: #FFFFFF;
  border-color: #FFFFFF;
}

.work-card:hover .work-cta-icon svg {
  color: #030A10;
  transform: translate(3px, -3px);
}

/* ─── LAPTOP & COMPACT DESKTOP HERO OPTIMIZATIONS ─── */
@media (max-width: 1440px) and (min-width: 1025px) {
  .hero {
    min-height: 100vh;
    padding: 100px 0 0;
  }

  .hero>.container {
    padding-bottom: 0.5rem;
  }

  .hero-badge {
    margin-bottom: 1.25rem;
  }

  .hero-title {
    font-size: 44px;
    line-height: 1.35;
    margin-bottom: 1rem;
  }

  .hero-underline {
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 18px;
    line-height: 32px;
    margin-bottom: 2rem;
  }

  .hero-stats-bar {
    padding-bottom: 1.5rem;
  }

  .hero-stats-inner {
    height: 110px;
    padding: 0 2rem;
  }

  .hero-stat-icon {
    width: 48px;
    height: 48px;
  }

  .hero-stat-icon svg {
    transform: scale(0.8);
  }

  /* --- THE EDGE COMPACT LAPTOP OVERRIDES --- */
  .edge-section {
    padding: 2.5rem 0 1rem 0;
  }

  .edge-header-row {
    margin-bottom: 1.25rem;
  }

  .edge-section-label {
    margin-bottom: 1.25rem;
    padding: 6px 20px;
    font-size: 14px;
  }

  .edge-section-heading {
    font-size: 26px;
    line-height: 38px;
    margin-bottom: 1rem;
  }

  .edge-bar {
    margin-bottom: 1.5rem;
  }

  .edge-track {
    gap: 1.5rem;
    padding: 0.5rem 1rem 1.25rem 1rem;
    margin: 0 -1rem;
  }

  .edge-card {
    flex: 0 0 310px;
    height: 240px;
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }

  .edge-card-num {
    top: 1.25rem;
    right: 1.5rem;
    font-size: 30px;
  }

  .edge-card-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
  }

  .edge-card-content p {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .edge-nav-btn {
    width: 44px;
    height: 44px;
  }

  .edge-nav-btn svg {
    width: 18px;
    height: 18px;
  }

  /* --- TESTIMONIALS COMPACT LAPTOP OVERRIDES --- */
  .testimonials-section {
    padding: 2rem 0 5rem 0;
  }
}

/* ─── EXTRA SHORT SCREEN OPTIMIZATIONS (For small height viewports) ─── */
@media (max-height: 800px) and (min-width: 1025px) {
  .hero {
    padding: 90px 0 0;
  }

  .hero-badge {
    margin-bottom: 1rem;
    font-size: 16px;
  }

  .hero-title {
    font-size: 40px;
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }

  .hero-underline {
    margin-bottom: 0.75rem;
  }

  .hero-description {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 1.5rem;
  }

  .hero-stats-bar {
    padding-bottom: 1rem;
  }

  .hero-stats-inner {
    height: 98px;
    padding: 0 1.5rem;
  }

  .hero-stat-icon {
    width: 44px;
    height: 44px;
  }

  .hero-stat-icon svg {
    transform: scale(0.7);
  }

  .hero-stat-divider {
    height: 40px;
  }
}

/* ─── CASE STUDY MOBILE COMPACT LAYOUT OVERRIDES ─── */
@media (max-width: 991px) {
  .light-theme-case .case-hero-img-section {
    margin-bottom: 1.5rem !important;
    /* reduce spacing below the hero image */
  }

  .light-theme-case .light-meta-bar {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
    padding: 1.5rem 0 !important;
  }

  .light-theme-case .light-meta-item {
    padding-bottom: 1.5rem !important;
    padding-right: 0 !important;
    border-right: none !important;
  }

  .light-theme-case .light-content-section {
    padding-bottom: 2.5rem !important;
  }

  .light-theme-case .light-content-row {
    margin-bottom: 2rem !important;
    gap: 1rem !important;
  }

  .light-theme-case .light-content-body p {
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
  }

  .light-theme-case .cta-banner {
    margin-top: 3rem !important;
  }
}

@media (max-width: 900px) {
  .light-theme-case .light-meta-bar {
    row-gap: 1.5rem !important;
  }

  .light-theme-case .light-meta-item {
    border-bottom: 1px solid #f0f0f0 !important;
    padding-bottom: 1.5rem !important;
  }

  .light-theme-case .light-meta-item:nth-last-child(-n+2) {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 500px) {
  .light-theme-case .light-meta-item {
    border-bottom: 1px solid #f0f0f0 !important;
    padding-bottom: 1.5rem !important;
  }

  .light-theme-case .light-meta-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE HERO SLIDER
   Full-bleed crossfading slides with the stats bar floating
   over the bottom edge. Overrides the legacy .hero layout.
   ═══════════════════════════════════════════════════════════ */
.hero--slider {
  /* Drives the dot row + stats card offsets so they stay in sync */
  --hero-stats-h: 139px;
  --hero-stats-gap: 2.5rem;
  --mv-orange: #F6821F;
  position: relative;
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #F1F6FA;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 920px;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.85s var(--ease-out-expo), visibility 0.85s;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* ── Copy panel (live text, not baked into the artwork) ── */
.hero-slide-panel {
  position: relative;
  z-index: 2;
  flex: 0 0 37%;
  display: flex;
  align-items: center;
  background: var(--mv-orange);
  padding-left: clamp(1.5rem, 3.8vw, 5rem);
  padding-right: 0;
  /* Keeps the copy optically centred above the floating stats card */
  padding-bottom: calc(var(--hero-stats-h) * 0.55);
}

.hero-slide-copy {
  width: 100%;
}

.hero-slide-title {
  margin: 0;
  font-family: 'Archivo', var(--font-heading), sans-serif;
  font-weight: 900;
  font-stretch: semi-condensed;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3.6vw, 3.6rem);
  line-height: 1.18;
  letter-spacing: -0.005em;
  color: #FFFFFF;
  -webkit-text-stroke: 0;
}

/* Slides whose longest line needs more room */
.hero-slide-title--sm {
  font-size: clamp(1.4rem, 2.95vw, 2.95rem);
}

.hero-slide-rule {
  position: relative;
  width: 100%;
  height: 3px;
  margin: clamp(1rem, 1.7vw, 1.75rem) 0 clamp(1rem, 1.7vw, 1.6rem);
  background: #FFFFFF;
}

/* Arrow head overhangs onto the artwork, as in the original slides */
.hero-slide-rule::after {
  content: '';
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 26px solid var(--mv-orange);
}

.hero-slide-text {
  max-width: 32ch;
  margin: 0;
  font-family: var(--font-poppins);
  font-weight: 400;
  font-size: clamp(0.92rem, 1.42vw, 1.35rem);
  line-height: 1.55;
  color: #FFFFFF;
}

.hero-slide-text+.hero-slide-text {
  margin-top: 1.1em;
}

/* ── Artwork half ── */
.hero-slide-media {
  position: relative;
  flex: 1 1 auto;
  overflow: hidden;
}

.hero-slide-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 9s linear;
}

.hero-slide.is-active .hero-slide-media img {
  transform: scale(1.07);
}

/* White veil so the fixed nav links read over any slide */
.hero-slider-veil {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 190px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 255, 255, 0.93) 28%,
      rgba(255, 255, 255, 0.74) 52%,
      rgba(255, 255, 255, 0.36) 76%,
      rgba(255, 255, 255, 0) 100%);
}

.hero-slider-controls {
  position: absolute;
  right: 34px;
  top: 50%;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  transform: translateY(-50%);
}

.hero-slider-arrows {
  display: flex;
  gap: 12px;
}

.hero-slider-arrow {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(14, 46, 69, 0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(1, 35, 72, 0.22);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.hero-slider-arrow:hover {
  background: #FF6B47;
  border-color: #FF6B47;
  transform: scale(1.07);
}

.hero-slider-arrow:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

.hero-slider-arrow svg {
  width: 22px;
  height: 22px;
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 100px;
  background: rgba(14, 46, 69, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.4s var(--ease-out-expo), background 0.35s ease;
}

.hero-slider-dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

.hero-slider-dot.is-active {
  width: 34px;
  border-radius: 100px;
  background: #FF6B47;
}

.hero-slider-dot:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

/* Stats bar floats over the bottom of the slides */
.hero--slider .hero-stats-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--hero-stats-gap);
  z-index: 8;
  margin-top: 0;
  padding-bottom: 0;
  transform: none;
}

/* Photography behind the card needs a more opaque frost than the old banner */
.hero--slider .hero-stats-inner {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 50px rgba(1, 35, 72, 0.25);
}

@media (max-width: 1024px) {
  .hero--slider {
    --hero-stats-gap: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .hero-slider {
    height: 72vh;
    min-height: 460px;
    max-height: 640px;
  }

  .hero-slide-panel {
    flex: 0 0 44%;
    padding-bottom: 0;
  }

  .hero-slider-veil {
    height: 150px;
  }

  .hero-slider-controls {
    right: 18px;
    gap: 14px;
  }

  .hero-slider-arrow {
    width: 46px;
    height: 46px;
  }

  /* Card sits below the slides — no overlap onto the artwork */
  .hero--slider .hero-stats-bar {
    position: static;
    margin-top: 1.25rem;
    padding: 0 1rem;
    transform: none;
  }
}

@media (max-width: 768px) {

  /* Artwork on top, copy panel beneath it */
  .hero-slider {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .hero-slides {
    position: relative;
    inset: auto;
  }

  .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    flex-direction: column-reverse;
  }

  /* Only the active slide takes up flow height, so the section fits its content */
  .hero-slide.is-active {
    position: relative;
  }

  .hero-slide-media {
    flex: 0 0 auto;
    height: 34vh;
    min-height: 210px;
    max-height: 300px;
  }

  .hero-slide-panel {
    flex: 1 1 auto;
    /* Bottom padding reserves room for the control cluster */
    padding: clamp(1.6rem, 6vw, 2.4rem) 1.25rem 4.75rem;
  }

  /* Rule ends inside the panel now, so the arrow head reads white, not orange */
  .hero-slide-rule {
    width: 72%;
  }

  .hero-slide-rule::after {
    right: -20px;
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left: 20px solid #FFFFFF;
  }

  .hero-slide-text {
    max-width: 42ch;
  }

  .hero-slider-veil {
    height: 120px;
  }

  /* Controls tuck into the bottom-right corner of the copy panel */
  .hero-slider-controls {
    top: auto;
    bottom: 14px;
    right: 14px;
    flex-direction: row-reverse;
    align-items: center;
    gap: 10px;
    transform: none;
  }

  .hero-slider-arrow {
    width: 38px;
    height: 38px;
  }

  .hero-slider-arrow svg {
    width: 17px;
    height: 17px;
  }

  .hero-slider-arrows {
    gap: 8px;
  }

  .hero-slider-dots {
    gap: 8px;
    padding: 8px 13px;
  }

  .hero-slider-dot {
    width: 8px;
    height: 8px;
  }

  .hero-slider-dot.is-active {
    width: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-slide,
  .hero-slide-media img,
  .hero-slide.is-active .hero-slide-media img {
    transition: none;
    transform: none;
  }
}