@import url('https://fonts.googleapis.com/css2?family=Bungee&family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* Custom Premium Scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: #ffc801 #000000;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: #ffc801;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ffe066;
}

:root {
  --pitch-black: #000000; /* Pure black, as requested */
  --white: #ffffff; /* Pure white, as requested */
  --muted: #d4d4d8; /* Brighter Platinum grey for higher contrast ratio */
  --dim: #52525b; /* Dark charcoal */
  
  --accent-cyan: #ffc801; /* Gold, as requested */
  --accent-indigo: #ffc801; /* Gold, as requested */
  --accent-pink: #ffc801; /* Gold, as requested */
  
  --gradient-master: #ffc801; /* Replace gradient with solid gold */
  
  --hud-border: rgba(255, 255, 255, 0.05); /* Hairline borders */
  --hud-border-strong: rgba(255, 255, 255, 0.12);
  
  --font-heading: "Bungee", sans-serif;
  --font-body: "Montserrat", sans-serif;
  --font-mono: "Share Tech Mono", monospace;
  
  --transition-smooth: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);

  /* Theme-specific custom properties (Dark mode default) */
  --video-opacity: 0.22;
  --video-vignette: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.45) 0%, #000000 100%);
  --navbar-bg: rgba(0, 0, 0, 0.75);
  --card-bg: rgba(5, 5, 5, 0.6);
  --input-bg: rgba(5, 5, 5, 0.6);
  --btn-sec-hover: rgba(255, 255, 255, 0.04);
  --modal-overlay-rgb: 0, 0, 0;
  --logo-invert: invert(0);
}

/* -------------------------------------------------------------
   Page Setup & Natural Fluid Scrolling
------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto !important;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis-stopped {
  overflow: hidden;
}

body {
  width: 100%;
  background: var(--pitch-black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body::before {
  display: none;
}

::selection {
  background: var(--white);
  color: var(--pitch-black);
}

/* Fixed Premium Background Video System */
.video-background-system {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  background: var(--pitch-black);
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.bg-video.active {
  opacity: var(--video-opacity); /* Maximum cinematic opacity to keep copy 100% readable */
}


/* Luxurious vignette overlay */
.video-overlay-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--video-vignette);
  backdrop-filter: blur(2px);
  pointer-events: none;
}

/* Premium CSS 3D Card Tilts Perspective System */
.capsule-services-grid,
.timeline-hud-flow,
.hud-cases-grid {
  perspective: 1200px; /* Enable spatial 3D depth for child elements */
}

.capsule-service-item,
.hud-step-card,
.hud-case-card {
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.capsule-service-item:hover,
.hud-step-card:hover,
.hud-case-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 45px rgba(129, 140, 248, 0.16);
}

/* -------------------------------------------------------------
   Sleek Preloader
------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--pitch-black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-content {
  width: min(320px, 80%);
  text-align: center;
}

.preloader-logo {
  width: 180px;
  margin-bottom: 24px;
  filter: var(--logo-invert) drop-shadow(0 0 25px rgba(255,255,255,0.08));
}

.preloader-bar {
  width: 100%;
  height: 2px;
  background: var(--hud-border);
  border-radius: 1px;
  overflow: hidden;
  margin-bottom: 12px;
}

.preloader-progress {
  width: 0%;
  height: 100%;
  background: var(--gradient-master);
  transition: width 0.1s linear;
}

.preloader-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--dim);
}

.preloader-subtext {
  font-size: 9px;
  color: var(--dim);
  margin-top: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* -------------------------------------------------------------
   Interactive Pointer Cursor (Disabled)
------------------------------------------------------------- */
.custom-cursor {
  display: none !important;
}

.custom-cursor-follower {
  display: none !important;
}

/* -------------------------------------------------------------
   Sticky Header Navbar
------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 24px 0;
  background: var(--navbar-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hud-border);
}

.navbar-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  height: 44px;
  display: block;
  filter: var(--logo-invert);
  transition: var(--transition-fast);
}

.nav-logo:hover {
  transform: scale(1.02);
}

.nav-sitemap-menu {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-sitemap-link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--muted);
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-sitemap-link:hover {
  color: var(--white);
}

.nav-sitemap-link.active {
  color: var(--white);
}

.nav-sitemap-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--gradient-master);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-sitemap-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-btn {
  background: transparent;
  border: 1px solid var(--hud-border-strong);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition-fast);
  cursor: pointer;
}

.nav-btn:hover {
  background: var(--white);
  color: var(--pitch-black);
  border-color: var(--white);
}

/* Nav Actions Wrapper & Theme Toggler Styles */
.nav-actions-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* -------------------------------------------------------------
   Natural Section Spacing Layout
------------------------------------------------------------- */
/* By default (Mobile / Tablet): Natural Scroll Flow */
.editorial-main-container {
  position: relative;
  width: 100%;
  z-index: 10;
}

.editorial-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 60px 0;
  opacity: 1; /* Keep visible on mobile flow */
  pointer-events: auto; /* Active by default */
}

/* ── Premium Section Divider ── */
.section-divider {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 80px auto; /* Spacious visual margins above and below dividers on desktop */
  padding: 0 80px;
  height: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
}

/* The horizontal line — gradient fade from transparent → gold → transparent */
.section-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 80px;
  right: 80px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 200, 1, 0.15) 15%,
    rgba(255, 200, 1, 0.45) 50%,
    rgba(255, 200, 1, 0.15) 85%,
    transparent 100%
  );
  transform: translateY(-50%);
}

/* Centered gold diamond ornament */
.divider-ornament {
  position: relative;
  z-index: 2;
  display: block;
  width: 10px;
  height: 10px;
  background: #ffc801;
  transform: rotate(45deg);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(255, 200, 1, 0.6), 0 0 4px rgba(255, 200, 1, 0.3);
}

/* Glow halo behind ornament */
.divider-ornament::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  background: radial-gradient(circle, rgba(255, 200, 1, 0.2) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

@media (max-width: 1024px) {
  .section-divider {
    padding: 0 32px;
  }
  .section-divider::before {
    left: 32px;
    right: 32px;
  }
}

/* Desktop Only: Premium Responsive Natural Page Flow Spacing */
@media (min-width: 1025px) {
  .editorial-main-container {
    position: relative;
    width: 100%;
    z-index: 10;
  }

  .editorial-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    padding: 120px 0 80px 0; /* Centering padded margins to prevent navbar overlay */
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 1;
    pointer-events: auto;
  }

  /* Responsive heights to prevent clipping of text systems */
  @media (max-height: 900px) {
    .editorial-section {
      padding: 100px 0 60px 0;
    }
  }

  @media (max-height: 750px) {
    .editorial-section {
      padding: 80px 0 40px 0;
    }
  }
}

.section-inner {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 80px;
  background: transparent;
}

.hero-inner {
  background: radial-gradient(circle at 10% 50%, rgba(20, 15, 45, 0.65) 0%, transparent 60%);
  border-radius: 24px;
}

/* Clean, Spacious typography kickers */
.section-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent-indigo);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.editorial-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  text-transform: uppercase;
  font-weight: 800;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

/* Clean solid color inside text highlights */
.editorial-title .highlight,
.editorial-section-title .highlight {
  color: #ffc801;
  display: inline-block;
}

.editorial-subtitle {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 24px;
}

.editorial-desc {
  max-width: 780px;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 40px;
}

.editorial-desc-short {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--muted);
  margin-bottom: 44px;
  max-width: 780px;
  line-height: 1.65;
}

.editorial-section-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-weight: 800;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.editorial-actions {
  display: flex;
  gap: 16px;
}

/* Action Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-primary {
  background: var(--gradient-master);
  color: var(--pitch-black);
  border: none;
  font-weight: 800;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(129, 140, 248, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--hud-border-strong);
}

.btn-secondary:hover {
  background: var(--btn-sec-hover);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* -------------------------------------------------------------
   PANEL 2: Services Editorial grid
------------------------------------------------------------- */
.services-editorial-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.editorial-left {
  display: flex;
  flex-direction: column;
}

.editorial-left-desc {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 40px;
}

.capsule-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.capsule-service-item {
  background: rgba(15, 15, 20, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid var(--hud-border);
  padding: 20px 22px;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.capsule-service-item:hover {
  border-color: var(--accent-indigo);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(129, 140, 248, 0.08);
}

.srv-num {
  font-size: 11px;
  color: var(--accent-cyan);
  margin-bottom: 12px;
  display: block;
}

.srv-title {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.srv-body {
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.6;
  color: var(--muted);
}

/* -------------------------------------------------------------
   PANEL 3: Story split
------------------------------------------------------------- */
.story-editorial-split {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.story-quote-col {
  display: flex;
  flex-direction: column;
}

.story-hero-quote {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--white);
  margin-top: 16px;
  letter-spacing: -0.01em;
}

.story-paragraphs-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.story-body-p {
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.7;
  color: var(--muted);
}

/* -------------------------------------------------------------
   PANEL 4: Operational cards
------------------------------------------------------------- */
.timeline-hud-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}

.hud-step-card {
  background: rgba(15, 15, 20, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid var(--hud-border);
  padding: 20px 22px;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.hud-step-card:hover {
  border-color: var(--accent-indigo);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(129, 140, 248, 0.08);
}

.step-radar {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-pink);
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.step-heading {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.step-body {
  font-size: clamp(13px, 1.4vw, 15px);
  line-height: 1.6;
  color: var(--muted);
}

/* -------------------------------------------------------------
   PANEL 5: Creative Cases (Luxury Glow backdrops on hover!)
------------------------------------------------------------- */
.hud-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

@media (max-width: 991px) {
  .hud-cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .hud-cases-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.hud-case-card {
  background: transparent;
  backdrop-filter: none;
  border: none;
  padding: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
}

.hud-case-card:hover {
  transform: translateY(-4px);
}

.case-visual-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 1.33;
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.case-visual-thumbnail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}

.hud-case-card:hover .case-visual-thumbnail {
  border-color: var(--accent-indigo);
}

.hud-case-card:hover .case-visual-thumbnail img {
  transform: scale(1.04);
}

.thumbnail-grid-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
              linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 16px 16px;
  z-index: 3;
}

/* Luxury Expanding Glow Auroras */
.thumbnail-glow-aurora {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.15;
  transition: var(--transition-smooth);
  z-index: 1;
}

.blue-glow {
  background: var(--accent-cyan);
  top: 10%;
  left: 10%;
}

.pink-glow {
  background: var(--accent-pink);
  bottom: 10%;
  right: 10%;
}

.hud-case-card:hover .thumbnail-glow-aurora {
  transform: scale(1.4);
  opacity: 0.35;
}

/* Elegant Rotating CSS 3D Gradient Orbs */
.css-lux-orb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  animation: spinOrb 20s infinite linear;
}

.css-lux-orb.gold {
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 200, 1, 0.25) 60%, rgba(0, 0, 0, 0.95) 100%);
  border: 1px solid var(--accent-cyan);
  box-shadow: inset 0 0 15px rgba(255, 200, 1, 0.4);
}

.css-lux-orb.purple {
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 200, 1, 0.25) 60%, rgba(0, 0, 0, 0.95) 100%);
  border: 1px solid var(--accent-pink);
  box-shadow: inset 0 0 15px rgba(255, 200, 1, 0.4);
}

@keyframes spinOrb {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.04); }
  100% { transform: rotate(360deg) scale(1); }
}

.case-card-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-badge-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--hud-border);
  padding-bottom: 8px;
  font-size: 11px;
}

.case-badge-row span {
  color: var(--muted);
}

.case-heading {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--white);
}

.case-summary {
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.6;
  color: var(--muted);
}

.case-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--dim);
  border-top: 1px solid var(--hud-border);
  padding-top: 8px;
}

/* -------------------------------------------------------------
   PANEL 6: Scoping Inquiry
------------------------------------------------------------- */
.scoping-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 20px;
}

.terminal-pitch {
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 24px;
}

.scoping-comms {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.scoping-comms a {
  color: var(--white);
  text-decoration: none;
}

.scoping-team {
  border-top: 1px solid var(--hud-border);
  padding-top: 24px;
  font-size: 12px;
  color: var(--dim);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.scoping-team .team-hdr {
  color: var(--accent-indigo);
  margin-bottom: 4px;
}

/* Scoping form */
.hud-interactive-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.input-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.hud-input {
  background: rgba(15, 15, 20, 0.45);
  border: 1px solid var(--hud-border);
  border-radius: 4px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: var(--transition-fast);
}

.hud-input::placeholder {
  color: var(--dim);
}

.hud-input:focus {
  border-color: var(--accent-indigo);
  box-shadow: 0 0 15px rgba(129, 140, 248, 0.15);
}

.hud-textarea {
  min-height: 70px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkbox-group .checkbox-label {
  font-size: 11px;
  color: var(--dim);
}

.hud-checkboxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.hud-checkbox {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.hud-checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.hud-checkbox .lbl {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 15, 20, 0.45);
  border: 1px solid var(--hud-border);
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  transition: var(--transition-fast);
}

.hud-checkbox:hover .lbl {
  border-color: var(--white);
  color: var(--white);
}

.hud-checkbox input:checked + .lbl {
  background: rgba(129, 140, 248, 0.05);
  border-color: var(--accent-indigo);
  color: var(--white);
  box-shadow: 0 0 12px rgba(129, 140, 248, 0.15);
}



.hud-submit-btn {
  width: 100%;
  padding: 18px;
  border-radius: 4px;
  font-size: 13px;
}

.terminal-footer {
  border-top: 1px solid var(--hud-border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--dim);
}

/* -------------------------------------------------------------
   Ultimate Glassmorphic Success HUD Modal
------------------------------------------------------------- */
.hud-success-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  background: rgba(var(--modal-overlay-rgb), 0.9);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
}

.hud-success-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-content.glass-card {
  max-width: 520px;
  width: 90%;
  background: rgba(15, 15, 20, 0.85);
  border: 1px solid var(--accent-indigo);
  border-radius: 8px;
  padding: 44px;
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: 
    0 20px 50px rgba(129, 140, 248, 0.15),
    inset 0 0 30px rgba(129, 140, 248, 0.08);
  transform: scale(0.92);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hud-success-modal.show .modal-content.glass-card {
  transform: scale(1);
}

.modal-glow-bg {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 50% 50%, rgba(129, 140, 248, 0.1) 0%, transparent 60%);
  pointer-events: none;
  animation: rotateModalGlow 20s infinite linear;
}

@keyframes rotateModalGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.modal-brackets-row {
  font-size: 11px;
  letter-spacing: 0.18em;
  margin-bottom: 24px;
  color: var(--accent-pink);
}

.modal-status {
  color: var(--white);
  margin: 0 8px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  background: var(--gradient-master);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.modal-body {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 36px;
  letter-spacing: 0.04em;
}

.modal-close-btn {
  width: 100%;
  padding: 16px;
  border-radius: 4px;
}

/* -------------------------------------------------------------
   WhatsApp Floating Widget
------------------------------------------------------------- */
.whatsapp-widget {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 99;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  text-decoration: none;
  box-shadow:
    0 0 0 8px rgba(37, 211, 102, 0.1),
    0 0 20px rgba(37, 211, 102, 0.4);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-widget:hover {
  transform: scale(1.08);
}

.whatsapp-icon,
.whatsapp-icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

.whatsapp-icon svg {
  fill: #fff;
}

/* -------------------------------------------------------------
   Responsive Mobile Adjustments
------------------------------------------------------------- */
@media (max-width: 1024px) {
  .navbar {
    padding: 16px 0;
  }
  
  .nav-logo {
    height: 36px;
  }
  
  .nav-sitemap-menu {
    display: none !important;
  }
  
  .section-inner {
    padding: 0 32px;
  }
  
  .services-editorial-layout,
  .story-editorial-split,
  .hud-case-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .capsule-services-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .timeline-hud-flow {
    grid-template-columns: 1fr;
  }
  
  .hud-cases-grid {
    grid-template-columns: 1fr;
  }
  
  .scoping-split-grid {
    grid-template-columns: 1fr;
  }
  
  .navbar-container {
    padding: 0 32px;
  }
}

/* -------------------------------------------------------------
   Dynamic Premium UI Interactivity Additions
------------------------------------------------------------- */

/* WebGL Background Canvas */
.webgl-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1.5; /* sits above background videos, behind glass content */
  pointer-events: none;
}

/* Cursor Spotlight Glow highlight on active cards */
.capsule-service-item,
.hud-step-card,
.hud-case-card {
  position: relative;
  overflow: hidden;
}

.card-glow-highlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 120px at var(--mouse-x, 0) var(--mouse-y, 0), rgba(129, 140, 248, 0.15) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  z-index: 0;
}

.capsule-service-item:hover .card-glow-highlight,
.hud-step-card:hover .card-glow-highlight,
.hud-case-card:hover .card-glow-highlight {
  opacity: 1;
}

/* HUD Sound Toggle Button */
.sound-toggle-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hud-border-strong);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-fast);
}

.sound-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
  transform: scale(1.05);
}

.sound-toggle-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  position: absolute;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s;
}

.sound-toggle-btn .sound-on-icon {
  opacity: 0;
  transform: scale(0.6) rotate(-45deg);
}

.sound-toggle-btn .sound-off-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

body.audio-active .sound-toggle-btn .sound-on-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

body.audio-active .sound-toggle-btn .sound-off-icon {
  opacity: 0;
  transform: scale(0.6) rotate(45deg);
}

/* Scoping Complexity Meter */
.scoping-meter-container {
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meter-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.meter-track {
  width: 100%;
  height: 4px;
  background: var(--hud-border);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.meter-bar {
  width: 0%;
  height: 100%;
  background: var(--gradient-master);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------------------------------------------------
   World-Class Premium Interactive Theme Extensions
   - Ambient Mesh Orbs & HUD Architectural Grid
   - Kinetic Typography Text-Stroke Hover
------------------------------------------------------------- */

/* HUD Grid Overlay Backdrop */
.hud-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1.3;
  pointer-events: none;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.015) 1.5px, transparent 0),
    linear-gradient(rgba(255, 255, 255, 0.005) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.005) 1px, transparent 1px);
  background-size: 40px 40px, 80px 80px, 80px 80px;
  background-position: center;
  opacity: 0.8;
}

/* Ambient Floating Mesh Orbs */
.mesh-glow-orb {
  position: absolute;
  width: min(650px, 80vw);
  height: min(650px, 80vw);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1.2;
  will-change: transform;
  opacity: 0.45;
}

.mesh-glow-orb.orb-1 {
  background: radial-gradient(circle, rgba(255, 200, 1, 0.12) 0%, rgba(255, 200, 1, 0.06) 50%, transparent 100%);
  filter: blur(130px);
  top: -15%;
  left: -10%;
  animation: driftOrb1 28s infinite alternate ease-in-out;
}

.mesh-glow-orb.orb-2 {
  background: radial-gradient(circle, rgba(255, 200, 1, 0.08) 0%, rgba(255, 200, 1, 0.04) 50%, transparent 100%);
  filter: blur(140px);
  bottom: -20%;
  right: -10%;
  animation: driftOrb2 34s infinite alternate ease-in-out;
}

.mesh-glow-orb.orb-3 {
  background: radial-gradient(circle, rgba(255, 200, 1, 0.06) 0%, rgba(255, 200, 1, 0.03) 60%, transparent 100%);
  filter: blur(120px);
  top: 40%;
  left: 30%;
  animation: driftOrb3 40s infinite alternate ease-in-out;
}

@keyframes driftOrb1 {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(80px, 50px) scale(1.15) rotate(180deg); }
  100% { transform: translate(-40px, -60px) scale(0.9) rotate(360deg); }
}

@keyframes driftOrb2 {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(-60px, -80px) scale(0.85) rotate(-180deg); }
  100% { transform: translate(50px, 40px) scale(1.1) rotate(-360deg); }
}

@keyframes driftOrb3 {
  0% { transform: translate(0, 0) scale(0.9); }
  50% { transform: translate(-40px, 60px) scale(1.1); }
  100% { transform: translate(60px, -30px) scale(1); }
}

/* Solid Highlighted Typography */
.kinetic-stroke {
  display: inline-block;
  color: #ffc801;
  -webkit-text-stroke: none;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  text-shadow: none !important;
  transition: none;
}

/* Maintain solid color on hover or active section */
.active-section .kinetic-stroke,
.kinetic-stroke:hover {
  color: #ffc801 !important;
  -webkit-text-stroke: none !important;
  text-shadow: none !important;
}

/* -------------------------------------------------------------
   World-Class Case Study Specialized Components
   - Brand System Visualizers & Telemetry Panels
   - High-Fidelity HUD Cinema Video Players
   - Performance Scorecards & Web Compilers
   - Interactive 3D Scroll Simulators
------------------------------------------------------------- */

/* Glass Tabbed Layouts */
.visualizer-card-hud {
  background: rgba(15, 15, 20, 0.45);
  border: 1px solid var(--hud-border);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(16px);
  margin: 40px auto 100px auto;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

.visualizer-tabs-container {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--hud-border-strong);
  padding-bottom: 20px;
  margin-bottom: 32px;
  overflow-x: auto;
}

.visualizer-tab-btn {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--hud-border);
  border-radius: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 12px 24px;
  cursor: pointer;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.visualizer-tab-btn:hover {
  color: var(--white);
  border-color: var(--hud-border-strong);
  background: rgba(255,255,255,0.05);
}

.visualizer-tab-btn.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 15px rgba(255,255,255,0.05);
}

.visualizer-tab-content {
  display: none;
  animation: fadeInTab 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.visualizer-tab-content.active {
  display: block;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Range Sliders */
.hud-custom-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--hud-border-strong);
  border-radius: 2px;
  outline: none;
  margin: 16px 0;
  position: relative;
}

.hud-custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255,255,255,0.8);
  transition: transform 0.15s ease;
}

.hud-custom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.3);
}

/* Specialized Slider Accents */
.ence-slider::-webkit-slider-thumb {
  background: var(--case-gold) !important;
  box-shadow: 0 0 15px var(--case-gold) !important;
}
.navkar-slider::-webkit-slider-thumb {
  background: var(--case-purple) !important;
  box-shadow: 0 0 15px var(--case-purple) !important;
}

/* CAD Grid Logo & Blueprint Hotspots */
.cad-workbench-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}
@media (max-width: 900px) {
  .cad-workbench-layout { grid-template-columns: 1fr; }
}

.cad-canvas-panel {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--hud-border-strong);
  border-radius: 12px;
  height: 380px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.cad-parameters-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--hud-border);
  border-radius: 12px;
  padding: 24px;
  background: rgba(255,255,255,0.01);
}

.blueprint-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blueprint-svg {
  width: 80%;
  height: 80%;
  stroke: var(--case-cyan);
  fill: none;
  opacity: 0.85;
}

.blueprint-hotspot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--case-gold);
  cursor: pointer;
  z-index: 10;
}

.blueprint-hotspot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid var(--case-gold);
  border-radius: 50%;
  animation: pulseHotspot 2s infinite linear;
}

@keyframes pulseHotspot {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Interactive Typography Section */
.typo-inspector-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.typo-live-preview {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--hud-border-strong);
  border-radius: 12px;
  padding: 40px;
  min-height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bounding-box-indicator {
  position: absolute;
  border: 1px dashed var(--case-cyan);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.typo-input-hud {
  width: 100%;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--hud-border-strong);
  border-radius: 8px;
  padding: 16px;
  font-family: var(--font-mono);
  color: var(--white);
  font-size: 14px;
  outline: none;
  transition: var(--transition-fast);
}

.typo-input-hud:focus {
  border-color: var(--case-gold);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
}

/* Custom Cinema Video Player */
.hud-cinema-player-dashboard {
  background: rgba(15, 15, 20, 0.6);
  border: 1px solid var(--hud-border-strong);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 100px;
  backdrop-filter: blur(12px);
  position: relative;
}

.player-main-view {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}

.player-control-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0.85) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.player-main-view:hover .player-control-overlay {
  opacity: 1;
  pointer-events: auto;
}

.player-telemetry-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
  border-top: 1px solid var(--hud-border);
  padding-top: 24px;
}
@media (max-width: 768px) {
  .player-telemetry-panel { grid-template-columns: repeat(2, 1fr); }
}

.telemetry-item {
  background: rgba(255,255,255,0.01);
  border: 1px solid var(--hud-border);
  border-radius: 8px;
  padding: 16px;
}

/* Scrubber Bar */
.scrubber-container {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  margin-bottom: 12px;
}

.scrubber-fill {
  height: 100%;
  width: 0%;
  border-radius: 3px;
  position: absolute;
  top: 0;
  left: 0;
  transition: width 0.1s linear;
}

.ence-scrubber-fill { background: var(--case-gold); box-shadow: 0 0 10px var(--case-gold); }
.navkar-scrubber-fill { background: var(--case-purple); box-shadow: 0 0 10px var(--case-purple); }

/* Play / Audio waves indicator */
.wave-bar-container {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
}

.wave-bar-item {
  width: 2px;
  height: 3px;
  border-radius: 1px;
  animation: danceWave 1.2s infinite ease-in-out alternate;
  animation-play-state: paused;
}

.wave-bar-container.active .wave-bar-item {
  animation-play-state: running;
}

.ence-wave-item { background: var(--case-cyan); }
.navkar-wave-item { background: var(--case-pink); }

.wave-bar-item:nth-child(1) { animation-delay: 0.1s; }
.wave-bar-item:nth-child(2) { animation-delay: 0.4s; }
.wave-bar-item:nth-child(3) { animation-delay: 0.2s; }
.wave-bar-item:nth-child(4) { animation-delay: 0.6s; }
.wave-bar-item:nth-child(5) { animation-delay: 0.3s; }

@keyframes danceWave {
  0% { height: 3px; }
  100% { height: 20px; }
}

/* Lighthouse Dynamic Circles */
.lh-circle-svg-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
}

.lh-circle-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.lh-circle-track {
  fill: none;
  stroke: rgba(255,255,255,0.03);
  stroke-width: 6;
}

.lh-circle-fill {
  fill: none;
  stroke: #22c55e;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 2s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.4));
}

.lh-percentage-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

/* Cyberpunk Diagnostics Console Log */
.console-output-hud {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--hud-border-strong);
  border-radius: 12px;
  padding: 20px;
  height: 250px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #34d399;
  line-height: 1.8;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.console-output-hud::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  background-size: 100% 4px, 6px 100%;
  z-index: 5;
}

.cli-line {
  margin-bottom: 6px;
  opacity: 0;
  transform: translateY(4px);
  animation: cliLineFade 0.3s forwards;
}

@keyframes cliLineFade {
  to { opacity: 1; transform: translateY(0); }
}

.cli-line.system { color: #818cf8; }
.cli-line.success { color: #34d399; }
.cli-line.warn { color: #fbbf24; }

/* 3D Wireframe Scroll Deck Simulator */
.wireframe-deck-hud {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}
@media (max-width: 850px) {
  .wireframe-deck-hud { grid-template-columns: 1fr; }
}

.deck-simulator-canvas {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--hud-border-strong);
  border-radius: 12px;
  height: 320px;
  position: relative;
  overflow: hidden;
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.simulated-deck-wrapper {
  position: relative;
  width: 150px;
  height: 200px;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.simulated-deck-card {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(168, 85, 247, 0.05);
  border: 1px dashed rgba(168, 85, 247, 0.4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--white);
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.simulated-deck-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, transparent 80%);
}

.deck-control-sidebar {
  border: 1px solid var(--hud-border);
  background: rgba(255,255,255,0.01);
  padding: 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ==========================================================================
   8. New Layout Component Styles (Genie Companion Removed)
   ========================================================================== */

/* Hero Stats Banner */
.hero-stats-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 200, 1, 0.2);
  border-bottom: 1px solid rgba(255, 200, 1, 0.2);
  padding: 24px 0;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.3);
}

.stat-banner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-banner-num {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 800;
  color: #ffc801;
  text-shadow: 0 0 15px rgba(255, 200, 1, 0.4);
  margin-bottom: 4px;
}

.stat-banner-label {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Brand Logos Horizontal Scroll Marquee */
.brand-logos-container {
  width: 100%;
  margin-top: 40px;
  overflow: hidden;
  position: relative;
}

.brand-logos-title {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.brand-logos-marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 10px 0;
}

.brand-logos-marquee::before,
.brand-logos-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.brand-logos-marquee::before {
  left: 0;
  background: linear-gradient(to right, #000000, transparent);
}

.brand-logos-marquee::after {
  right: 0;
  background: linear-gradient(to left, #000000, transparent);
}

.brand-logos-track {
  display: inline-flex;
  align-items: center;
  animation: logoMarquee 25s linear infinite;
  /* Force GPU rendering to prevent mobile scroll dropout glitches */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  will-change: transform;
}

.brand-logos-track span {
  font-family: var(--font-primary);
  font-size: 30px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.65);
  margin-right: 70px;
  letter-spacing: 0.15em;
  transition: color 0.3s;
}

.brand-logos-track span:hover {
  color: #ffc801;
}

.brand-logos-track img {
  height: 65px;
  max-width: 200px;
  object-fit: contain;
  margin-right: 90px;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.brand-logos-track img:hover {
  opacity: 1;
  transform: scale(1.08);
}

@keyframes logoMarquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Services Intro wrapper styling */
.services-intro-wrapper {
  margin-bottom: 40px;
  border-left: 3px solid #ffc801;
  padding-left: 20px;
}

.services-intro-line {
  font-family: var(--font-primary);
  font-size: 22px;
  line-height: 1.5;
  color: var(--white);
  font-weight: 500;
  max-width: 900px;
}

/* Redesigned About Section Grid & Components */
.about-premium-grid {
  display: grid;
  grid-template-columns: 6.5fr 5.5fr;
  gap: 50px;
  align-items: flex-start;
  margin-top: 24px;
}

.about-hero-heading {
  font-family: var(--font-primary);
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.about-philosophy-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.philosophy-lead {
  font-size: 16.5px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 16px;
  border-left: 2px solid #ffc801;
  padding-left: 16px;
}

.about-philosophy-quote {
  margin-top: 32px;
  font-size: 11px;
  color: #ffc801;
  letter-spacing: 0.15em;
  font-weight: 700;
}

/* Right Team Layout */
.about-right-team {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.founder-premium-card {
  background: rgba(15, 15, 20, 0.45);
  border: 1px solid rgba(255, 200, 1, 0.15);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(12px);
  position: relative;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.5),
    inset 0 0 20px rgba(255, 200, 1, 0.03);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.founder-premium-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: #ffc801;
  border-radius: 3px 3px 0 0;
}

.founder-card-header {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
}

.founder-card-header .highlight {
  color: #ffc801;
}

.founder-card-name {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.founder-card-desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.card-telemetry-row {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--dim);
  letter-spacing: 0.1em;
}

.team-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.team-profile-card {
  background: rgba(15, 15, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
}

.team-profile-card:hover,
.founder-premium-card:hover {
  border-color: #ffc801;
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(255, 200, 1, 0.1);
}

.profile-name {
  font-family: var(--font-primary);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-role {
  font-size: 10px;
  color: #ffc801;
  letter-spacing: 0.05em;
}

.profile-text {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}

/* Methodology Numerical Counters */
.methodology-counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
  background: rgba(15, 15, 20, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px 20px;
  backdrop-filter: blur(10px);
}

.counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.counter-num {
  font-family: var(--font-primary);
  font-size: 40px;
  font-weight: 900;
  color: #ffc801;
  text-shadow: 0 0 20px rgba(255, 200, 1, 0.35);
  margin-bottom: 6px;
}

.counter-label {
  font-size: 10px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.methodology-footer-text {
  margin-top: 30px;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 800px;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  padding-left: 16px;
}

/* Contact & Footer Grid Layout */
.scoping-footer {
  width: 100%;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-hdr {
  font-size: 11px;
  color: #ffc801;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.footer-link:hover {
  color: #ffc801;
}

.footer-comms {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

.terminal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .hero-stats-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .story-team-split-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .methodology-counters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px 10px;
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  
  /* Mobile Nav Interface Adjustments */
  .mobile-menu-toggle-btn {
    display: flex;
  }
  .header-nav-btn {
    display: none !important;
  }
}

/* Mobile Hamburger Button */
.mobile-menu-toggle-btn {
  display: none; /* hidden on desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 105;
  margin-left: 20px;
}

.mobile-menu-toggle-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left center;
}

/* Open Animation for Hamburger Button */
body.mobile-menu-open .mobile-menu-toggle-btn span:nth-child(1) {
  transform: rotate(45deg) translate(2px, -1px);
}
body.mobile-menu-open .mobile-menu-toggle-btn span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
body.mobile-menu-open .mobile-menu-toggle-btn span:nth-child(3) {
  transform: rotate(-45deg) translate(2px, 1px);
}

/* Mobile Menu Drawer Overlay */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 102;
  background: rgba(8, 8, 12, 0.96);
  backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
  opacity: 0;
  pointer-events: none;
}

.mobile-menu-drawer.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.drawer-glow-bg {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 200, 1, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.drawer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 55vh;
  z-index: 2;
  text-align: center;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mobile-nav-link {
  font-family: var(--font-primary);
  font-size: clamp(24px, 5.5vw, 36px);
  font-weight: 800;
  text-decoration: none;
  color: var(--muted);
  letter-spacing: 0.05em;
  transition: color 0.3s, transform 0.3s;
  text-transform: uppercase;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #ffc801;
  transform: scale(1.05);
}

.drawer-footer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

.drawer-footer a {
  color: #ffc801;
  text-decoration: none;
}

/* ==========================================================================
   9. High-Fidelity Premium UI & Interactive Upgrades
   ========================================================================== */

/* Animated Film Grain Overlay */
@keyframes noiseAnimation {
  0% { transform: translate(0, 0); }
  10% { transform: translate(-1%, -1%); }
  20% { transform: translate(-2%, 1%); }
  30% { transform: translate(1%, -2%); }
  40% { transform: translate(-1%, 3%); }
  50% { transform: translate(-2%, 1%); }
  60% { transform: translate(3%, -1%); }
  70% { transform: translate(2%, 1%); }
  80% { transform: translate(-3%, -2%); }
  90% { transform: translate(1%, 2%); }
  100% { transform: translate(0, 0); }
}

.film-grain-overlay {
  position: fixed;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025; /* extremely subtle organic noise */
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  animation: noiseAnimation 0.6s steps(10) infinite;
}

/* Editorial Typography */
.font-light {
  font-weight: 300 !important;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

/* Technical HUD Blueprint decorations */
.hud-blueprint-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.65;
}

.hud-coordinate-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 8px;
  color: rgba(255, 200, 1, 0.35);
  letter-spacing: 0.15em;
  pointer-events: none;
}

.hud-coordinate-label.top-left { top: 32px; left: 60px; }
.hud-coordinate-label.bottom-right { bottom: 32px; right: 60px; }

.hud-crosshair {
  position: absolute;
  width: 14px;
  height: 14px;
  opacity: 0.3;
  pointer-events: none;
}

.hud-crosshair::before,
.hud-crosshair::after {
  content: "";
  position: absolute;
  background: var(--accent-indigo);
}

.hud-crosshair::before {
  top: 6px;
  left: 0;
  width: 14px;
  height: 1px;
}

.hud-crosshair::after {
  top: 0;
  left: 6px;
  width: 1px;
  height: 14px;
}

.hud-crosshair.pos-1 { top: 12%; left: 6%; }
.hud-crosshair.pos-2 { bottom: 18%; right: 10%; }

/* Expanding HUD Custom Follower */
.custom-cursor-follower.hud-active {
  width: 86px !important;
  height: 86px !important;
  border: 1px solid var(--accent-indigo) !important;
  background: rgba(0, 0, 0, 0.92) !important;
  box-shadow: 
    0 0 25px rgba(255, 200, 1, 0.25),
    inset 0 0 15px rgba(255, 200, 1, 0.1);
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
}

/* Continuous rotation of inner circle text path */
.hud-cursor-text {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: spinHUDText 12s infinite linear;
}

.hud-cursor-text svg {
  width: 100%;
  height: 100%;
  fill: var(--accent-indigo);
  font-family: var(--font-mono);
  font-size: 7.2px;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@keyframes spinHUDText {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Premium Animated Team Photo Frames */
.team-photo-frame {
  width: 100%;
  height: 240px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
  transition: border-color 0.3s ease;
}

.team-photo-frame.compact {
  height: 180px;
}

.team-profile-card:hover .team-photo-frame,
.founder-premium-card:hover .team-photo-frame {
  border-color: rgba(255, 200, 1, 0.3);
}

.team-photo-placeholder {
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: var(--accent-indigo);
  letter-spacing: 0.12em;
  opacity: 0.55;
  transition: opacity 0.3s ease;
}

.team-profile-card:hover .team-photo-placeholder,
.founder-premium-card:hover .team-photo-placeholder {
  opacity: 0.95;
}

.photo-scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 15%, #ffc801 50%, transparent 85%);
  box-shadow: 0 0 10px rgba(255, 200, 1, 0.7);
  animation: scanPortrait 3.5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes scanPortrait {
  0% { top: 0%; opacity: 0.2; }
  50% { top: 100%; opacity: 0.8; }
  100% { top: 0%; opacity: 0.2; }
}

/* ==========================================================================
   PREMIUM CUSTOM DECORATIVE HEADINGS
   ========================================================================== */
.decorative-heading-group {
  margin-bottom: 36px;
  position: relative;
  width: 100%;
}

.heading-hud {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.heading-hud .hud-num {
  font-weight: 700;
  opacity: 0.9;
}

.heading-hud .hud-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.heading-hud .hud-label {
  color: var(--muted);
  font-weight: 500;
}

.heading-underline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.heading-underline .underline-line {
  height: 2px;
  width: 120px;
  background: linear-gradient(90deg, var(--accent-cyan) 0%, rgba(255, 200, 1, 0.2) 60%, transparent 100%);
}

.heading-underline .underline-node {
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: var(--accent-cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--accent-cyan);
}

/* ==========================================================================
   HERO TWO-COLUMN SPLIT WITH LOTTIE
   ========================================================================== */
.hero-split-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  padding: 40px 0;
}

.hero-left-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-right-animation {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 350px;
  border: 1px solid var(--hud-border);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: inset 0 0 20px rgba(255, 200, 1, 0.03), 0 10px 40px rgba(0, 0, 0, 0.4);
  padding: 30px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.hero-right-animation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 200, 1, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-right-animation:hover {
  border-color: rgba(255, 200, 1, 0.15);
  box-shadow: inset 0 0 30px rgba(255, 200, 1, 0.06), 0 15px 50px rgba(0, 0, 0, 0.5);
}

.lottie-container {
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 1;
  z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-split-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 20px 0;
  }
  
  .hero-right-animation {
    min-height: 300px;
    max-width: 450px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .heading-underline .underline-line {
    width: 80px;
  }
  
  .hero-right-animation {
    padding: 20px;
    min-height: 250px;
  }
  
  .lottie-container {
    max-width: 250px;
  }
}

/* ==========================================================================
   LOTTIE THEME COLOR CYBER-AESTHETIC GLOBAL INTEGRATION
   ========================================================================== */
:root {
  --lottie-blue: #ffc801;
  --lottie-cyan: #ffc801;
  --lottie-sky: #ffeb99;
  --lottie-glow: rgba(255, 200, 1, 0.4);
}

/* 1. Custom Scrollbar Thumb Hover state */
::-webkit-scrollbar-thumb:hover {
  background: var(--lottie-cyan) !important;
}

/* 2. Header Active Navigation Sitemap Link underline */
.nav-sitemap-link::after {
  background: #ffc801 !important;
}
.nav-sitemap-link.active {
  text-shadow: 0 0 15px rgba(255, 200, 1, 0.35) !important;
}

/* 3. Global Primary Buttons (Solid Yellow to Darker Yellow Transition on Hover) */
.btn-primary {
  background: linear-gradient(135deg, #ffc801 0%, #ffe066 100%) !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none !important;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ffc801 0%, #ffd433 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-primary:hover {
  color: #000000 !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 200, 1, 0.45), 0 0 15px rgba(255, 200, 1, 0.25) !important;
}

/* 4. Global Secondary Buttons Hover state */
.btn-secondary:hover {
  border-color: var(--lottie-cyan) !important;
  color: var(--lottie-cyan) !important;
  box-shadow: 0 0 15px rgba(255, 200, 1, 0.3) !important;
  transform: translateY(-3px);
  background: rgba(255, 200, 1, 0.05) !important;
}

/* 5. Custom Cursor Follower glow */
.custom-cursor-follower {
  border-color: rgba(255, 200, 1, 0.45) !important;
  box-shadow: 0 0 15px rgba(255, 200, 1, 0.15) !important;
}
body.hovering-link .custom-cursor-follower {
  border-color: var(--lottie-cyan) !important;
  box-shadow: 0 0 25px rgba(255, 200, 1, 0.4) !important;
}
.custom-cursor {
  background: var(--lottie-cyan) !important;
  box-shadow: 0 0 10px var(--lottie-cyan) !important;
}

/* 6. Section Heading Groups (Kickers & Underlines) */
.heading-hud {
  color: var(--lottie-cyan) !important;
}
.heading-hud .hud-num {
  color: var(--lottie-cyan) !important;
}
.heading-hud .hud-dot {
  background-color: var(--lottie-cyan) !important;
  box-shadow: 0 0 12px var(--lottie-cyan), 0 0 20px rgba(255, 200, 1, 0.4) !important;
}
.heading-underline .underline-line {
  background: #ffc801 !important;
}
.heading-underline .underline-node {
  background-color: var(--lottie-cyan) !important;
  box-shadow: 0 0 10px var(--lottie-cyan), 0 0 20px rgba(255, 200, 1, 0.5) !important;
}

/* 7. Interactive Cards Hover, Borders, and Glow Spotlights */
.capsule-service-item:hover,
.hud-step-card:hover,
.hud-case-card:hover,
.founder-premium-card:hover,
.team-profile-card:hover {
  border-color: rgba(255, 200, 1, 0.35) !important;
  box-shadow: 
    0 20px 45px rgba(255, 200, 1, 0.18),
    inset 0 0 20px rgba(255, 200, 1, 0.08) !important;
}

.card-glow-highlight {
  background: radial-gradient(circle 130px at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 200, 1, 0.22) 0%, transparent 100%) !important;
}

/* Animated team photo frame hover color */
.team-profile-card:hover .team-photo-frame,
.founder-premium-card:hover .team-photo-frame {
  border-color: rgba(255, 200, 1, 0.35) !important;
}
.photo-scanner-line {
  background: linear-gradient(90deg, transparent 15%, var(--lottie-cyan) 50%, transparent 85%) !important;
  box-shadow: 0 0 10px var(--lottie-cyan) !important;
}
.team-photo-placeholder {
  color: var(--lottie-cyan) !important;
}

/* 8. Hero right-animation card borders and background */
.hero-right-animation {
  border-color: rgba(255, 200, 1, 0.28) !important;
  background: rgba(0, 0, 0, 0.55) !important;
  box-shadow: inset 0 0 25px rgba(255, 200, 1, 0.12), 0 10px 40px rgba(0, 0, 0, 0.6) !important;
}
.hero-right-animation::before {
  background: radial-gradient(circle at 50% 50%, rgba(255, 200, 1, 0.15) 0%, transparent 75%) !important;
}
.hero-right-animation:hover {
  border-color: rgba(255, 200, 1, 0.5) !important;
  box-shadow: 
    inset 0 0 35px rgba(255, 200, 1, 0.2), 
    0 0 30px rgba(255, 200, 1, 0.3), 
    0 15px 50px rgba(0, 0, 0, 0.7) !important;
}

/* 9. Hero Stats Banner border-image gradient */
#hero-section .hero-stats-banner {
  border-image: linear-gradient(90deg, rgba(255, 200, 1, 0.45) 0%, rgba(255, 200, 1, 0.75) 50%, rgba(255, 200, 1, 0.45) 100%) 1 !important;
}

/* 10. Preloader Bar gradient animation */
.preloader-progress {
  background: #ffc801 !important;
}

/* 11. Scoping Form elements focus & Complexity Meter */
.hud-input:focus {
  border-color: var(--lottie-cyan) !important;
  box-shadow: 0 0 15px rgba(255, 200, 1, 0.28) !important;
  background: rgba(0, 0, 0, 0.85) !important;
}
.meter-bar {
  background: #ffc801 !important;
  box-shadow: 0 0 10px rgba(255, 200, 1, 0.5) !important;
}

/* 12. WhatsApp Widget pulsing yellow glow */
.whatsapp-widget {
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3), 0 0 0 0px rgba(255, 200, 1, 0.4) !important;
  animation: pulseYellow 2.5s infinite ease-in-out !important;
}
@keyframes pulseYellow {
  0% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3), 0 0 0 0px rgba(255, 200, 1, 0.4);
  }
  70% {
    box-shadow: 0 4px 25px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(255, 200, 1, 0);
  }
  100% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3), 0 0 0 0px rgba(255, 200, 1, 0);
  }
}

/* 13. Blueprint hot spots */
.blueprint-hotspot {
  background: var(--lottie-cyan) !important;
  box-shadow: 0 0 8px var(--lottie-cyan) !important;
}

/* 14. Mobile menu active styles */
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--lottie-cyan) !important;
  text-shadow: 0 0 12px rgba(255, 200, 1, 0.3) !important;
}
.drawer-glow-bg {
  background: radial-gradient(circle, rgba(255, 200, 1, 0.15) 0%, transparent 70%) !important;
}
.drawer-footer a {
  color: var(--lottie-cyan) !important;
}

/* 15. Coordinates labels */
.hud-coordinate-label {
  color: rgba(255, 200, 1, 0.35) !important;
}
.hud-crosshair::before,
.hud-crosshair::after {
  background: var(--lottie-cyan) !important;
}

/* 16. Hero Section Vector Image Custom Styling */
.hero-vector-image {
  width: 100%;
  height: 100%;
  max-width: 320px;
  max-height: 320px;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 0 20px rgba(255, 200, 1, 0.15)) drop-shadow(0 0 45px rgba(255, 200, 1, 0.08));
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-right-animation:hover .hero-vector-image {
  transform: scale(1.05) rotate(1deg);
}

/* =============================================================
   17. REDESIGN ADDITIONS (Dropdown, Filters, Pills, Sliders)
   ============================================================= */

/* Navbar Dropdown Menu */
.nav-sitemap-menu .nav-sitemap-link-wrapper {
  position: relative;
  display: inline-block;
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(9, 9, 11, 0.98);
  border: 1px solid var(--hud-border-strong);
  border-radius: 8px;
  min-width: 270px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 200;
  padding: 12px 0;
  backdrop-filter: blur(20px);
  margin-top: 12px;
}

.nav-dropdown-content::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(9, 9, 11, 0.98);
  border-left: 1px solid var(--hud-border-strong);
  border-top: 1px solid var(--hud-border-strong);
}

.nav-sitemap-link-wrapper:hover .nav-dropdown-content {
  display: block;
  animation: fadeInFast 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInFast {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.nav-dropdown-item {
  display: block;
  padding: 12px 20px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.nav-dropdown-item:hover {
  color: #ffc801;
  background: rgba(255, 200, 1, 0.08);
  padding-left: 24px;
}

/* Service Card Pill Design Layout */
.pill-services-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  position: relative;
}

.pill-service-card {
  background: rgba(15, 15, 20, 0.6);
  border: 1px solid var(--hud-border);
  border-radius: 50px;
  padding: 24px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
  text-decoration: none;
  color: inherit;
}

.pill-service-card:hover {
  border-color: #ffc801;
  background: rgba(255, 200, 1, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 200, 1, 0.05);
}

.pill-card-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.pill-card-title {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.2vw, 26px);
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.02em;
}

.pill-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-tag-dot {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pill-tag-dot::before {
  content: '•';
  color: #ffc801;
  font-size: 16px;
}

/* Red "CAUGHT YOU" Badge */
.caught-badge-container {
  position: absolute;
  bottom: -45px;
  right: 40px;
  width: 100px;
  height: 100px;
  z-index: 10;
  animation: rotateBadge 12s infinite linear;
}

@keyframes rotateBadge {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.caught-badge-svg {
  width: 100%;
  height: 100%;
}

/* Portfolio Filtering Page (work.html) */
.work-filters-wrapper {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--hud-border);
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.filter-group-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-group-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.filter-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-tag-pill {
  background: rgba(15, 15, 20, 0.6);
  border: 1px solid var(--hud-border);
  color: var(--muted);
  padding: 8px 18px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.filter-tag-pill:hover {
  border-color: var(--white);
  color: var(--white);
}

.filter-tag-pill.active {
  background: #ffc801;
  border-color: #ffc801;
  color: var(--pitch-black);
  font-weight: 600;
}

/* Testimonial Section */
.testimonial-editorial-card {
  background: rgba(10, 10, 12, 0.85);
  border: 1px solid var(--hud-border-strong);
  border-radius: 12px;
  padding: 60px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.testimonial-quote-icon {
  position: absolute;
  top: 40px;
  left: 40px;
  font-size: 80px;
  color: rgba(255, 200, 1, 0.05);
  font-family: var(--font-heading);
  line-height: 1;
}

.testimonial-text-content {
  font-size: clamp(14px, 1.6vw, 19px);
  line-height: 1.8;
  color: var(--white);
  margin-bottom: 30px;
  font-weight: 400;
  position: relative;
  z-index: 2;
}

.testimonial-text-content p {
  margin-bottom: 20px;
}

.testimonial-author-meta {
  border-top: 1px solid var(--hud-border);
  padding-top: 24px;
  position: relative;
  z-index: 2;
}

.testimonial-author-name {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: #ffc801;
}

.testimonial-author-title {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* Team Bios Photo Slider */
.about-slider-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  background: #0f0f13;
  border: 1px solid var(--hud-border-strong);
  border-radius: 8px;
  overflow: hidden;
}

.about-photo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo-slide.active {
  opacity: 1;
  z-index: 2;
}

.about-photo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-slider-nav {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 10;
  display: flex;
  gap: 12px;
}

.slider-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(9, 9, 11, 0.85);
  border: 1px solid var(--hud-border-strong);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-nav-btn:hover {
  background: #ffc801;
  color: var(--pitch-black);
  border-color: #ffc801;
}

/* Dynamic Case Detail Layouts (case.php) */
.case-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 40px 100px 40px; /* Reduced to tighten up spacing below sticky navbar */
}

.case-detail-header {
  margin-top: 20px;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--hud-border);
  padding-bottom: 40px;
}

.case-detail-tagline {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #ffc801;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.18em;
}

.case-detail-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 68px);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 24px;
}

.case-layout-video {
  width: 100%;
  margin-bottom: 60px;
}

.case-video-wrapper {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--hud-border-strong);
}

.case-video-wrapper.landscape {
  aspect-ratio: 16/9;
}

.case-video-wrapper.portrait {
  max-width: 400px;
  aspect-ratio: 9/16;
  margin: 0 auto;
}

.case-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-layout-slideshow {
  margin-bottom: 60px;
}

.case-slideshow-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--hud-border-strong);
}

.case-slideshow-wrapper:fullscreen,
.case-slideshow-wrapper.fullscreen-fallback {
  width: 100vw !important;
  height: 100vh !important;
  background: #000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  border-radius: 0 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 99999 !important;
}

.case-slideshow-wrapper:fullscreen .case-slide-image,
.case-slideshow-wrapper.fullscreen-fallback .case-slide-image {
  width: 100% !important;
  height: 100% !important;
}

.case-slideshow-wrapper:fullscreen .case-slide-image img,
.case-slideshow-wrapper:fullscreen .case-slide-image video,
.case-slideshow-wrapper.fullscreen-fallback .case-slide-image img,
.case-slideshow-wrapper.fullscreen-fallback .case-slide-image video {
  object-fit: contain !important;
}

.case-slide-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.case-slide-image.active {
  opacity: 1;
}

.case-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-layout-pdf {
  margin-bottom: 60px;
}

.case-pdf-iframe {
  width: 100%;
  height: 700px;
  border-radius: 12px;
  border: 1px solid var(--hud-border-strong);
  background: #1c1c1f;
}

.case-detail-content {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.case-detail-content h2, 
.case-detail-content h3 {
  font-family: var(--font-heading);
  color: var(--white);
  margin: 40px 0 20px;
  text-transform: uppercase;
}

.case-detail-content p {
  margin-bottom: 20px;
}

/* -------------------------------------------------------------
   Creative Cases Carousel (Homepage Slider)
------------------------------------------------------------- */
.hud-cases-carousel {
  display: flex;
  overflow-x: auto;
  gap: 36px;
  padding: 24px 0 36px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-indigo) rgba(0, 0, 0, 0.2);
  scroll-snap-type: x mandatory;
}

.hud-cases-carousel::-webkit-scrollbar {
  height: 6px;
}

.hud-cases-carousel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}

.hud-cases-carousel::-webkit-scrollbar-thumb {
  background: var(--accent-indigo);
  border-radius: 4px;
}

.hud-cases-carousel .hud-case-card {
  flex: 0 0 clamp(320px, 45vw, 560px);
  scroll-snap-align: start;
}

/* Spacing layout gap between Testimonial and Contact */
.testimonial-contact-gap {
  height: 120px;
  width: 100%;
}

/* About Page Horizontal Life Snapshot Gallery */
.about-horizontal-gallery {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding: 16px 0 24px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-indigo) rgba(0, 0, 0, 0.2);
  width: 100%;
}

.about-horizontal-gallery::-webkit-scrollbar {
  height: 5px;
}

.about-horizontal-gallery::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}

.about-horizontal-gallery::-webkit-scrollbar-thumb {
  background: var(--accent-indigo);
  border-radius: 4px;
}

.about-horizontal-gallery .gallery-photo-card {
  flex: 0 0 clamp(240px, 30vw, 380px);
  aspect-ratio: 1.33;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--hud-border-strong);
  background: #0f0f13;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-horizontal-gallery .gallery-photo-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-indigo);
}

.about-horizontal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.5s ease;
}

.about-horizontal-gallery .gallery-photo-card:hover img {
  transform: scale(1.05);
}

/* -------------------------------------------------------------
   MEET THE TEAM 1x3 Grid System (about.html)
------------------------------------------------------------- */
.team-grid-1x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

@media (max-width: 991px) {
  .team-grid-1x3 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.team-member-card {
  background: rgba(15, 15, 20, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid var(--hud-border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.team-member-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-indigo);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.1);
}

.team-member-photo-box {
  width: 100%;
  aspect-ratio: 1.05;
  overflow: hidden;
  border-bottom: 1px solid var(--hud-border);
  background: #09090b;
}

.team-member-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

.team-member-card:hover .team-member-photo-box img {
  transform: scale(1.04);
  opacity: 1;
}

.team-member-details {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Homepage Horizontal Cases Carousel (1x3 Grid Style with Auto-Scroll) */
.hud-cases-carousel {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding: 16px 0 24px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-indigo) rgba(0, 0, 0, 0.2);
  width: 100%;
}

.hud-cases-carousel::-webkit-scrollbar {
  height: 5px;
}

.hud-cases-carousel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}

.hud-cases-carousel::-webkit-scrollbar-thumb {
  background: var(--accent-indigo);
  border-radius: 4px;
}

.hud-cases-carousel .hud-case-card {
  flex: 0 0 calc(33.333% - 16px); /* exactly 3 columns visible on desktop */
  display: flex;
  flex-direction: column;
  background: rgba(15, 15, 20, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid var(--hud-border);
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease;
}

@media (max-width: 991px) {
  .hud-cases-carousel .hud-case-card {
    flex: 0 0 calc(50% - 12px); /* 1x2 on tablet */
  }
}

@media (max-width: 767px) {
  .hud-cases-carousel .hud-case-card {
    flex: 0 0 85%; /* single peek card on mobile */
  }
}

.hud-cases-carousel .hud-case-card .case-visual-thumbnail {
  width: 100%;
  aspect-ratio: 1.33; /* Landscape aspect ratio */
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--hud-border);
}

.hud-cases-carousel .hud-case-card .case-card-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Testimonials Carousel 1x2 Grid & Auto-Scroll (Homepage) */
.testimonials-carousel {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding: 16px 0;
  scrollbar-width: none;
  width: 100%;
}

.testimonials-carousel::-webkit-scrollbar {
  display: none;
}

.testimonials-carousel .testimonial-card {
  flex: 0 0 calc(50% - 12px); /* exactly 2 columns visible on desktop */
  background: rgba(15, 15, 20, 0.3);
  backdrop-filter: blur(12px);
  border: 1px solid var(--hud-border);
  padding: 36px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.testimonials-carousel .testimonial-card:hover {
  border-color: var(--accent-indigo);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .testimonials-carousel .testimonial-card {
    flex: 0 0 85%; /* 1 card visible on mobile */
  }
}

/* FAQ Accordion Styling */
.faq-item {
  background: rgba(15, 15, 20, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid var(--hud-border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
}

.faq-trigger {
  padding: 24px 32px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  outline: none;
}

.faq-title-text {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.faq-icon {
  width: 16px;
  height: 16px;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: background-color 0.3s ease;
}

.faq-icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after {
  background: var(--white);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), padding 0.4s ease;
  padding: 0 32px;
}

.faq-panel-content {
  color: var(--muted);
  font-size: clamp(13px, 1.4vw, 15px);
  line-height: 1.7;
  padding-bottom: 24px;
}

.faq-item.active .faq-panel {
  max-height: 350px;
}

/* Global White Paragraph & Description Override */
p, 
.editorial-desc, 
.editorial-desc-short, 
.step-body, 
.founder-bio, 
.faq-panel-content,
.about-desc,
.testimonials-carousel .testimonial-card p,
.about-slider-wrapper p {
  color: var(--white) !important;
}

/* Instagram Marquee */
.insta-feed-marquee-container {
  mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.insta-feed-marquee {
  display: flex;
  gap: 20px;
  animation: instaMarquee 40s linear infinite;
}

.insta-feed-marquee:hover {
  animation-play-state: paused; /* Pause scrolling on hover for premium user experience */
}

.insta-feed-card {
  flex: 0 0 240px;
  width: 240px;
  height: 240px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  background: #000;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease;
  display: block;
}

.insta-feed-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.insta-feed-card:hover {
  transform: translateY(-6px);
  border-color: #ffc801;
}

.insta-feed-card:hover img {
  transform: scale(1.08);
}

.insta-feed-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.insta-feed-card:hover .insta-feed-overlay {
  opacity: 1;
}

@keyframes instaMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-25%); /* Quadruple elements loop means -25% corresponds to one full cycle offset */
  }
}




/* ============================================================
   SOCIENT DIGITAL — CUSTOM LAYOUT & ACCENT STYLES (Requirement 10)
   ============================================================ */

/* Solid Yellow Let's Talk Button (Requirement 2) */
.header-nav-btn {
  background: #ffc801 !important;
  color: #000000 !important;
  font-weight: 700 !important;
  border: 1px solid #ffc801 !important;
}

.header-nav-btn:hover {
  background: #ffe066 !important;
  color: #000000 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 200, 1, 0.3);
}

/* Yellow Hamburger menu toggle icon (Requirement 10) */
.mobile-menu-toggle-btn span {
  background: #ffc801 !important;
}

/* Yellow Circular drawer close button (Requirement 10) */
.drawer-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #ffc801 !important;
  border-radius: 50% !important;
  cursor: pointer;
  z-index: 105;
  transition: border-color 0.3s, transform 0.3s;
  padding: 0;
}

.drawer-close-btn span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: #ffc801 !important;
  border-radius: 1px;
  transition: background 0.3s;
  display: block;
}

.drawer-close-btn span:nth-child(1) {
  transform: rotate(45deg);
}

.drawer-close-btn span:nth-child(2) {
  transform: rotate(-45deg);
}

.drawer-close-btn:hover {
  border-color: var(--white) !important;
  transform: scale(1.05);
}

.drawer-close-btn:hover span {
  background: var(--white) !important;
}

/* Principles Split Layout - 2 columns on desktop, stacks on mobile (Requirement 9) */
.about-principles-split {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 1024px) {
  .about-principles-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Founder on top centered, members side-by-side below (Requirement 8) */





/* ============================================================
   SOCIENT DIGITAL — GLOBAL CENTER ALIGNMENT FOR ALL HEADINGS
   ============================================================ */

h1, h2, h3, h4, h5, h6,
.editorial-title,
.editorial-section-title,
.about-hero-heading,
.section-kicker,
.srv-title,
.step-heading,
.founder-card-name,
.case-banner-title {
  text-align: center !important;
}

.decorative-heading-group {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
}

.heading-underline {
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.editorial-subtitle,
.editorial-desc,
.editorial-desc-short {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* ============================================================
   SOCIENT DIGITAL — EDITORIAL ACTIONS CENTERING & PYRAMID MOBILE
   ============================================================ */

/* Center CTA and Editorial buttons globally (desktop/mobile/tablet) */
.editorial-actions {
  display: flex !important;
  justify-content: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Stacking for team members row on mobile / tablet */
@media (max-width: 991px) {
  .team-members-row {
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }
  .team-members-row > .team-member-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 450px !important;
  }
}


/* Fix: Remove bottom empty space from contact section globally */
#contact-section {
  min-height: auto !important;
  padding-bottom: 60px !important;
}


/* Fix: Set solid background & relative stacking on footer to block particle canvas overflow */
.scoping-footer {
  position: relative !important;
  z-index: 20 !important;
  background: #060608 !important; /* Matches theme backdrop */
  padding-bottom: 40px !important;
}


/* Premium Outlined SVGs for Scoping Contact Comms */
.contact-icon {
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease;
}
.scoping-comms p:hover .contact-icon {
  transform: scale(1.18);
  color: var(--white) !important;
}
.scoping-comms p a {
  transition: color 0.3s ease;
}
.scoping-comms p a:hover {
  color: #ffc801 !important;
}


/* 1x5 Grid Layout for Social Media Cards (Requirement 10) */
.scoping-comms-1x5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 24px;
}

.scoping-social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(15, 15, 20, 0.45) !important;
  border: 1px solid var(--hud-border) !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  color: var(--white) !important;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease !important;
}

.scoping-social-card:hover {
  transform: translateY(-4px);
  border-color: #ffc801 !important;
  background: rgba(255, 200, 1, 0.05) !important;
  box-shadow: 0 8px 24px rgba(255, 200, 1, 0.1);
}

.scoping-social-card .contact-icon {
  width: 36px !important;
  height: 36px !important;
  color: #ffc801 !important;
  margin-bottom: 12px !important;
  margin-right: 0 !important;
  transition: transform 0.3s ease, color 0.3s ease !important;
}

.scoping-social-card:hover .contact-icon {
  transform: scale(1.12);
  color: var(--white) !important;
}

@media (max-width: 1024px) {
  .scoping-comms-1x5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .scoping-comms-1x5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .scoping-comms-1x5 {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   SOCIENT DIGITAL — FORM FIELD VISIBILITY & CONTRAST UPGRADES
   ============================================================ */

/* High-contrast styling for scoping form inputs */
.hud-input {
  background: rgba(20, 20, 25, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  font-size: 14px !important;
}

/* Bright placeholders */
.hud-input::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
  opacity: 1 !important;
}

/* Yellow focus accent */
.hud-input:focus {
  border-color: #ffc801 !important;
  box-shadow: 0 0 15px rgba(255, 200, 1, 0.25) !important;
  background: rgba(10, 10, 12, 0.9) !important;
}

/* Checkbox options styling */
.hud-checkbox .lbl {
  background: rgba(20, 20, 25, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}

.hud-checkbox:hover .lbl {
  border-color: #ffc801 !important;
  color: #ffc801 !important;
}

.hud-checkbox input:checked + .lbl {
  background: rgba(255, 200, 1, 0.1) !important;
  border-color: #ffc801 !important;
  color: #ffc801 !important;
  box-shadow: 0 0 12px rgba(255, 200, 1, 0.2) !important;
}

/* Scoping form labels: Override inline var(--dim) text colors */
#scoping-form div,
#scoping-form p,
#scoping-form label {
  color: #ffffff !important;
}

#scoping-form div[style*="color: var(--dim)"],
#scoping-form p[style*="color: var(--dim)"],
#scoping-form label[style*="color: var(--dim)"],
.checkbox-group .checkbox-label {
  color: #ffffff !important;
  font-weight: 600 !important;
  opacity: 0.95 !important;
  letter-spacing: 0.05em !important;
}

/* Textarea height support */
.hud-textarea {
  min-height: 120px !important;
}


/* Disable body scroll when mobile menu is active */
body.mobile-menu-open {
  overflow: hidden !important;
}


/* ============================================================
   SOCIENT DIGITAL — GLOBAL RESPONSIVENESS GRID OVERRIDES
   ============================================================ */

@media (max-width: 1024px) {
  /* About Us Page Layouts */
  .about-premium-grid {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
}

@media (max-width: 991px) {
  /* Services Page Capsule Grid */
  .capsule-services-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  /* Services Page Workflow Timeline */
  .timeline-hud-flow {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Work Page Cases Grid (Tablet/Mobile) */
  .cases-tiles-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }
}

@media (max-width: 640px) {
  /* Work Page Cases Grid (Phones) */
  .cases-tiles-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}


/* ============================================================
   SOCIENT DIGITAL — GLOBAL OVERFLOW & RESPONSIVE TYPOGRAPHY
   ============================================================ */

/* Golden rule to prevent any horizontal scroll overflow */
html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* Universal safe responsive padding containers */
.section-inner {
  width: 100% !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

@media (max-width: 768px) {
  .section-inner {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  
  /* Hero Left Content Responsive Center Align */
  .hero-left-content {
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }
  
  .editorial-actions {
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  .section-inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Reduce massive headings to fit narrow mobile displays cleanly */
  .editorial-title {
    font-size: 26px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
  }

  .editorial-subtitle {
    font-size: 16px !important;
    line-height: 1.4 !important;
    margin-bottom: 20px !important;
  }

  .editorial-desc {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    margin-bottom: 24px !important;
  }
  
  /* Heading Underlines */
  .heading-underline {
    margin: 0 auto 20px auto !important;
  }
  
  /* Adjust navigation bar container padding on small smartphones */
  .navbar-container {
    padding: 0 16px !important;
  }
}


/* Force hamburger menu toggle button to display on mobile/tablet viewports */
@media (max-width: 1024px) {
  .mobile-menu-toggle-btn {
    display: flex !important;
  }
}


/* ============================================================
   SOCIENT DIGITAL — COMPREHENSIVE RESPONSIVENESS AND LAYOUT FIXES
   ============================================================ */

/* 1. Pill Services Cards Layout (Homepage) */
@media (max-width: 768px) {
  .pill-service-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 24px 28px !important;
    border-radius: 16px !important;
    gap: 16px !important;
    width: 100% !important;
  }
  
  .pill-card-tags {
    justify-content: flex-start !important;
    width: 100% !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
  }
  
  .pill-tag-dot {
    font-size: 13px !important;
  }
}

/* 2. Footer Grid Stacking (All pages) */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    text-align: center !important;
  }
  
  .footer-brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 auto !important;
  }
  
  .footer-brand p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  .footer-nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  
  .footer-links {
    align-items: center !important;
    text-align: center !important;
  }
  
  .footer-comms {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  
  .terminal-footer {
    flex-direction: column !important;
    gap: 12px !important;
    text-align: center !important;
  }
}

/* 3. About Page Premium Grid Squishing & Spacing */
@media (max-width: 1200px) {
  .about-premium-grid {
    gap: 40px !important;
  }
  .about-right-design-ref {
    padding-left: 30px !important;
  }
}

@media (max-width: 1024px) {
  .about-premium-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  
  .about-right-design-ref {
    padding-left: 0 !important;
    border-left: none !important;
    text-align: center !important;
  }
  
  .about-right-design-ref blockquote {
    text-align: left !important;
    max-width: 600px !important;
    margin: 0 auto !important;
  }
}

/* 4. Capsule Services Grid / Capabilities Items Layout (Services Page) */
@media (max-width: 991px) {
  .capsule-service-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 24px !important;
    border-radius: 12px !important;
    gap: 16px !important;
    grid-column: span 1 !important; /* Force item 5 (Performance) to fit exactly 1 column layout */
    width: 100% !important;
  }
  
  .capsule-service-item h3.srv-title {
    margin: 8px 0 !important;
  }
  
  .capsule-service-item p.srv-body {
    margin-bottom: 8px !important;
    font-size: 13.5px !important;
    line-height: 1.5 !important;
  }
}


/* ============================================================
   SOCIENT DIGITAL — EMPTY SPACE REMOVAL FOR MOBILE & TABLET
   ============================================================ */

/* Disable forced full-screen height (100vh) on mobile & tablet viewports */
@media (max-width: 1024px) {
  .editorial-section {
    min-height: auto !important;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
  
  /* Squeeze dynamic space around section dividers */
  .section-divider {
    padding: 0 20px !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
  }
}

@media (max-width: 480px) {
  .editorial-section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  
  /* Squeeze padding for hero top header navbar overflow gap */
  #hero-section {
    padding-top: 80px !important; /* Safe padding-top only for hero to clear sticky navbar */
    padding-bottom: 40px !important;
  }
}


/* ============================================================
   SOCIENT DIGITAL — UNIFIED FORM TYPOGRAPHY AND FONTS
   ============================================================ */

/* Generic utility class for monospaced elements */
.font-mono {
  font-family: var(--font-mono) !important;
}

/* Scoping form section headers font and size unification */
#scoping-form label,
#scoping-form .scoping-section-hdr {
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  display: block !important;
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  text-align: left !important;
}


/* Hide technical HUD coordinate labels and crosshairs on mobile view to prevent layout overlap issues */
@media (max-width: 768px) {
  .hud-blueprint-lines {
    display: none !important;
  }
}


/* Hide scrollbar track inside mobile drawer and disable vertical scrollbar rendering on body when active */
.mobile-menu-drawer {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.mobile-menu-drawer::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

body.mobile-menu-open {
  overflow: hidden !important;
  height: 100vh !important;
  touch-action: none !important;
}

/* Mobile responsive sizing override for brand logos marquee (screens under 768px) */
@media (max-width: 768px) {
  .brand-logos-track img {
    height: 48px !important;
    max-width: 140px !important;
    margin-right: 50px !important;
  }
  .brand-logos-track span {
    font-size: 20px !important;
    margin-right: 40px !important;
  }
}


/* Non-interactive bullet tags for services page list */
.services-list-tag {
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.45) !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 4px 0 !important;
  margin-right: 14px !important;
  cursor: default !important;
  pointer-events: none !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: none !important;
}

.services-list-tag::before {
  content: "•" !important;
  color: #ffc801 !important;
  font-size: 13px !important;
  font-weight: bold !important;
}

/* Mobile & Tablet responsive spacing overrides for case detail page (case.php) */
@media (max-width: 1024px) {
  .case-detail-container {
    padding: 110px 32px 80px 32px !important;
  }
  .case-detail-header {
    margin-top: 15px !important;
    margin-bottom: 40px !important;
    padding-bottom: 30px !important;
  }
}
@media (max-width: 768px) {
  .case-detail-container {
    padding: 95px 24px 60px 24px !important;
  }
  .case-detail-header {
    margin-top: 10px !important;
    margin-bottom: 30px !important;
    padding-bottom: 24px !important;
  }
}

/* Responsive margins for section dividers (tablets & mobile) */
@media (max-width: 1024px) {
  .section-divider {
    margin: 50px auto !important;
  }
}
@media (max-width: 768px) {
  .section-divider {
    margin: 40px auto !important;
  }
}


/* ============================================================
   SOCIENT DIGITAL — SERVICES & PROCESS SECTION TYPOGRAPHY & ALIGNMENT
   ============================================================ */

/* 1. Services Section (services.html) */
.srv-num {
  font-family: var(--font-heading) !important;
  font-size: 18px !important;
  color: #ffc801 !important;
  margin-bottom: 16px !important;
  display: block !important;
  text-align: center !important;
  letter-spacing: 0.05em !important;
}

.srv-title {
  font-family: var(--font-body) !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  color: var(--white) !important;
  margin-bottom: 16px !important;
  text-align: center !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  display: block !important;
}

.srv-body {
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: var(--muted) !important;
  text-align: center !important;
  margin-bottom: 24px !important;
  display: block !important;
}

.capsule-service-item .pill-card-tags {
  justify-content: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 16px !important;
}

/* 2. Process Section (services.html timeline) */
.step-radar {
  font-family: var(--font-heading) !important;
  font-size: 14px !important;
  color: #ffc801 !important;
  margin-bottom: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  text-align: center !important;
  display: block !important;
}

.step-heading {
  font-family: var(--font-body) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--white) !important;
  margin-bottom: 12px !important;
  text-align: center !important;
  text-transform: uppercase !important;
  display: block !important;
}

.step-body {
  font-family: var(--font-body) !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  color: var(--muted) !important;
  text-align: center !important;
  display: block !important;
}

/* Responsive Font Scaling for Mobile & Tablets */
@media (max-width: 768px) {
  .srv-num {
    font-size: 15px !important;
    margin-bottom: 12px !important;
  }
  .srv-title {
    font-size: 20px !important;
    margin-bottom: 12px !important;
  }
  .srv-body {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }
  .step-radar {
    font-size: 12px !important;
    margin-bottom: 12px !important;
  }
  .step-heading {
    font-size: 18px !important;
    margin-bottom: 8px !important;
  }
  .step-body {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
  }
}

/* ==========================================================================
   GLOBAL SECTION SPACING OPTIMIZATION (Consistent 140px Desktop Spacing)
   ========================================================================== */
.editorial-section {
  min-height: auto !important; /* Natural content height flow */
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Ensure the first section (Hero/Header) on every page keeps its top spacing to clear the navbar */
.editorial-section:first-of-type,
#hero-section {
  padding-top: 140px !important;
  padding-bottom: 0 !important;
}

/* Redundant spacer container disabled in favor of section-divider control */
.testimonial-contact-gap {
  display: none !important;
}

/* Section dividers have exactly 70px margin top/bottom, totaling 140px spacing */
.section-divider {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 70px auto !important; /* 70px top + 70px bottom = 140px total gap */
  padding: 0 80px;
}

/* Responsive scaling for section spacing on smaller screen sizes */
@media (max-width: 1024px) {
  .section-divider {
    margin: 50px auto !important; /* 100px total gap */
  }
  .editorial-section:first-of-type,
  #hero-section {
    padding-top: 100px !important;
  }
}

@media (max-width: 768px) {
  .section-divider {
    margin: 40px auto !important; /* 80px total gap */
  }
  .editorial-section:first-of-type,
  #hero-section {
    padding-top: 80px !important;
  }
}
