@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/montserrat-latin-400-normal.woff2') format('woff2');}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/montserrat-latin-500-normal.woff2') format('woff2');}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/montserrat-latin-600-normal.woff2') format('woff2');}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/montserrat-latin-700-normal.woff2') format('woff2');}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:800;font-display:swap;src:url('/assets/fonts/montserrat-latin-800-normal.woff2') format('woff2');}

/* ==========================================================================
   WEBRISE GLOBAL — IMMERSIVE MOTION & CREATIVE DESIGN SYSTEM
   Inspired by elite creative agency standards (HuptechWeb creative reference)
   Art-directed typography, scroll choreography, horizontal pinned showcase,
   continuous marquee, and hardware-accelerated microinteractions.
   ========================================================================== */

:root {
  /* Core Palette */
  --wg-bg-deep: #080808;
  --wg-bg-surface: #101010;
  --wg-bg-surface-elevated: #161616;
  --wg-bg-surface-card: #141414;
  --wg-border-subtle: rgba(255, 255, 255, 0.08);
  --wg-border-medium: rgba(255, 255, 255, 0.16);
  --wg-border-glow: rgba(255, 255, 255, 0.35);
  
  --wg-text-primary: #FFFFFF;
  --wg-text-secondary: rgba(255, 255, 255, 0.72);
  --wg-text-muted: rgba(255, 255, 255, 0.45);
  --wg-text-inverse: #0A0A0A;
  
  --wg-accent-white: #FFFFFF;
  --wg-accent-silver: #E0E0E0;
  --wg-accent-glow: rgba(255, 255, 255, 0.12);
  --wg-accent-huptech-orange: #FF5A1F;
  --wg-status-live: #00E676;

  /* Typography */
  --wg-font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --wg-font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --wg-font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Easing curves */
  --wg-ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --wg-ease-out-quad: cubic-bezier(0.25, 1, 0.5, 1);
  --wg-ease-in-out-smooth: cubic-bezier(0.77, 0, 0.175, 1);
  --wg-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Durations */
  --wg-duration-fast: 0.25s;
  --wg-duration-normal: 0.45s;
  --wg-duration-slow: 0.85s;
  --wg-duration-cinematic: 1.4s;
}

body {
  font-family: var(--wg-font-body);
}

h1, h2, h3, h4,
.wg-hero-title,
.wg-banner-metric,
.wg-banner-headline,
.wg-card-metric-num,
.wg-stat-number,
.wg-service-title,
.wg-closing-title,
.wg-results-num,
.wg-pillar-title,
.wg-pillar-kicker {
  font-family: var(--wg-font-display);
  letter-spacing: -0.022em;
}

/* --------------------------------------------------------------------------
   0. TOP SCROLL PROGRESS BAR
   -------------------------------------------------------------------------- */
#wg-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #FFFFFF, rgba(255,255,255,0.7), #FFFFFF);
  z-index: 99999;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
  transition: width 0.1s linear;
}

/* --------------------------------------------------------------------------
   1. REFINED STICKY HEADER & NAVBAR
   -------------------------------------------------------------------------- */
header nav.navbar.glass-effect {
  transition: background-color var(--wg-duration-normal) var(--wg-ease-out-quad),
              backdrop-filter var(--wg-duration-normal) var(--wg-ease-out-quad),
              border-color var(--wg-duration-normal) var(--wg-ease-out-quad),
              padding var(--wg-duration-normal) var(--wg-ease-out-quad);
}

header nav.navbar.glass-effect.header-scrolled,
header nav.navbar.sticky-active {
  background: rgba(10, 10, 10, 0.82) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--wg-border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar .nav-link {
  position: relative;
  font-weight: 500;
  transition: color var(--wg-duration-fast) ease;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 15px;
  right: 15px;
  height: 2px;
  background: #FFFFFF;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--wg-duration-normal) var(--wg-ease-out-expo);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* --------------------------------------------------------------------------
   2. HERO REDESIGN & AMBIENT EXPERIENCE
   -------------------------------------------------------------------------- */
.wg-hero-wrapper {
  position: relative;
  background-color: var(--wg-bg-deep);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
}

/* Ambient glow orbs */
.wg-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.35;
  will-change: transform;
}

.wg-ambient-glow-1 {
  top: -10%;
  left: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(120, 120, 120, 0.08) 50%, transparent 70%);
  animation: wgFloatOrb 22s ease-in-out infinite alternate;
}

.wg-ambient-glow-2 {
  bottom: 5%;
  right: -5%;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(200, 200, 200, 0.15) 0%, rgba(80, 80, 80, 0.05) 50%, transparent 70%);
  animation: wgFloatOrb 28s ease-in-out infinite alternate-reverse;
}

@keyframes wgFloatOrb {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(60px, -40px, 0) scale(1.1); }
  100% { transform: translate3d(-40px, 50px, 0) scale(0.95); }
}

/* Perspective Grid */
.wg-hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 75%);
  pointer-events: none;
}

/* Hero Badge */
.wg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--wg-border-medium);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--wg-text-primary);
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.wg-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--wg-status-live);
  box-shadow: 0 0 10px var(--wg-status-live);
  animation: wgPulseDot 2s infinite ease-in-out;
}

@keyframes wgPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* Hero Typography Reveals */
.wg-split-text {
  overflow: hidden;
}

.wg-split-line {
  display: block;
  overflow: hidden;
}

.wg-split-word {
  display: inline-block;
  margin-right: 0.28em;
  transform: translateY(110%);
  opacity: 0;
  transition: transform var(--wg-duration-cinematic) var(--wg-ease-out-expo),
              opacity var(--wg-duration-slow) ease;
  will-change: transform, opacity;
}

.wg-revealed .wg-split-word {
  transform: translateY(0%);
  opacity: 1;
}

.wg-hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  word-spacing: normal;
  color: var(--wg-text-primary);
  margin-bottom: 24px;
}

.wg-hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: var(--wg-text-secondary);
  max-width: 620px;
  margin-bottom: 36px;
  font-weight: 350;
}

/* Hero CTAs */
.wg-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #FFFFFF;
  color: #0A0A0A !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 34px;
  border-radius: 100px;
  border: 1px solid #FFFFFF;
  text-decoration: none;
  transition: transform var(--wg-duration-fast) var(--wg-ease-out-expo),
              background-color var(--wg-duration-fast) ease,
              box-shadow var(--wg-duration-fast) ease;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.wg-btn-primary:hover {
  background: #F0F0F0;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 255, 255, 0.32);
  color: #000000 !important;
}

.wg-btn-primary i {
  transition: transform var(--wg-duration-fast) var(--wg-ease-out-expo);
}

.wg-btn-primary:hover i {
  transform: translateX(4px);
}

.wg-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 30px;
  border-radius: 100px;
  border: 1px solid var(--wg-border-medium);
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--wg-duration-fast) var(--wg-ease-out-expo);
  cursor: pointer;
}

.wg-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
  transform: translateY(-2px);
  color: #FFFFFF !important;
}

.wg-btn-secondary i {
  transition: transform var(--wg-duration-fast) var(--wg-ease-out-expo);
}

.wg-btn-secondary:hover i {
  transform: translate(2px, -2px);
}

/* Hero Stats Bar */
.wg-hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--wg-border-subtle);
}

.wg-stat-item .wg-stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--wg-text-primary);
  line-height: 1.1;
  display: block;
  letter-spacing: -0.02em;
}

.wg-stat-item .wg-stat-label {
  font-size: 0.85rem;
  color: var(--wg-text-muted);
  display: block;
  margin-top: 4px;
  font-weight: 400;
}

/* Hero Visual Composition */
.wg-hero-visual {
  position: relative;
  width: 100%;
  perspective: 1200px;
}

.wg-hero-scene {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--wg-ease-out-quad);
}

.wg-scene-card-main {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  aspect-ratio: 4/5;
  background: var(--wg-bg-surface-card);
  border-radius: 20px;
  border: 1px solid var(--wg-border-medium);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
  transform: rotateY(-8deg) rotateX(6deg);
  transition: transform 0.5s ease;
}

.wg-hero-visual:hover .wg-scene-card-main {
  transform: rotateY(-3deg) rotateX(2deg);
}

.wg-scene-card-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.wg-scene-float-badge {
  position: absolute;
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(20, 20, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--wg-border-glow);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  z-index: 5;
  color: #FFFFFF;
}

.wg-badge-accor {
  top: 10%;
  right: -5%;
  animation: wgFloatBob 6s ease-in-out infinite alternate;
}

.wg-badge-uptime {
  bottom: 8%;
  left: -4%;
  animation: wgFloatBob 7s ease-in-out infinite alternate-reverse;
}

@media (max-width: 991px) {
  .wg-hero-visual {
    margin-top: 40px;
    perspective: none;
  }
  .wg-scene-card-main {
    transform: none !important;
    max-width: 360px;
  }
  .wg-badge-accor {
    right: 0;
    top: 5%;
  }
  .wg-badge-uptime {
    left: 0;
    bottom: 5%;
  }
}

@keyframes wgFloatBob {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-14px) rotate(1deg); }
}

/* --------------------------------------------------------------------------
   3. CONTINUOUS SERVICES MARQUEE
   -------------------------------------------------------------------------- */
.wg-marquee-section {
  background: #0C0C0C;
  border-top: 1px solid var(--wg-border-subtle);
  border-bottom: 1px solid var(--wg-border-subtle);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.wg-marquee-container {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.wg-marquee-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 36px;
  padding-right: 36px;
  animation: wgMarqueeScroll 45s linear infinite;
  will-change: transform;
}

.wg-marquee-track:hover {
  animation-play-state: paused;
}

.wg-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  transition: color var(--wg-duration-fast) ease;
}

.wg-marquee-item:hover {
  color: #FFFFFF;
}

.wg-marquee-separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
}

@keyframes wgMarqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* --------------------------------------------------------------------------
   4. ENTERPRISE SHOWCASE (GRAND MERCURE SURYA PALACE ACCOR)
   -------------------------------------------------------------------------- */
.wg-enterprise-card {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(14, 14, 14, 0.95) 100%);
  border: 1px solid var(--wg-border-medium);
  border-radius: 20px;
  padding: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: border-color var(--wg-duration-normal) ease,
              transform var(--wg-duration-normal) var(--wg-ease-out-expo);
}

.wg-enterprise-card:hover {
  border-color: var(--wg-border-glow);
  transform: translateY(-4px);
}

.wg-enterprise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.wg-enterprise-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   5. SIGNATURE SCROLL-DRIVEN HORIZONTAL PORTFOLIO SHOWCASE (Huptech Web Style)
   -------------------------------------------------------------------------- */
.hw-pinned-showcase-section {
  position: relative;
  background-color: #070709;
  width: 100%;
  z-index: 5;
  height: 850vh; /* Deliberate, smooth scroll travel for all 10 cards */
}

.hw-sticky-viewport {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  z-index: 5;
  box-sizing: border-box;
  padding: 0;
}

.hw-showcase-header {
  position: relative;
  z-index: 10;
  margin-bottom: clamp(14px, 2.2vh, 26px);
  flex: 0 0 auto;
}

.hw-showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(160, 80, 240, 0.15);
  border: 1px solid rgba(160, 80, 240, 0.35);
  color: #C287FB;
  font-family: var(--font-clash, inherit);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.hw-showcase-heading {
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin: 0;
}

/* Scroll Indicator Bar & Counter */
.hw-hscroll-indicator {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hw-hscroll-counter {
  font-family: var(--font-clash, inherit);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  white-space: nowrap;
}

.hw-hscroll-track-bar {
  width: 160px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}

.hw-hscroll-fill-bar {
  height: 100%;
  width: 10%;
  background: linear-gradient(90deg, #A050F0, #C287FB);
  border-radius: 100px;
  transition: width 0.1s linear;
}

.hw-archive-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF !important;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.hw-archive-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Horizontal Track Container & Moving Track */
.hw-pinned-track-wrap {
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  overflow: visible;
}

.hw-pinned-track {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(32px, 5.5vw, 75px);
  will-change: transform;
}

/* Slide & Precision Dominant Project Card */
.hw-project-slide {
  flex: 0 0 min(88vw, 1545px);
  width: min(88vw, 1545px);
  box-sizing: border-box;
  opacity: 0.65;
  transform: scale(0.975);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hw-project-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hw-project-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2.4 / 1;
  min-height: 480px;
  max-height: 645px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #0d0d11;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  text-decoration: none !important;
  color: #FFFFFF !important;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.hw-project-card:hover {
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.85), 0 0 40px rgba(160, 80, 240, 0.14);
}

/* 1. Full-Bleed Genuine Client Photograph (100% card width/height) */
.hw-card-image-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  background: #08080a;
}

.hw-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.92) contrast(1.05);
  transform: scale(1.0);
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.5s ease;
  will-change: transform;
}

.hw-project-card:hover .hw-card-img {
  transform: scale(1.02);
  filter: brightness(1.0) contrast(1.05);
}

/* Gradient Scrim for Immersive Depth & Text Legibility */
.hw-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 7, 9, 0.38) 0%,
    rgba(7, 7, 9, 0.12) 42%,
    rgba(7, 7, 9, 0.72) 78%,
    rgba(7, 7, 9, 0.88) 100%
  );
  pointer-events: none;
}

/* 2. Client Authentic Logo (Top Left Inset ~7% top, ~3.8% left) */
.hw-card-logo-wrap {
  position: absolute;
  top: 7%;
  left: 3.8%;
  z-index: 3;
  padding: 8px 16px;
  background: rgba(10, 10, 14, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 175px;
}

.hw-card-logo {
  max-height: 32px;
  max-width: 145px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: brightness(1) contrast(1.05);
}

/* 3. Contrasting Information Overlay Panel (Right Inset ~3.3%, Width ~34%, Vertically Centered) */
.hw-card-overlay-panel {
  position: absolute;
  right: 3.3%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(340px, 34%, 525px);
  background: rgba(13, 13, 17, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: clamp(22px, 2.2vw, 28px);
  z-index: 3;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hw-project-card:hover .hw-card-overlay-panel {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
}

/* Hierarchy: Primary Impact Metric (48–56px) */
.hw-panel-metric-block {
  margin-bottom: 6px;
}

.hw-panel-metric {
  font-size: clamp(2.8rem, 3.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  white-space: nowrap !important;
  margin-bottom: 4px;
}

.hw-panel-metric-desc {
  font-size: clamp(0.92rem, 1.05vw, 1.06rem);
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.75);
}

/* Hierarchy: Metadata Pills (12–14px) */
.hw-panel-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 16px 0;
}

.hw-pill {
  display: inline-block;
  font-size: clamp(0.74rem, 0.82vw, 0.85rem);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #8BE78B;
  letter-spacing: 0.3px;
  text-transform: capitalize;
}

/* Hierarchy: Project Headline (27–32px, 2-4 lines) */
.hw-panel-headline {
  font-size: clamp(1.45rem, 1.75vw, 1.85rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hierarchy: Footer with 56x56px Arrow Link */
.hw-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  margin-top: auto;
}

.hw-panel-link-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}

.hw-panel-arrow-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #070709;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  transition: transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1), background-color 0.2s ease, color 0.2s ease;
}

.hw-project-card:hover .hw-panel-arrow-btn {
  transform: translate(4px, -4px) scale(1.05);
  background: #8BE78B;
  color: #070709;
}

/* Responsive Targets: Tablet (768px – 1199px) */
@media (max-width: 1199px) {
  .hw-project-slide {
    flex: 0 0 90vw;
    width: 90vw;
  }

  .hw-project-card {
    aspect-ratio: 2 / 1;
    min-height: 460px;
  }

  .hw-card-overlay-panel {
    width: clamp(320px, 42%, 460px);
    right: 2.5%;
    padding: 22px;
  }

  .hw-panel-metric {
    font-size: clamp(2.4rem, 4vw, 3rem);
  }

  .hw-panel-headline {
    font-size: clamp(1.3rem, 2vw, 1.55rem);
    margin-bottom: 16px;
  }
}

/* Mobile Fallback - Natural Horizontal Touch Flow */
@media (max-width: 991px) {
  .hw-pinned-showcase-section {
    height: auto !important;
    padding: 40px 0 60px;
  }

  .hw-sticky-viewport {
    position: relative;
    height: auto;
    overflow: visible;
    padding: 0;
  }

  .hw-pinned-track-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 16px 16px 40px;
  }

  .hw-pinned-track-wrap::-webkit-scrollbar {
    display: none;
  }

  .hw-pinned-track {
    display: flex;
    gap: 16px;
    width: max-content;
    padding: 0;
  }

  .hw-project-slide {
    flex: 0 0 92vw;
    width: 92vw;
    scroll-snap-align: center;
    opacity: 1 !important;
    transform: none !important;
  }

  .hw-project-card {
    aspect-ratio: unset;
    min-height: 520px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .hw-card-image-wrap {
    position: absolute;
    inset: 0;
    height: 100%;
  }

  .hw-card-scrim {
    background: linear-gradient(
      180deg,
      rgba(7, 7, 9, 0.45) 0%,
      rgba(7, 7, 9, 0.25) 30%,
      rgba(7, 7, 9, 0.88) 65%,
      #070709 100%
    );
  }

  .hw-card-logo-wrap {
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    max-width: 140px;
  }

  .hw-card-logo {
    max-height: 26px;
  }

  .hw-card-overlay-panel {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    margin-top: auto;
    border-radius: 0 0 8px 8px;
    padding: 20px 18px;
    background: rgba(13, 13, 17, 0.95);
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hw-panel-metric {
    font-size: 2.4rem;
  }

  .hw-panel-headline {
    font-size: 1.25rem;
    line-height: 1.32;
    margin-bottom: 16px;
  }

  .hw-panel-arrow-btn {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }
}

/* --------------------------------------------------------------------------
   CASE-STUDY & PORTFOLIO DETAIL PAGES TYPOGRAPHY ELEVATION
   -------------------------------------------------------------------------- */
.case-study h1,
section.bg-dark-gray h1 {
  font-family: var(--font-clash, inherit) !important;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem) !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.025em !important;
  word-spacing: normal !important;
  color: #FFFFFF !important;
}

.case-study h2,
.case-study h3,
section h3.text-dark-gray,
section h2.text-dark-gray {
  font-family: var(--font-clash, inherit) !important;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.02em !important;
  word-spacing: normal !important;
  margin-bottom: 18px !important;
}

.case-study p,
.last-paragraph-no-margin p {
  font-family: var(--font-dm, inherit);
  font-size: clamp(1.02rem, 1.12vw, 1.15rem) !important;
  line-height: 1.75 !important;
  letter-spacing: -0.005em !important;
  word-spacing: normal !important;
  color: inherit;
  margin-bottom: 18px !important;
}


.wg-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0B0B0B;
}

.wg-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--wg-ease-out-expo), filter 0.5s ease;
  filter: brightness(0.92) contrast(1.05);
}

.wg-portfolio-card:hover .wg-card-media img {
  transform: scale(1.05);
  filter: brightness(1) contrast(1.05);
}

.wg-card-overlay-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--wg-border-medium);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #FFFFFF;
}

.wg-card-location-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--wg-border-medium);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--wg-text-secondary);
}

.wg-card-brand-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 5px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  max-width: 140px;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  pointer-events: none;
  transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.wg-card-brand-badge img {
  max-height: 22px;
  max-width: 115px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: none !important;
  transform: none !important;
}

.wg-portfolio-card:hover .wg-card-brand-badge {
  transform: translateY(-2px);
  background: #FFFFFF;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.wg-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: linear-gradient(180deg, #141414 0%, #0D0D0D 100%);
}

.wg-card-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--wg-text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wg-card-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--wg-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.wg-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.wg-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--wg-border-subtle);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--wg-text-muted);
}

/* --------------------------------------------------------------------------
   FLAGSHIP PROJECT BANNER (Inspired by Screenshot 1 / Huptech Reference)
   -------------------------------------------------------------------------- */
.wg-project-banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: clamp(24px, 4vw, 56px);
  text-decoration: none !important;
  color: #FFFFFF !important;
  background-color: #0d0d0f;
  transition: border-color var(--wg-duration-normal) ease,
              box-shadow var(--wg-duration-normal) ease,
              transform var(--wg-duration-normal) var(--wg-ease-out-expo);
}

.wg-project-banner:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.wg-project-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transition: transform 0.8s var(--wg-ease-out-expo), filter 0.6s ease;
  filter: brightness(0.88) contrast(1.05);
}

.wg-project-banner:hover .wg-project-banner-bg {
  transform: scale(1.03);
  filter: brightness(0.95) contrast(1.05);
}

.wg-project-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10, 10, 12, 0.35) 0%, rgba(10, 10, 12, 0.2) 40%, rgba(10, 10, 12, 0.75) 100%);
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 991px) {
  .wg-project-banner-overlay {
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.3) 0%, rgba(10, 10, 12, 0.85) 60%, rgba(10, 10, 12, 0.95) 100%);
  }
  .wg-project-banner {
    min-height: auto;
    padding: 24px 20px;
    align-items: flex-end;
  }
}

.wg-project-banner-logo {
  position: absolute;
  top: clamp(24px, 4vw, 44px);
  left: clamp(24px, 4vw, 44px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 18px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.wg-project-banner-logo img {
  max-height: 28px;
  width: auto;
  display: block;
}

.wg-project-banner-card {
  position: relative;
  z-index: 3;
  background: rgba(18, 18, 22, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: clamp(24px, 3.5vw, 38px);
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
  transition: transform 0.4s var(--wg-ease-out-expo), border-color 0.3s ease;
}

.wg-project-banner:hover .wg-project-banner-card {
  border-color: rgba(255, 255, 255, 0.32);
}

.wg-banner-metric-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.wg-banner-metric {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #FFFFFF;
}

.wg-banner-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #FFFFFF;
  color: #0A0A0A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s var(--wg-ease-out-expo), background-color 0.2s ease;
  flex-shrink: 0;
}

.wg-project-banner:hover .wg-banner-arrow-btn {
  transform: translate(3px, -3px);
  background: #F0F0F0;
}

.wg-banner-metric-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 20px;
  font-weight: 500;
}

.wg-banner-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.wg-banner-pill {
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.3px;
}

.wg-banner-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.wg-banner-headline {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 700;
  line-height: 1.4;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.02em;
}

/* Also enhance the regular cards in the horizontal track & portfolio grid */
.wg-card-kicker-transformation {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  width: fit-content;
}

.wg-card-metric-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wg-card-metric-num {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  line-height: 1;
}

.wg-card-metric-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  text-align: right;
}

.wg-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-top: auto;
  transition: gap var(--wg-duration-fast) ease;
}

.wg-portfolio-card:hover .wg-card-action {
  gap: 14px;
}

.wg-card-action i {
  transition: transform var(--wg-duration-fast) var(--wg-ease-out-expo);
}

.wg-portfolio-card:hover .wg-card-action i {
  transform: translateX(4px);
}

/* Portfolio Section Header / Controls */
.wg-portfolio-header {
  margin-bottom: 28px;
  padding: 0 clamp(24px, 5vw, 80px);
}

.wg-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--wg-text-muted);
}

/* --------------------------------------------------------------------------
   6. INTERACTIVE CORE CAPABILITIES (SERVICES)
   -------------------------------------------------------------------------- */
.wg-service-card {
  background: var(--wg-bg-surface-card);
  border: 1px solid var(--wg-border-subtle);
  border-radius: 16px;
  padding: 40px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--wg-duration-normal) var(--wg-ease-out-expo),
              border-color var(--wg-duration-normal) ease,
              background-color var(--wg-duration-normal) ease;
}

.wg-service-card:hover {
  transform: translateY(-6px);
  border-color: var(--wg-border-glow);
  background-color: var(--wg-bg-surface-elevated);
}

.wg-service-num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--wg-text-muted);
  margin-bottom: 24px;
}

.wg-service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--wg-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #FFFFFF;
  margin-bottom: 24px;
  transition: background-color var(--wg-duration-fast) ease,
              transform var(--wg-duration-fast) var(--wg-ease-out-expo);
}

.wg-service-card:hover .wg-service-icon {
  background: #FFFFFF;
  color: #0A0A0A;
  transform: scale(1.08);
}

.wg-service-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.wg-service-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--wg-text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.wg-service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-top: auto;
  transition: gap var(--wg-duration-fast) ease;
}

.wg-service-card:hover .wg-service-link {
  gap: 12px;
}

/* --------------------------------------------------------------------------
   7. INTERACTIVE PROCESS TIMELINE
   -------------------------------------------------------------------------- */
.wg-process-section {
  position: relative;
  background: #0B0B0B;
  padding: 100px 0;
  overflow: hidden;
}

.wg-process-grid {
  position: relative;
}

.wg-process-card {
  background: var(--wg-bg-surface-card);
  border: 1px solid var(--wg-border-subtle);
  border-radius: 14px;
  padding: 32px 28px;
  margin-bottom: 24px;
  position: relative;
  transition: all var(--wg-duration-normal) var(--wg-ease-out-expo);
}

.wg-process-card:hover,
.wg-process-card.wg-active-step {
  border-color: var(--wg-border-glow);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.wg-process-step-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.18);
  line-height: 1;
  margin-bottom: 14px;
  transition: color var(--wg-duration-fast) ease;
}

.wg-process-card:hover .wg-process-step-num,
.wg-process-card.wg-active-step .wg-process-step-num {
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   8. TESTIMONIALS & FAQ POLISH
   -------------------------------------------------------------------------- */
.wg-testimonial-card {
  background: var(--wg-bg-surface-card);
  border: 1px solid var(--wg-border-subtle);
  border-radius: 16px;
  padding: 44px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--wg-duration-normal) var(--wg-ease-out-expo);
}

.wg-testimonial-card:hover {
  border-color: var(--wg-border-glow);
  transform: translateY(-4px);
}

.wg-testimonial-stars {
  color: #FFFFFF;
  margin-bottom: 20px;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.wg-quote-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--wg-text-primary);
  margin-bottom: 28px;
  flex-grow: 1;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   9. HIGH-IMPACT CLOSING CALL TO ACTION
   -------------------------------------------------------------------------- */
.wg-closing-cta {
  background: radial-gradient(circle at 50% 50%, #161616 0%, #080808 100%);
  border-top: 1px solid var(--wg-border-subtle);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.wg-closing-cta-title {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   10. CUSTOM POINTER / CURSOR FOLLOW (DESKTOP ONLY)
   -------------------------------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {
  .wg-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: #FFFFFF;
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease, transform 0.1s ease;
  }

  .wg-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--wg-ease-out-expo),
                height 0.3s var(--wg-ease-out-expo),
                border-color 0.3s ease,
                background-color 0.3s ease;
  }

  .wg-cursor-hover .wg-cursor-ring {
    width: 64px;
    height: 64px;
    border-color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.08);
  }

  .wg-cursor-hover .wg-cursor-dot {
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   10.5. PORTFOLIO & CASE STUDY CATEGORY FILTERS
   -------------------------------------------------------------------------- */
.wg-filter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.wg-filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--wg-border-medium);
  color: var(--wg-text-secondary);
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--wg-duration-fast) ease;
  user-select: none;
}

.wg-filter-btn:hover,
.wg-filter-btn.active,
.wg-filter-btn[aria-pressed="true"] {
  background: #FFFFFF;
  color: #0A0A0A;
  border-color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.wg-filter-item {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.wg-filter-item.is-hidden {
  display: none !important;
}

/* --------------------------------------------------------------------------
   11. ACCESSIBILITY & PREFERS-REDUCED-MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .wg-marquee-track {
    animation: none !important;
    transform: none !important;
  }

  .wg-ambient-glow {
    display: none !important;
  }

  .wg-cursor-dot,
  .wg-cursor-ring {
    display: none !important;
  }

  .wg-split-word {
    transform: none !important;
    opacity: 1 !important;
  }

  .wg-portfolio-viewport {
    height: auto !important;
  }

  .wg-portfolio-track-wrapper {
    overflow-x: auto !important;
  }

  .wg-portfolio-track {
    transform: none !important;
  }
}

html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

html.a11y-reduce-motion .wg-marquee-track {
  animation: none !important;
  transform: none !important;
}

html.a11y-reduce-motion .wg-ambient-glow,
html.a11y-reduce-motion .wg-cursor-dot,
html.a11y-reduce-motion .wg-cursor-ring {
  display: none !important;
}

html.a11y-reduce-motion .wg-split-word {
  transform: none !important;
  opacity: 1 !important;
}

html.a11y-reduce-motion .wg-portfolio-viewport {
  height: auto !important;
}

html.a11y-reduce-motion .wg-portfolio-track-wrapper {
  overflow-x: auto !important;
}

html.a11y-reduce-motion .wg-portfolio-track {
  transform: none !important;
}

/* --------------------------------------------------------------------------
   12. ABOUT US PAGE — CINEMATIC EDITORIAL SYSTEM
   -------------------------------------------------------------------------- */
.wg-about-hero {
  position: relative;
  background: #0A0A0A;
  padding-top: 175px;
  padding-bottom: 90px;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.wg-about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.wg-about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--wg-border-medium);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.wg-about-hero-title {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.wg-about-hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--wg-text-secondary);
  margin-bottom: 36px;
  max-width: 620px;
}

.wg-about-scene {
  position: relative;
  width: 100%;
  perspective: 1000px;
}

.wg-about-card-main {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid var(--wg-border-medium);
  background: var(--wg-bg-surface-card);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transform: rotateY(-6deg) rotateX(4deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.wg-about-scene:hover .wg-about-card-main {
  transform: rotateY(0deg) rotateX(0deg) translateY(-4px);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 255, 255, 0.08);
}

.wg-about-card-main img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
  max-height: 480px;
}

.wg-about-float-badge {
  position: absolute;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(18, 18, 18, 0.92);
  border: 1px solid var(--wg-border-glow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #FFFFFF;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  z-index: 5;
}

.wg-about-badge-top {
  top: 10%;
  right: -5%;
  animation: wgFloatBob 6s ease-in-out infinite alternate;
}

.wg-about-badge-bottom {
  bottom: 8%;
  left: -5%;
  animation: wgFloatBob 7s ease-in-out infinite alternate-reverse;
}

/* Story Section */
.wg-story-section {
  background: #0E0E0E;
  padding: 100px 0;
  border-top: 1px solid var(--wg-border-subtle);
  border-bottom: 1px solid var(--wg-border-subtle);
  position: relative;
}

.wg-story-quote {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.35;
  color: #FFFFFF;
  margin-bottom: 30px;
  letter-spacing: -0.02em;
  border-left: 3px solid #FFFFFF;
  padding-left: 24px;
}

.wg-story-p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--wg-text-secondary);
  margin-bottom: 20px;
}

.wg-story-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  height: 100%;
}

.wg-story-metric-box {
  background: var(--wg-bg-surface-card);
  border: 1px solid var(--wg-border-subtle);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all var(--wg-duration-normal) var(--wg-ease-out-expo);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wg-story-metric-box:hover {
  transform: translateY(-4px);
  border-color: var(--wg-border-medium);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.wg-story-metric-val {
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.wg-story-metric-label {
  font-size: 0.88rem;
  color: var(--wg-text-muted);
  font-weight: 500;
  line-height: 1.3;
}

/* 3 Pillars / Mission */
.wg-pillars-section {
  background: #0A0A0A;
  padding: 100px 0;
  position: relative;
}

.wg-pillar-card {
  background: var(--wg-bg-surface-card);
  border: 1px solid var(--wg-border-subtle);
  border-radius: 20px;
  padding: 40px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--wg-duration-normal) var(--wg-ease-out-expo);
  position: relative;
  overflow: hidden;
}

.wg-pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.wg-pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--wg-border-medium);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
}

.wg-pillar-card:hover::before {
  opacity: 1;
}

.wg-pillar-num {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--wg-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.wg-pillar-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.wg-pillar-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--wg-text-secondary);
  margin-bottom: 0;
}

/* 6-Stage Process Timeline */
.wg-process-grid-section {
  background: #0E0E0E;
  padding: 100px 0;
  border-top: 1px solid var(--wg-border-subtle);
  border-bottom: 1px solid var(--wg-border-subtle);
}

.wg-process-card {
  background: var(--wg-bg-surface-card);
  border: 1px solid var(--wg-border-subtle);
  border-radius: 16px;
  padding: 32px 28px;
  height: 100%;
  transition: all var(--wg-duration-normal) var(--wg-ease-out-expo);
  position: relative;
}

.wg-process-card:hover {
  transform: translateY(-4px);
  border-color: var(--wg-border-medium);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.wg-process-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.wg-process-step-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--wg-border-subtle);
}

.wg-process-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.wg-process-step-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--wg-text-secondary);
  margin-bottom: 0;
}

/* Engineering Standards Section */
.wg-standards-section {
  background: #0A0A0A;
  padding: 100px 0;
}

.wg-standard-box {
  background: var(--wg-bg-surface-card);
  border: 1px solid var(--wg-border-subtle);
  border-radius: 16px;
  padding: 28px 24px;
  height: 100%;
  transition: all var(--wg-duration-fast) ease;
}

.wg-standard-box:hover {
  border-color: var(--wg-border-medium);
  transform: translateY(-3px);
}

.wg-standard-box i {
  font-size: 1.8rem;
  color: #FFFFFF;
  margin-bottom: 16px;
  display: inline-block;
}

.wg-standard-box h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.wg-standard-box p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--wg-text-secondary);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   13. CONTACT US PAGE — IMMERSIVE COLLABORATION SYSTEM
   -------------------------------------------------------------------------- */
.wg-contact-hero {
  position: relative;
  background: #0A0A0A;
  padding-top: 175px;
  padding-bottom: 80px;
  overflow: hidden;
  text-align: center;
}

.wg-contact-hero-title {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.wg-contact-hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--wg-text-secondary);
  max-width: 720px;
  margin: 0 auto 30px;
}

.wg-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.wg-status-indicator .wg-status-dot {
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
}

/* Interactive Contact Channels */
.wg-channels-section {
  background: #0E0E0E;
  padding: 60px 0 80px;
  border-top: 1px solid var(--wg-border-subtle);
  border-bottom: 1px solid var(--wg-border-subtle);
}

.wg-channel-card {
  background: var(--wg-bg-surface-card);
  border: 1px solid var(--wg-border-subtle);
  border-radius: 16px;
  padding: 30px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--wg-duration-normal) var(--wg-ease-out-expo);
  text-decoration: none !important;
}

.wg-channel-card:hover {
  transform: translateY(-5px);
  border-color: var(--wg-border-medium);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.wg-channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--wg-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #FFFFFF;
  margin-bottom: 18px;
  transition: background 0.3s ease;
}

.wg-channel-card:hover .wg-channel-icon {
  background: #FFFFFF;
  color: #0A0A0A;
}

.wg-channel-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wg-text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.wg-channel-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
  word-break: break-word;
}

.wg-channel-sub {
  font-size: 0.85rem;
  color: var(--wg-text-muted);
  margin-top: auto;
}

/* Contact Main Section: Form & Sidebar */
.wg-contact-main-section {
  background: #0A0A0A;
  padding: 100px 0;
  position: relative;
}

.wg-contact-form-card {
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid var(--wg-border-medium);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.wg-form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.wg-contact-form-card .form-control,
.wg-contact-form-card .form-select {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 12px !important;
  color: #FFFFFF !important;
  padding: 14px 18px !important;
  font-size: 0.96rem !important;
  transition: all var(--wg-duration-fast) ease !important;
  box-shadow: none !important;
}

.wg-contact-form-card .form-control::placeholder {
  color: rgba(255, 255, 255, 0.3) !important;
}

.wg-contact-form-card .form-control:focus,
.wg-contact-form-card .form-select:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: #FFFFFF !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
}

.wg-contact-form-card .form-select option {
  background: #141414;
  color: #FFFFFF;
}

/* Service quick-tags selector */
.wg-service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.wg-service-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--wg-border-medium);
  color: var(--wg-text-secondary);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--wg-duration-fast) ease;
}

.wg-service-pill:hover,
.wg-service-pill.active {
  background: #FFFFFF;
  color: #0A0A0A;
  border-color: #FFFFFF;
}

/* Contact Sidebar: Roadmap & Info */
.wg-contact-sidebar-card {
  background: var(--wg-bg-surface-card);
  border: 1px solid var(--wg-border-subtle);
  border-radius: 20px;
  padding: 36px 30px;
  margin-bottom: 30px;
}

.wg-contact-sidebar-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.wg-contact-roadmap-step {
  display: flex;
  gap: 18px;
  margin-bottom: 24px;
  position: relative;
}

.wg-contact-roadmap-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 36px;
  left: 17px;
  bottom: -16px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.wg-roadmap-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--wg-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  flex-shrink: 0;
  z-index: 2;
}

.wg-roadmap-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.wg-roadmap-content p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--wg-text-secondary);
  margin-bottom: 0;
}

/* Contact FAQ Accordion */
.wg-contact-faq-section {
  background: #0E0E0E;
  padding: 100px 0;
  border-top: 1px solid var(--wg-border-subtle);
  border-bottom: 1px solid var(--wg-border-subtle);
}

.wg-contact-faq-section .accordion-item {
  background: var(--wg-bg-surface-card);
  border: 1px solid var(--wg-border-subtle);
  border-radius: 16px !important;
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color var(--wg-duration-fast) ease;
}

.wg-contact-faq-section .accordion-item:hover {
  border-color: var(--wg-border-medium);
}

.wg-contact-faq-section .accordion-button {
  background: transparent !important;
  color: #FFFFFF !important;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 24px 28px;
  box-shadow: none !important;
}

.wg-contact-faq-section .accordion-button:not(.collapsed) {
  color: #FFFFFF !important;
  border-bottom: 1px solid var(--wg-border-subtle);
}

.wg-contact-faq-section .accordion-body {
  color: var(--wg-text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  padding: 24px 28px;
}

/* Responsive Overrides for About & Contact */
@media (max-width: 991px) {
  .wg-about-hero {
    padding-top: 140px;
    padding-bottom: 60px;
    min-height: auto;
  }
  
  .wg-about-scene {
    margin-top: 48px;
    perspective: none;
  }
  
  .wg-about-card-main {
    transform: none !important;
    max-width: 380px;
  }
  
  .wg-about-badge-top {
    right: 0;
    top: 5%;
  }
  
  .wg-about-badge-bottom {
    left: 0;
    bottom: 5%;
  }
  
  .wg-story-metrics-grid {
    margin-top: 36px;
  }
  
  .wg-contact-hero {
    padding-top: 140px;
    padding-bottom: 60px;
  }
}

/* ==========================================================================
   HUPTECH WEB INSPIRED AMBIENT ORBITAL GLOW ORBS
   ========================================================================== */
.dots-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  width: 100%;
  height: 100%;
  transform: translateZ(0);
}

.dot {
  position: absolute;
  width: 750px;
  height: 750px;
  border-radius: 50%;
  opacity: 0.18;
  filter: blur(100px);
  transform: translate(-50%, -50%);
  animation: wg-orbit 28s linear infinite;
  will-change: transform;
}

.dot-1 {
  background: radial-gradient(circle, rgba(160, 80, 240, 0.6) 0%, rgba(194, 135, 251, 0.22) 38%, transparent 70%);
  animation-delay: 0s;
}

.dot-2 {
  background: radial-gradient(circle, rgba(255, 90, 31, 0.5) 0%, rgba(255, 140, 66, 0.18) 38%, transparent 70%);
  animation-delay: -7s;
}

.dot-3 {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.45) 0%, rgba(6, 182, 212, 0.18) 38%, transparent 70%);
  animation-delay: -14s;
}

.dot-4 {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.5) 0%, rgba(147, 51, 234, 0.2) 38%, transparent 70%);
  animation-delay: -21s;
}

@keyframes wg-orbit {
  0%   { left: 12%; top: 18%; }
  25%  { left: 88%; top: 22%; }
  50%  { left: 82%; top: 82%; }
  75%  { left: 18%; top: 78%; }
  100% { left: 12%; top: 18%; }
}

/* ==========================================================================
   HUPTECH-STYLE 3-PILLAR SERVICE ARCHITECTURE (CRAFT. CONVERT. CONSULT.)
   ========================================================================== */
.wg-pillars-section {
  position: relative;
  z-index: 2;
  padding: 110px 0 100px;
  background: #08080A;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wg-pillars-header {
  margin-bottom: 60px;
}

.wg-pillars-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.wg-pillar-card {
  position: relative;
  background: rgba(16, 16, 20, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 40px 34px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.wg-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.wg-pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 90, 31, 0.08);
}

.wg-pillar-card:hover::before {
  opacity: 1;
}

.wg-pillar-kicker {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wg-accent-huptech-orange);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wg-pillar-title {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.wg-pillar-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
}

.wg-pillar-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wg-pillar-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: #E2E2E8;
}

.wg-pillar-feature-item i {
  color: var(--wg-status-live);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.wg-pillar-feature-link {
  color: #E2E2E8;
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.2s ease;
}

.wg-pillar-feature-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #FFFFFF;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wg-pillar-feature-link:hover {
  color: #FFFFFF;
}

.wg-pillar-feature-link:hover::after {
  transform: scaleX(1);
}

.wg-pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wg-pillar-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.wg-pillar-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 24px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.wg-pillar-action:hover {
  background: #FFFFFF;
  color: #0A0A0C;
  border-color: #FFFFFF;
}

.wg-pillar-action i {
  transition: transform 0.3s ease;
}

.wg-pillar-action:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   TANGIBLE BUSINESS RESULTS & REVENUE-PER-PIXEL SECTION
   ========================================================================== */
.wg-tangible-results {
  position: relative;
  z-index: 2;
  padding: 110px 0 100px;
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.wg-results-ticker-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 24px;
  background: rgba(255, 90, 31, 0.08);
  border: 1px solid rgba(255, 90, 31, 0.25);
  border-radius: 100px;
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 600;
  max-width: fit-content;
  margin: 0 auto 40px;
}

.wg-results-ticker-currencies {
  color: var(--wg-accent-huptech-orange);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.wg-results-card {
  position: relative;
  background: rgba(14, 14, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 38px 30px;
  height: 100%;
  transition: all 0.35s ease;
  backdrop-filter: blur(12px);
}

.wg-results-card {
  background: rgba(14, 14, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: clamp(26px, 2.2vw, 34px) clamp(16px, 1.6vw, 22px);
  height: 100%;
  transition: all 0.35s ease;
  backdrop-filter: blur(12px);
}

.wg-results-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(20, 20, 26, 0.95);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.wg-results-num {
  font-family: var(--font-clash, inherit);
  font-size: clamp(2rem, 2.6vw, 2.75rem) !important;
  font-weight: 700;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  white-space: nowrap !important;
  word-break: keep-all !important;
  display: inline-block;
  background: linear-gradient(135deg, #FFFFFF 30%, rgba(255, 255, 255, 0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wg-results-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.wg-results-sub {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0;
}

/* ==========================================================================
   HUPTECH-STYLE "TRUSTED PERSPECTIVES" TESTIMONIALS (DARK LUXURY EDITORIAL)
   ========================================================================== */
.wg-perspectives-section {
  position: relative;
  z-index: 2;
  padding: 110px 0 100px;
  background: #08080A;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wg-perspective-card {
  position: relative;
  background: rgba(16, 16, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 44px 38px 36px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.wg-perspective-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 90, 31, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.wg-perspective-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

.wg-perspective-card:hover::before {
  opacity: 1;
}

.wg-quote-glyph {
  font-family: var(--wg-font-display);
  font-size: 4rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.15);
  margin-bottom: -15px;
  user-select: none;
}

.wg-perspective-stars {
  display: flex;
  gap: 4px;
  color: #F59E0B;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.wg-perspective-quote {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #FFFFFF;
  font-weight: 400;
  margin-bottom: 32px;
}

.wg-perspective-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wg-perspective-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wg-perspective-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #FFFFFF;
}

.wg-perspective-name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.wg-perspective-role {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.wg-perspective-brand-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  max-height: 38px;
}

.wg-perspective-brand-badge img {
  height: 20px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   ROTATING TICKER IN HERO
   ========================================================================== */
.wg-hero-rotator {
  display: inline-block;
  color: var(--wg-accent-huptech-orange);
  position: relative;
  transition: opacity 0.3s ease;
}

/* ==========================================================================
   CINEMATIC INTRO VIDEO BANNER (Huptech Web Style)
   ========================================================================== */
.hw-vbanner {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 560px;
  max-height: 920px;
  background: #000000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hw-vbanner__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hw-vbanner__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.85) contrast(1.05);
}

.hw-vbanner__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.65) 100%),
              linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 40%, rgba(10, 10, 12, 0.95) 100%);
  pointer-events: none;
}

.hw-vbanner__playToggle {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: all 0.3s var(--wg-ease-out-expo);
}

.hw-vbanner__playToggle:hover {
  background: rgba(255, 255, 255, 0.26);
  border-color: #FFFFFF;
  transform: scale(1.08);
}

.hw-vbanner__bar {
  position: relative;
  z-index: 3;
  padding: 24px 0 clamp(24px, 4vh, 44px);
  background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 12, 0.92) 100%);
}

.hw-vbanner__logo img {
  height: clamp(32px, 3.8vw, 42px);
  width: auto;
  display: block;
}

.hw-vbanner__scrollBtn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #FFFFFF !important;
  text-decoration: none !important;
  animation: hwChevronBounce 2.2s infinite ease-in-out;
  cursor: pointer;
}

.hw-vbanner__scroll-text {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.8;
}

.hw-vbanner__chevrons {
  width: 28px;
  height: 18px;
}

@keyframes hwChevronBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.hw-vbanner__soundToggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hw-vbanner__soundToggle:hover {
  border-color: #FFFFFF;
  background: #000000;
  transform: scale(1.08);
}

@media (max-width: 767px) {
  .hw-vbanner {
    height: 75vh;
    min-height: 460px;
  }
  .hw-vbanner__scroll-text {
    display: none;
  }
}

/* ==========================================================================
   STACKED EDITORIAL SHOWCASE CARDS (NO BOX-ON-BOX, INDIVIDUAL ONE-BY-ONE)
   ========================================================================== */
.wg-work-showcase-section {
  position: relative;
  background-color: #070709;
  z-index: 2;
}

.wg-showcase-card {
  background: #0e0e12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  transition: transform 0.45s var(--wg-ease-out-expo),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
  margin-bottom: 42px;
}

.wg-showcase-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 32px 85px rgba(0, 0, 0, 0.8), 0 0 45px rgba(160, 80, 240, 0.15);
}

.wg-showcase-content {
  padding: clamp(32px, 4vw, 56px);
  background: linear-gradient(135deg, rgba(20, 20, 26, 0.98) 0%, rgba(13, 13, 17, 0.99) 100%);
  position: relative;
  z-index: 2;
}

.wg-showcase-logo-wrap {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  padding: 8px 18px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.wg-showcase-logo-wrap img {
  height: 28px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

.wg-showcase-badge {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.wg-showcase-metric-block {
  margin: 20px 0 16px 0;
}

.wg-showcase-metric {
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  background: linear-gradient(180deg, #FFFFFF 30%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wg-showcase-metric-sub {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 6px;
  letter-spacing: 0.2px;
}

.wg-showcase-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.wg-showcase-desc {
  font-size: 0.96rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}

.wg-showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wg-showcase-tags .wg-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 12px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.wg-showcase-footer {
  margin-top: auto;
  padding-top: 24px;
}

.wg-showcase-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF !important;
  text-decoration: none !important;
  transition: gap 0.3s ease, color 0.3s ease;
}

.wg-showcase-cta i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  transition: transform 0.3s var(--wg-ease-out-expo), background-color 0.3s ease;
}

.wg-showcase-card:hover .wg-showcase-cta {
  gap: 16px;
  color: #A050F0 !important;
}

.wg-showcase-card:hover .wg-showcase-cta i {
  background: #FFFFFF;
  color: #0A0A0A;
  transform: translateX(4px);
}

.wg-showcase-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background-color: #050507;
}

.wg-media-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  text-decoration: none;
}

.wg-media-link img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.92) contrast(1.05);
  transition: transform 0.8s var(--wg-ease-out-expo), filter 0.6s ease;
}

.wg-showcase-card:hover .wg-media-link img {
  transform: scale(1.04);
  filter: brightness(1.0) contrast(1.05);
}

.wg-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.1) 0%, rgba(10, 10, 12, 0.45) 100%);
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px;
}

.wg-media-expand-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #0A0A0A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s var(--wg-ease-out-expo), background-color 0.2s ease;
}

.wg-showcase-card:hover .wg-media-expand-btn {
  transform: scale(1.12) rotate(45deg);
  background: #FFFFFF;
}

@media (max-width: 991px) {
  .wg-showcase-media {
    min-height: 280px;
  }
  .wg-media-link {
    min-height: 280px;
  }
  .wg-showcase-content {
    padding: 28px 20px;
  }
}

/* ==========================================================================
   TYPOGRAPHY WORD SPACING SAFEGUARDS
   ========================================================================== */
.wg-hero-title,
.hw-textH1Resize,
.wg-about-hero-title,
.wg-contact-hero-title,
.font-clash {
  word-spacing: normal !important;
  white-space: normal !important;
}


/* ==========================================================================
   UI AUDIT FIXES (24 Oct 2026) — see webrise-ui-audit.html
   Kept in one block at the end so they win the cascade over the Crafto theme.
   ========================================================================== */

/* ---- H-1: hero badges no longer sliced by the 3D card plane ------------- */
.wg-hero-visual { perspective: none; }
.wg-hero-scene  { perspective: 1200px; transform-style: flat; }
.wg-scene-card-main { z-index: 1; }
.wg-scene-float-badge { z-index: 5; white-space: nowrap; }

/* ---- H-2: hero stats never break mid-number ----------------------------- */
.wg-stat-item .wg-stat-number {
  white-space: nowrap;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
}
.wg-stat-item .wg-stat-label { line-height: 1.35; }
@media (max-width: 1199px) {
  .wg-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
  }
}

/* ---- N-1 / M-2: header is always a dark bar, white logo, no logo jump --- */
header nav.navbar.glass-effect.header-scrolled,
header nav.navbar.sticky-active,
header.sticky.sticky-active .header-reverse.glass-effect,
header.sticky.sticky-appear .header-reverse-back-scroll.glass-effect {
  background-color: rgba(10, 10, 10, 0.88) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--wg-border-subtle) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
header nav.navbar .navbar-brand img { height: 42px; width: auto; }
header nav.navbar .navbar-brand .default-logo,
header.sticky.sticky-active .navbar-brand .default-logo {
  display: inline-block !important; visibility: visible !important; opacity: 1 !important; width: auto !important;
}
header nav.navbar .navbar-brand .alt-logo,
header nav.navbar .navbar-brand .mobile-logo,
header.sticky.sticky-active .navbar-brand .alt-logo {
  display: none !important;
}
header .navbar .navbar-nav .nav-link,
header.sticky.sticky-active .navbar .navbar-nav .nav-link,
header.sticky.sticky-appear .navbar .navbar-nav .nav-link { color: #fff !important; opacity: 1; }
header .navbar .navbar-nav .nav-link:hover { color: rgba(255, 255, 255, 0.7) !important; }
header .navbar .navbar-toggler-line { background-color: #fff !important; }
@media (max-width: 991px) {
  header nav.navbar, header nav.navbar.glass-effect {
    background-color: rgba(10, 10, 10, 0.88) !important;
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--wg-border-subtle);
  }
  header .navbar-collapse { background: #0A0A0A; border-radius: 12px; }
  header .navbar-collapse .nav-link,
  header .navbar-collapse .dropdown-menu a { color: #fff !important; }
  header .navbar-collapse .dropdown-menu { background: #141414; border-color: var(--wg-border-subtle); }
}
/* One header CTA style on every page: white pill, dark text */
header .header-button .btn,
header .header-button .wg-btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff !important; border: 1px solid #fff !important; color: #0A0A0A !important;
  border-radius: 100px; padding: 10px 24px; font-size: 0.9rem; font-weight: 600;
  white-space: nowrap; box-shadow: none; text-transform: none;
}
header .header-button .btn i, header .header-button .wg-btn-primary i { color: #0A0A0A !important; font-size: 0.8rem; margin: 0; }
header .header-button .btn:hover, header .header-button .wg-btn-primary:hover { background: #e9e9e9 !important; }
/* ...and it stays visible at tablet width (1024px) */
@media (min-width: 992px) and (max-width: 1199px) {
  header .navbar > .container-fluid > .col-auto.d-none.d-xl-flex { display: flex !important; }
  header .navbar .navbar-nav .nav-link { padding-left: 10px; padding-right: 10px; font-size: 0.9rem; }
  header .header-button .btn, header .header-button .wg-btn-primary { padding: 8px 16px; font-size: 0.82rem; }
  header .navbar > .container-fluid { padding-left: 24px !important; padding-right: 24px !important; flex-wrap: nowrap; gap: 12px; }
  header .navbar > .container-fluid > div:nth-child(1) { width: auto; flex: 0 0 auto; }
  header .navbar > .container-fluid > div:nth-child(2) { width: auto; flex: 1 1 auto; min-width: 0; }
  header .navbar > .container-fluid > div:nth-child(3) { width: auto; flex: 0 0 auto; }
  header .navbar .navbar-collapse { justify-content: center; }
}

/* ---- C-1: carousel — equal-size cards, clean states, always-visible arrow */
.hw-project-slide { transform: none !important; opacity: 0.5; }
.hw-project-slide.active { opacity: 1; }
.hw-panel-arrow-btn i { line-height: 1; }
body:not(.wg-in-hero) .scroll-progress { opacity: 0 !important; pointer-events: none !important; transition: opacity .3s ease; }

/* ---- C-2: mobile carousel — next card peeks in, counter/controls -------- */
.hw-mobile-controls { display: none; }
@media (max-width: 991px) {
  .hw-project-slide { flex: 0 0 82vw; width: 82vw; }
  .hw-pinned-track-wrap { scroll-padding-left: 16px; }
  .hw-mobile-controls {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 0 16px; margin-top: -16px;
  }
  .hw-mobile-dots { display: flex; gap: 8px; align-items: center; }
  .hw-mobile-dots button {
    width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0;
    background: rgba(255,255,255,.28); transition: all .25s ease;
  }
  .hw-mobile-dots button.is-active { width: 24px; border-radius: 100px; background: #C287FB; }
  .hw-mobile-count { color: rgba(255,255,255,.7); font-size: .85rem; font-weight: 700; letter-spacing: 1.5px; }
  .hw-mobile-nav { display: flex; gap: 8px; }
  .hw-mobile-nav button {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.06); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  }
  .hw-mobile-nav button:disabled { opacity: .35; }
}

/* ---- C-3: client logos readable (white badge, >=36px) ------------------- */
.hw-card-logo-wrap, .wg-card-brand-badge, .wg-showcase-logo-wrap {
  background: #fff !important; border: 1px solid rgba(0,0,0,.08);
}
.hw-card-logo { max-height: 36px; width: auto; height: auto; max-width: 160px; }
.wg-card-brand-badge img, .wg-showcase-logo-wrap img { height: 36px; width: auto; max-width: 150px; object-fit: contain; }
@media (max-width: 991px) { .hw-card-logo { max-height: 32px; } }

/* ---- K-1/K-2/K-4: equal-height cards, aligned actions, no wrapping chips */
#portfolio-grid > [class*="col-"] { display: flex; }
#portfolio-grid .wg-portfolio-card { display: flex; width: 100%; }
#portfolio-grid .wg-portfolio-card > a { display: flex !important; flex-direction: column; height: 100%; width: 100%; }
.wg-card-body { flex: 1 1 auto; }
.wg-card-action { margin-top: auto; }
.wg-card-desc {
  flex-grow: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(3 * 1.55em);
}
.wg-card-tags { margin-top: auto; flex-wrap: nowrap; overflow: hidden; gap: 6px; }
.wg-card-tags .wg-tag { white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; padding: 4px 9px; }
.wg-card-tags .wg-tag:nth-child(n+4) { display: none; }
.wg-card-kicker-transformation {
  display: block !important; line-height: 1.4; width: 100%;
}
.wg-card-kicker-transformation > span { display: block; margin-top: 2px; text-transform: none; letter-spacing: 0; }
.wg-card-title { gap: 8px; }
.wg-card-metric-label { min-height: 2.6em; }
.wg-filter-nav { padding-left: 0; margin-left: 0; justify-content: flex-start; }
.wg-showcase-content { padding: clamp(28px, 4vw, 48px) !important; }

/* ---- K-3: service regions — identical header structure, equal height ---- */
.wg-region-row { align-items: stretch; }
.wg-region-card { height: 100%; display: flex; flex-direction: column; }
.wg-region-card .wg-region-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.wg-region-card .wg-region-title { margin: 0; }
.wg-region-card .wg-region-title a { display: flex; flex-direction: column; gap: 8px; }
.wg-region-card .wg-region-title i { font-size: 1.4rem; margin: 0 !important; }
.wg-region-card .wg-region-tz { white-space: nowrap; flex-shrink: 0; }
.wg-region-section { overflow: hidden; background-image: none !important; }
@media (min-width: 768px) { .wg-region-row > [class*="col-"] { margin-bottom: 0 !important; } }
@media (max-width: 767px) { .wg-region-row > [class*="col-"] { margin-bottom: 24px !important; } .wg-region-row > [class*="col-"]:last-child { margin-bottom: 0 !important; } }

/* ---- T-1: one pill style, never wraps ----------------------------------- */
.wg-pillars-badge, .hw-showcase-badge, .wg-enterprise-badge, .wg-showcase-badge,
.wg-pill, .wg-section-pill, .bg-white-transparent.d-inline-flex {
  white-space: nowrap; line-height: 1.2; width: max-content; max-width: 100%;
  display: inline-flex; align-items: center; gap: 8px;
}
.bg-white-transparent.d-inline-flex { padding: 9px 22px; height: auto; }
@media (max-width: 575px) {
  .wg-pillars-badge, .hw-showcase-badge, .wg-enterprise-badge, .bg-white-transparent.d-inline-flex {
    letter-spacing: .8px; font-size: .68rem; padding-left: 14px; padding-right: 14px;
  }
}

/* ---- T-2: buttons never wrap, same height ------------------------------- */
.wg-btn-primary, .wg-btn-secondary, .btn, .hw-archive-link { white-space: nowrap; min-height: 52px; line-height: 1.2; }
.wg-closing-cta .wg-btn-primary, .wg-closing-cta .wg-btn-secondary { min-height: 56px; padding: 0 32px !important; font-size: 1.02rem !important; }
.wg-closing-cta .d-flex.flex-wrap.gap-4 { row-gap: 10px !important; }
.wg-closing-cta .d-flex.flex-wrap.gap-4 > span { white-space: nowrap; line-height: 1.4; }
@media (max-width: 575px) {
  .wg-btn-primary, .wg-btn-secondary { width: 100%; }
  .wg-closing-cta .d-flex.flex-wrap.gap-4 { flex-direction: column; gap: 10px !important; }
}

/* ---- T-3: display headings keep their word spacing ---------------------- */
h1, h2, h3, h4, .wg-hero-title, .hw-showcase-heading, .wg-closing-title, .wg-closing-cta-title, .wg-stat-number {
  letter-spacing: -0.01em; word-spacing: 0.05em;
}
.ls-minus-2px, h1.ls-minus-2px, h2.ls-minus-2px, h3.ls-minus-2px { letter-spacing: -0.01em !important; }
@media (max-width: 767px) {
  h1, h2, h3, h4, .wg-hero-title, .hw-showcase-heading, .ls-minus-2px { letter-spacing: 0 !important; }
}

/* ---- M-1: floating buttons stay out of the way on phones --------------- */
@media (max-width: 767px) {
  body { padding-bottom: 80px; }
  .a11y-toggle-btn, .wg-chat-toggle {
    width: 44px; height: 44px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .a11y-toggle-btn { left: 12px; }
  .wg-chat-toggle { right: 12px; }
  .a11y-toggle-btn svg, .wg-chat-toggle-icon { width: 22px; height: 22px; }
  .a11y-panel { bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .wg-chat-window { bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
}

/* ---- P-2: footer, spacing scale, delivery-standard image --------------- */
:root { --wg-section-space: 96px; }
@media (max-width: 767px) { :root { --wg-section-space: 64px; } }
.wg-pillars-section, .wg-tangible-results, .wg-process-section, .wg-perspectives-section {
  padding-top: var(--wg-section-space) !important; padding-bottom: var(--wg-section-space) !important;
}
.wg-closing-cta { padding-top: var(--wg-section-space); padding-bottom: var(--wg-section-space); }
footer, footer.bg-dark-gray, footer .bg-dark-gray { background-color: #0A0A0A !important; }
footer { border-top: 1px solid var(--wg-border-subtle); }

/* dark footer to match the rest of the site */
footer.footer-light { background: #0A0A0A !important; color: rgba(255,255,255,.7); }
footer.footer-light p, footer.footer-light li, footer.footer-light span { color: rgba(255,255,255,.7); }
footer.footer-light a { color: rgba(255,255,255,.78); }
footer.footer-light a:hover { color: #fff; }
footer.footer-light .text-dark-gray, footer.footer-light .fw-600 { color: #fff !important; }
footer.footer-light strong { color: #fff; }
footer.footer-light .footer-logo img { filter: brightness(0) invert(1); }
footer.footer-light .divider-style-03, footer.footer-light .divider-style-03-01 { border-color: rgba(255,255,255,.12) !important; }
footer.footer-light .wg-footer-where ul { margin-bottom: 0; }

/* ---- Two background shades only: A #0A0A0A / B #111113 ------------------ */
:root { --wg-shade-a: #0A0A0A; --wg-shade-b: #111113; }
.wg-hero-wrapper, .hw-pinned-showcase-section, .wg-tangible-results, .wg-region-section,
.bg-dark-gray { background-color: var(--wg-shade-a) !important; }
.hw-sticky-viewport { background: var(--wg-shade-a); }
.wg-marquee-section, .wg-pillars-section, .wg-process-section, .wg-perspectives-section { background: var(--wg-shade-b) !important; }
.wg-closing-cta { background: radial-gradient(circle at 50% 50%, #151517 0%, var(--wg-shade-a) 100%); }
.wg-region-section { border-top: 1px solid var(--wg-border-subtle); }

/* ---- P-1: case-study pages use the homepage design --------------------- */
.wg-case-study { background: var(--wg-shade-a); color: rgba(255,255,255,.74); }
.wg-case-study section.bg-very-light-gray { background: var(--wg-shade-b) !important; }
.wg-case-study section:not([class*="bg-"]) { background: var(--wg-shade-a); }
.wg-case-study section.bg-very-light-gray, .wg-case-study section:not([class]), .wg-case-study section[class=""] {
  padding-top: var(--wg-section-space); padding-bottom: var(--wg-section-space);
  border-top: 1px solid var(--wg-border-subtle);
}
.wg-case-study h1, .wg-case-study h2, .wg-case-study h3, .wg-case-study h4,
.wg-case-study .text-dark-gray { color: #fff !important; font-family: var(--wg-font-display); }
.wg-case-study h3.fw-700 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.wg-case-study p, .wg-case-study li { color: rgba(255,255,255,.72); line-height: 1.75; }
.wg-case-study a:not(.btn):not(.wg-btn-primary):not(.wg-btn-secondary):not(.nav-link):not(.dropdown-item) { color: #fff; }
.wg-case-study .bg-white.d-inline-flex {
  background: rgba(255,255,255,.12) !important; border: 1px solid rgba(255,255,255,.18);
  color: #fff !important; white-space: nowrap; line-height: 1.2; padding: 9px 22px;
}
.wg-case-study .bg-white.d-inline-flex i { color: #fff; }
.wg-case-study .btn-transparent-dark-gray, .wg-case-study .btn-transparent-white-light {
  background: rgba(255,255,255,.05) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.22) !important;
}
.wg-case-study .btn-transparent-dark-gray:hover, .wg-case-study .btn-transparent-white-light:hover {
  background: #fff !important; color: #0A0A0A !important; border-color: #fff !important;
}
.wg-case-study .accordion-item { background: transparent; border: 0; border-bottom: 1px solid var(--wg-border-subtle); }
.wg-case-study .accordion-button, .wg-case-study .accordion-button:not(.collapsed) {
  background: rgba(255,255,255,.04) !important; color: #fff !important; box-shadow: none;
}
.wg-case-study .accordion-button::after { filter: invert(1); }
.wg-case-study .accordion-body { background: transparent; color: rgba(255,255,255,.72); }
.wg-case-study .breadcrumb a, .wg-case-study .breadcrumb-item.active { color: rgba(255,255,255,.6) !important; }

/* ---- text-style "metrics" (deliverable labels instead of unverified numbers) */
.hw-panel-metric--label { font-size: clamp(1.7rem, 2.6vw, 2.4rem) !important; line-height: 1.1; letter-spacing: -0.01em; white-space: nowrap; }
.wg-card-metric-num--label { font-size: clamp(1.3rem, 1.8vw, 1.7rem) !important; white-space: nowrap; }
@media (max-width: 991px) { .hw-panel-metric--label { font-size: 1.9rem !important; } }

/* ---- P-2 Delivery Standard: image fills the column; T-4 testimonial logos readable */
@media (min-width: 992px) {
  .wg-delivery-row { align-items: stretch !important; }
  .wg-delivery-row > .col-lg-5 { margin-bottom: 0 !important; }
  .wg-delivery-img { height: 100%; }
  .wg-delivery-img img { height: 100% !important; object-fit: cover; }
}
.wg-perspective-brand-badge { background: #fff !important; border: 1px solid rgba(0,0,0,.08) !important; max-height: none; padding: 8px 14px; }
.wg-perspective-brand-badge img { height: 36px; max-width: 140px; }
.wg-perspective-card { height: 100%; }

/* long link-buttons (related reading) may wrap on phones rather than overflow the page */
@media (max-width: 575px) {
  .btn { white-space: normal; max-width: 100%; text-align: center; }
}

/* ---- card polish after content update ---------------------------------- */
.wg-card-metric-row { flex-direction: column; align-items: flex-start; gap: 4px; }
.wg-card-metric-label { text-align: left; min-height: 0; }
.wg-card-tags .wg-tag:nth-child(n+3) { display: none; }
.wg-card-desc { -webkit-line-clamp: 4; min-height: calc(4 * 1.55em); }
@media (max-width: 991px) {
  .hw-card-image-wrap .hw-card-img[src*="in-development"] { height: auto; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; align-self: flex-start; }
}

/* ---- Section 8: case-study screenshot gallery + key features ------------ */
.wg-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: start; }
.wg-shot { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--wg-border-medium); background: #141414; box-shadow: 0 18px 40px rgba(0,0,0,.45); transition: transform .3s ease, border-color .3s ease; cursor: zoom-in; }
.wg-shot:hover { transform: translateY(-3px); border-color: var(--wg-border-glow); }
.wg-shot img { display: block; width: 100%; height: auto; }
.wg-shot--desktop { grid-column: span 6; }
.wg-shot--desktop.is-hero { grid-column: span 12; }
.wg-shot--mobile { grid-column: span 3; border-radius: 22px; }
@media (max-width: 767px) { .wg-shot--desktop { grid-column: span 12; } .wg-shot--mobile { grid-column: span 6; } }
.wg-feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.wg-feature-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--wg-border-subtle); border-radius: 12px; background: rgba(255,255,255,.03); color: rgba(255,255,255,.82); line-height: 1.5; }
.wg-feature-list li::before { content: "\2713"; color: var(--wg-status-live); font-weight: 700; flex: 0 0 auto; }
.wg-status-note { display: inline-flex; padding: 6px 14px; border-radius: 100px; border: 1px solid rgba(255,255,255,.2); font-size: .8rem; letter-spacing: 1px; text-transform: uppercase; color: #fff; }
.wg-lightbox { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.9); padding: 24px; }
.wg-lightbox.is-open { display: flex; }
.wg-lightbox img { max-width: min(92vw, 1600px); max-height: 88vh; border-radius: 10px; }
.wg-lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; font-size: 1.4rem; display: inline-flex; align-items: center; justify-content: center; }
.wg-lb-close { top: 16px; right: 16px; } .wg-lb-prev { left: 16px; top: 50%; } .wg-lb-next { right: 16px; top: 50%; }

/* ---- Portfolio: software products + website cards ----------------------- */
.wg-more-work { background: var(--wg-shade-a); padding: var(--wg-section-space) 0; border-top: 1px solid var(--wg-border-subtle); }
.wg-more-work--alt { background: var(--wg-shade-b); }
.wg-mini-card { display: flex; flex-direction: column; width: 100%; border: 1px solid var(--wg-border-medium); border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #141414 0%, #0D0D0D 100%); text-decoration: none !important; transition: transform .3s ease, border-color .3s ease; }
a.wg-mini-card:hover { transform: translateY(-4px); border-color: var(--wg-border-glow); }
.wg-mini-logo { height: 150px; display: flex; align-items: center; justify-content: center; padding: 22px 28px; background: #fff; }
.wg-mini-logo.is-dark { background: #0d0d11; }
.wg-mini-logo img { max-height: 100%; max-width: 78%; width: auto; height: auto; object-fit: contain; }
.wg-mini-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 22px 24px 24px; }
.wg-mini-kicker { font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--wg-text-muted); font-weight: 700; margin-bottom: 6px; }
.wg-mini-title { font-size: 1.25rem; color: #fff !important; margin: 0 0 8px; line-height: 1.25; }
.wg-mini-desc { font-size: .92rem; color: var(--wg-text-secondary) !important; line-height: 1.55; margin: 0 0 16px; }
.wg-mini-card .wg-card-tags { margin-top: auto; }
.wg-mini-site .wg-mini-body { padding-top: 18px; }
.wg-mini-mono { margin: 22px 24px 0; width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-family: var(--wg-font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: 1px; color: #fff; background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); border: 1px solid var(--wg-border-medium); }
.wg-mini-link { margin-top: auto; color: #fff; font-weight: 600; font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; }


/* ==========================================================================
   BRAND FONT: Montserrat (closest match to the Webrise logo lettering), site-wide
   ========================================================================== */
:root {
  --alt-font: 'Montserrat', sans-serif;
  --primary-font: 'Montserrat', sans-serif;
  --font-clash: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --font-display: 'Montserrat', sans-serif;
  --font-mono: 'Montserrat', sans-serif;
  --bs-font-sans-serif: 'Montserrat', sans-serif;
}
body, button, input, select, textarea, .font-clash, .font-dm, .alt-font, .primary-font { font-family: 'Montserrat', sans-serif; }
h1, h2, h3, h4, h5, h6, .wg-hero-title, .hw-showcase-heading, .wg-closing-cta-title { font-family: 'Montserrat', sans-serif; font-weight: 700; }
h1, .wg-hero-title { line-height: 1.12; letter-spacing: -0.015em; }
h2, h3 { letter-spacing: -0.01em; }
.wg-hero-title { font-size: clamp(2.2rem, 4.6vw, 4.2rem); }
.wg-stat-number, .wg-results-num, .hw-panel-metric { font-weight: 800; }

/* Software case-study links on mini cards */
.wg-mini-title a{color:inherit !important;text-decoration:none;}
.wg-mini-title a:hover{text-decoration:underline;}
.wg-mini-link{display:inline-flex;align-items:center;gap:6px;margin-top:14px;font-size:.85rem;font-weight:600;color:#fff !important;text-decoration:none;opacity:.85;}
.wg-mini-link:hover{opacity:1;}
.wg-mini-card .wg-mini-body{display:flex;flex-direction:column;}
.wg-mini-card .wg-mini-link{margin-top:auto;padding-top:14px;}
.wg-region-row{row-gap:24px;}

/* ===== Round 4: home redesign ===== */
.wg-ix-section{background:var(--wg-shade-a);padding:var(--wg-section-space,96px) 0;border-top:1px solid var(--wg-border-subtle);}
.wg-ix{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:48px;align-items:start;}
.wg-ix-list{display:flex;flex-direction:column;border-top:1px solid rgba(255,255,255,.12);}
.wg-ix-row{all:unset;box-sizing:border-box;cursor:pointer;display:grid;grid-template-columns:44px 1fr auto 24px;align-items:center;gap:12px;padding:18px 8px;border-bottom:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.55);transition:color .2s,padding .2s,background .2s;}
.wg-ix-row:focus-visible{outline:2px solid #fff;outline-offset:2px;}
.wg-ix-num{font-size:.8rem;font-weight:600;letter-spacing:.08em;opacity:.7;}
.wg-ix-name{font-size:1.05rem;font-weight:600;line-height:1.3;}
.wg-ix-cat{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;opacity:.65;white-space:nowrap;}
.wg-ix-row i{opacity:0;transform:translateX(-6px);transition:.2s;}
.wg-ix-row:hover,.wg-ix-row.is-active{color:#fff;padding-left:16px;background:rgba(255,255,255,.04);}
.wg-ix-row.is-active i,.wg-ix-row:hover i{opacity:1;transform:none;}
.wg-ix-stage{position:sticky;top:110px;}
.wg-ix-panel{display:none;}
.wg-ix-panel.is-active{display:block;animation:wgIxIn .35s ease;}
@keyframes wgIxIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.wg-ix-media{position:relative;display:block;aspect-ratio:4/3;border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.14);background:#141414;}
.wg-ix-media>img:not(.wg-ix-bigmark){width:100%;height:100%;object-fit:cover;display:block;}
.wg-ix-logo{position:absolute;left:16px;top:16px;background:rgba(255,255,255,.94);border-radius:10px;padding:8px 12px;display:flex;}
.wg-ix-logo img{height:24px;width:auto;max-width:130px;object-fit:contain;}
.wg-ix-media--logo{display:flex;align-items:center;justify-content:center;background:#fff;}
.wg-ix-media--logo.is-dark{background:#141414;}
.wg-ix-bigmark{max-width:62%;max-height:55%;width:auto;height:auto;object-fit:contain;}
.wg-ix-info{padding:22px 4px 0;}
.wg-ix-metric{display:inline-block;font-size:.75rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#fff;opacity:.7;margin-bottom:8px;}
.wg-ix-title{color:#fff;font-size:clamp(1.25rem,2vw,1.6rem);font-weight:700;margin:0 0 8px;line-height:1.25;}
.wg-ix-desc{color:rgba(255,255,255,.65);margin:0 0 14px;}
.wg-ix-pills{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px;}
.wg-ix-link{color:#fff;font-weight:600;text-decoration:none;display:inline-flex;gap:8px;align-items:center;}
.wg-ix-link:hover{text-decoration:underline;}
@media (max-width:991px){
 .wg-ix{grid-template-columns:1fr;gap:28px;}
 .wg-ix-stage{position:static;order:-1;}
 .wg-ix-row{grid-template-columns:36px 1fr 24px;} .wg-ix-cat{display:none;} .wg-ix-row i{opacity:.6;transform:none;}
}
/* What we build */
.wg-build-intro{position:sticky;top:110px;}
.wg-build-list{border-top:1px solid rgba(255,255,255,.14);}
.wg-build-row{display:grid;grid-template-columns:64px 1fr;gap:20px;padding:32px 8px;border-bottom:1px solid rgba(255,255,255,.14);text-decoration:none;color:#fff;transition:background .2s,padding .2s;}
.wg-build-row:hover{background:rgba(255,255,255,.04);padding-left:20px;}
.wg-build-no{font-size:1.6rem;font-weight:800;opacity:.35;line-height:1;}
.wg-build-body h3{color:#fff;font-size:clamp(1.2rem,1.8vw,1.55rem);font-weight:700;margin:0 0 10px;}
.wg-build-body p{color:rgba(255,255,255,.65);margin:0 0 12px;}
.wg-build-proof{font-size:.9rem;font-weight:600;color:#fff;opacity:.85;}
@media (max-width:991px){.wg-build-intro{position:static;} .wg-build-row{grid-template-columns:44px 1fr;gap:12px;padding:24px 4px;}}
/* ledger */
.wg-ledger{border-top:1px solid rgba(255,255,255,.14);}
.wg-ledger-row{display:grid;grid-template-columns:150px 260px 1fr 24px;gap:24px;align-items:center;padding:26px 8px;border-bottom:1px solid rgba(255,255,255,.14);text-decoration:none;color:#fff;transition:background .2s;}
.wg-ledger-row:hover{background:rgba(255,255,255,.04);}
.wg-ledger-num{font-size:clamp(2.4rem,4.4vw,3.6rem);font-weight:800;line-height:1;letter-spacing:-.02em;}
.wg-ledger-label{font-size:1.15rem;font-weight:700;}
.wg-ledger-note{color:rgba(255,255,255,.62);font-size:.95rem;}
@media (max-width:991px){.wg-ledger-row{grid-template-columns:92px 1fr 20px;gap:6px 14px;padding:20px 4px;} .wg-ledger-num{grid-row:1/3;font-size:2.2rem;} .wg-ledger-note{grid-column:2;grid-row:2;font-size:.88rem;} .wg-ledger-label{font-size:1.02rem;} .wg-ledger-row>i{grid-row:1/3;grid-column:3;}}

/* FAQ open state: never white-on-white (contact page + any dark FAQ block) */
.wg-contact-faq-section .accordion-button:not(.collapsed),
.wg-contact-faq-section .accordion-button:not(.collapsed):focus{background:transparent !important;color:#fff !important;box-shadow:none !important;}
.wg-contact-faq-section .accordion-button:not(.collapsed)::after{filter:invert(1);}

/* Dropdown readability on dark (wg-case-study) pages: white panel => dark text */
@media (min-width:992px){
.wg-case-study header .navbar-collapse .dropdown-menu a,
.wg-case-study header .dropdown-menu li a{color:#0A0A0A !important}
.wg-case-study header .dropdown-menu li a:hover{color:#000 !important;opacity:.7}
}

/* Portfolio website cards: cover image + visible location */
.wg-mini-site .wg-mini-cover{aspect-ratio:8/5;overflow:hidden;background:#0d0d11;border-bottom:1px solid var(--wg-border-medium);}
.wg-mini-site .wg-mini-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease;}
a.wg-mini-site:hover .wg-mini-cover img{transform:scale(1.04);}
.wg-mini-site .wg-mini-body{padding-top:18px;}
.wg-mini-loc{display:inline-flex;align-items:center;gap:6px;font-size:.8rem;font-weight:600;color:#fff !important;opacity:.9;margin:0 0 10px;}
.wg-mini-loc i{font-size:.85rem;}

/* Scrolling client carousel (home) */
.wg-rv-wrap{position:relative;}
.wg-rv-track{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:6px 2px 10px;}
.wg-rv-track::-webkit-scrollbar{display:none;}
.wg-rv-card{flex:0 0 calc((100% - 40px)/3);scroll-snap-align:start;display:flex;flex-direction:column;gap:14px;background:rgba(18,18,24,.7);border:1px solid var(--wg-border-medium,rgba(255,255,255,.14));border-radius:16px;padding:28px;min-height:330px;}
.wg-rv-card .wg-perspective-quote{flex:1 1 auto;margin:0;}
.wg-rv-card .wg-perspective-author-row{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid rgba(255,255,255,.1);padding-top:16px;}
.wg-rv-tag{font-size:.72rem;letter-spacing:1.5px;text-transform:uppercase;font-weight:700;color:rgba(255,255,255,.55);}
.wg-rv-biz{font-size:1.35rem;color:#fff !important;margin:0;line-height:1.25;}
.wg-rv-text{flex:1 1 auto;margin:0;color:rgba(255,255,255,.7);font-size:.95rem;line-height:1.6;}
.wg-rv-link{color:#fff !important;font-weight:600;font-size:.9rem;text-decoration:none;}
.wg-rv-link:hover{text-decoration:underline;}
.wg-rv-card .wg-perspective-brand-badge{background:#fff;border-radius:8px;padding:6px 10px;display:flex;align-items:center;}
.wg-rv-card .wg-perspective-brand-badge img{height:28px;width:auto;max-width:90px;object-fit:contain;}
.wg-rv-btn{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:rgba(10,10,10,.85);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;}
.wg-rv-prev{left:-14px;}.wg-rv-next{right:-14px;}
@media(max-width:991px){.wg-rv-card{flex-basis:calc((100% - 20px)/2);}}
@media(max-width:640px){.wg-rv-card{flex-basis:88%;}.wg-rv-prev{left:-6px}.wg-rv-next{right:-6px}}

/* Client logo panel on website cards (used by apply-client-logos.py) */
.wg-mini-cover.has-logo{background:#fff;display:flex;align-items:center;justify-content:center;}
.wg-mini-logo-panel{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:28px 36px;}
.wg-mini-logo-panel img{max-width:78%;max-height:100%;width:auto;height:auto;object-fit:contain !important;}
.wg-mini-site .wg-mini-cover.has-logo img{transform:none !important;}
.wg-mini-cover.has-logo.is-dark{background:#0d0d11;}

/* Cookie notice + consent line (Meta Ads readiness) */
#wgCookie{position:fixed;left:50%;transform:translateX(-50%);bottom:14px;z-index:9990;width:min(720px,calc(100% - 24px));display:flex;gap:14px;align-items:center;background:#141414;border:1px solid rgba(255,255,255,.18);border-radius:14px;padding:12px 16px;box-shadow:0 10px 40px rgba(0,0,0,.5);}
#wgCookie p{margin:0;font-size:.82rem;line-height:1.5;color:rgba(255,255,255,.8);}
#wgCookie a{color:#fff;text-decoration:underline;}
#wgCookie button{flex:0 0 auto;background:#fff;color:#0A0A0A;border:0;border-radius:999px;padding:8px 18px;font-weight:700;font-size:.82rem;cursor:pointer;}
.wg-consent{font-size:.8rem;margin:0 0 12px;opacity:.75;}
.wg-consent a{text-decoration:underline;color:inherit;}
.wg-inapp *{scroll-behavior:auto !important;}
@media(max-width:575px){#wgCookie{bottom:8px;gap:10px;padding:10px 12px}#wgCookie p{font-size:.72rem;line-height:1.4}#wgCookie button{padding:7px 14px}}
#leadForm{scroll-margin-top:100px}
