/* ==========================================================================
   ROGER SORKIN: STRATEGIC COMMUNICATIONS WEBSITE
   Main Stylesheet Architecture & Design System

   TABLE OF CONTENTS:
   01. Brand Design System Tokens (:root variables)
   02. CSS Reset, Box-Sizing & Base Defaults
   03. Accessibility Skip Link & Utility Helpers
   04. Modern Floating Navbar & Mobile Menu Overlay
   05. Standard Page Hero Banner System (.page-hero-section)
   06. Client Logos Infinite Marquee (.client-logos-section)
   07. Interactive Showreel Video Modal Dialog (.video-reel-dialog)
   08. Homepage Core Sections (Problem, Value Pillars, Testimonials)
   09. About Page Narrative Chapters & Editorial Layouts
   10. Services Page Hub, Connected Node Grid & Capability Cards
   11. Projects Page Portfolio Grid & Category Filter Tabs
   12. Case Study Showcase Layout (.case-study-hero, .case-study-grid-split)
   13. Blog Archive Grid & Individual Post Editorial Layouts
   14. Contact Page Layout & Standard Interactive Form (.section-contact-light)
   15. Modern Agency Footer & Newsletter Subscription (.footer-modern)
   16. Comprehensive Responsive Breakpoints (Desktop, Tablet, Mobile)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BRAND DESIGN SYSTEM TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Official Brand Palette */
  --color-navy: #082540;
  --color-navy-dark: #041424;
  --color-dark-navy: #082540;
  --color-navy-surface: #0c2f4e;

  --color-teal: #558686;
  --color-teal-dark: #003f38;
  --color-teal-light: #7ab4b4;

  --color-blue-accent: #1c7199;
  --color-gold-accent: #d4af37;

  --color-bg-light: #f8fafc;
  --color-bg-white: #ffffff;
  --color-bg-dark: #041424;
  --color-surface: #f8fafc;

  --color-text-dark: #0f172a;
  --color-text-muted-dark: #475569;
  --color-text-light: #ffffff;
  --color-text-muted-light: #cbd5e1;

  --color-border-dark: rgba(255, 255, 255, 0.14);
  --color-border-light: rgba(15, 23, 42, 0.12);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Spacing & Radius */
  --section-padding: min(100px, max(6vw, 56px));
  --container-max: 1280px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 28px rgba(8, 37, 64, 0.12);
  --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.35);

  --glass-bg: rgba(8, 37, 64, 0.88);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-blur: blur(18px);

  --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL BASE STYLES & TYPOGRAPHY
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-navy-dark);
  color: var(--color-text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

main {
  position: relative;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--color-teal);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  z-index: 10000;
  text-decoration: none;
  font-weight: 600;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 20px;
}

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

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-teal-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #ffffff;
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-light {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
}

.section-dark {
  background-color: var(--color-navy-dark);
  color: var(--color-text-light);
}

.text-center {
  text-align: center;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, var(--color-teal-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.18em;
}

/* Section Tag Badges - Uniform Brand Teal System */
.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 12px;
}

/* Light Teal for Section Tags on Dark Navy Backgrounds */
.section-dark .section-tag,
.hero-section .section-tag,
.section-projects .section-tag,
.section-contact .section-tag {
  color: var(--color-teal-light);
}

.tag-accent {
  font-size: 0.75rem;
  color: var(--color-teal-light);
  font-weight: 600;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title-dark,
.section-title-light,
.page-hero-title,
.principle-title,
.impact-card-title {
  text-wrap: balance;
}

.section-title-dark {
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 16px;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.section-title-light {
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.title-break {
  display: block;
}

@media (max-width: 640px) {
  .title-break {
    display: inline;
  }
}

.section-subtitle-light {
  font-size: 1.05rem;
  color: var(--color-text-muted-light);
  max-width: 640px;
}

/* --------------------------------------------------------------------------
   3. UNIFIED BUTTON SYSTEM
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  box-sizing: border-box;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-navy) 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-teal-light) 0%, var(--color-teal) 100%);
  color: var(--color-navy-dark);
  box-shadow: 0 8px 24px rgba(85, 134, 134, 0.4);
}

.glow-btn {
  position: relative;
  z-index: 1;
}

.glow-btn::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-teal-light), var(--color-blue-accent));
  z-index: -1;
  opacity: 0.35;
  filter: blur(8px);
  transition: opacity var(--transition-fast);
}

.glow-btn:hover::after {
  opacity: 0.75;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--glass-border);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.play-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-right: 2px;
}

.btn-dark {
  background: var(--color-navy);
  color: #ffffff;
  border-color: var(--color-navy-surface);
}

.btn-dark:hover {
  background: var(--color-teal);
  border-color: var(--color-teal);
  box-shadow: 0 8px 24px rgba(8, 37, 64, 0.3);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-text-dark);
  border-color: var(--color-border-light);
}

.btn-outline-dark:hover {
  background: var(--color-navy);
  color: #ffffff;
  border-color: var(--color-navy);
  box-shadow: 0 8px 24px rgba(8, 37, 64, 0.2);
}

.btn-light {
  background: #ffffff;
  color: var(--color-navy-dark);
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-light:hover {
  background: var(--color-bg-light);
  color: var(--color-navy);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}

.btn-sm {
  padding: 8px 22px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 38px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   4. FLOATING NAVBAR & BRAND LOGO
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 22px 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(4, 20, 36, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--color-border-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon-img {
  width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(122, 180, 180, 0.4));
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: #ffffff;
  letter-spacing: 1.5px;
  line-height: 1;
}

.logo-tagline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6875rem;
  color: var(--color-teal-light);
  letter-spacing: 3px;
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted-light);
  transition: color var(--transition-fast);
}

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

.nav-link.active {
  color: #ffffff;
  font-weight: 600;
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-teal);
  border-radius: 2px;
}

/* Mobile Menu Specific Desktop Defaults */
.nav-backdrop {
  display: none;
}

/* 3-Line Modern Accessible Hamburger Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 12px 9px;
  position: relative;
  z-index: 1002;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle-box {
  width: 26px;
  height: 18px;
  position: relative;
  display: block;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: transform var(--transition-normal), opacity var(--transition-fast), top var(--transition-normal), background-color var(--transition-fast);
}

.nav-toggle-bar:nth-child(1) {
  top: 0;
}

.nav-toggle-bar:nth-child(2) {
  top: 8px;
}

.nav-toggle-bar:nth-child(3) {
  top: 16px;
}

/* 3-Line Hamburger to 'X' Transition */
.nav-toggle.open .nav-toggle-bar:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
  background-color: var(--color-teal-light);
}

.nav-toggle.open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open .nav-toggle-bar:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
  background-color: var(--color-teal-light);
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 140px;
  padding-bottom: 90px;
  overflow: hidden;
  background-color: var(--color-navy-dark);
}

.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.75) contrast(1.1);
  display: block;
}

.hero-spotlight-orb {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(85, 134, 134, 0.35) 0%, rgba(28, 113, 153, 0.16) 50%, transparent 75%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(4, 20, 36, 0.28) 0%, rgba(4, 20, 36, 0.48) 50%, rgba(4, 20, 36, 0.76) 100%);
}

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

.hero-content {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.pill-badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(8, 37, 64, 0.85);
  border: 1px solid rgba(85, 134, 134, 0.4);
  padding: 8px 22px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  max-width: 100%;
}

.live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: liveGlow 1.8s infinite;
  flex-shrink: 0;
}

@keyframes liveGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

.badge-text {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-teal-light);
  letter-spacing: 1px;
  white-space: nowrap;
}

.hero-title {
  font-size: clamp(2.75rem, 5.2vw, 4.6rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.015em;
  margin-bottom: 24px;
  text-wrap: balance;
  text-shadow: 0 2px 20px rgba(4, 20, 36, 0.7);
}

.hero-title-line {
  display: block;
  padding-top: 0.04em;
  padding-bottom: 0.16em;
}

.hero-title-line.text-gradient {
  display: block;
  padding-top: 0.04em;
  padding-bottom: 0.22em;
  margin-bottom: -0.1em;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #cbd5e1;
  max-width: 880px;
  margin: 0 auto 44px;
  line-height: 1.65;
  text-wrap: balance;
  text-shadow: 0 1px 10px rgba(4, 20, 36, 0.6);
}

.hero-sub-desktop-br {
  display: inline;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.trust-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 24px 36px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: var(--color-border-dark);
}

.trust-number {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  text-align: center;
}

.trust-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 6px;
  font-weight: 500;
  text-align: center;
}

/* --------------------------------------------------------------------------
   6. CLIENT LOGOS TICKER
   -------------------------------------------------------------------------- */
.client-logos-section {
  padding: 44px 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border-light);
  overflow: hidden;
  width: 100%;
}

.logo-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.logo-carousel-track {
  display: flex;
  align-items: center;
  gap: 54px;
  width: max-content;
  animation: logoTicker 35s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

@keyframes logoTicker {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.logo-slide {
  flex: 0 0 auto;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-slide img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   7. SERVICES SECTION (CONNECTED NODE NETWORK ARCHITECTURE)
   -------------------------------------------------------------------------- */
.section-services-hub {
  background-color: #EBF1F3;
  color: var(--color-text-dark);
  padding: 72px 0 80px 0;
  position: relative;
  overflow: hidden;
}

.services-hub-header {
  max-width: 780px;
  margin: 0 auto 28px auto;
  text-align: center;
}

.services-hub-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-top: 12px;
}

.services-hub-subtitle {
  font-size: 1.02rem;
  color: #64748b;
  line-height: 1.65;
  margin-top: 12px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* 3-Column Interactive Network Layout */
.services-interactive-network {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: auto;
  margin-bottom: 30px;
}

/* Absolute Full-Cover SVG Canvas */
.services-network-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* SVG Connector Path Styling & Flowing Pulse Animation */
@keyframes pulseFlow {
  0% {
    stroke-dashoffset: 260;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

.network-base-line {
  stroke: rgba(85, 134, 134, 0.28);
  stroke-width: 2;
  fill: none;
  transition: stroke 0.3s ease, stroke-width 0.3s ease, filter 0.3s ease;
}

.network-pulse-line {
  stroke: var(--color-teal);
  stroke-width: 2.5;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 18 160;
  animation: pulseFlow 3.2s linear infinite;
  opacity: 0.9;
}

/* Active Line Highlight State */
.network-base-line.active-line {
  stroke: #558686;
  stroke-width: 3.5;
  filter: drop-shadow(0 0 8px rgba(85, 134, 134, 0.75));
}

.network-pulse-line.active-pulse {
  stroke: #7ab4b4;
  stroke-width: 3.5;
  animation: pulseFlow 1.6s linear infinite;
}

/* Left & Right Service Cards Columns */
.services-cards-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: clamp(290px, 31vw, 380px);
  z-index: 2;
  position: relative;
}

/* Individual Service Network Card with Teal Light Border & Balanced Vertical Alignment */
.hub-service-card {
  background-color: #ffffff;
  border: 1.5px solid var(--color-teal-light);
  border-radius: 20px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
  user-select: none;
  min-height: 100px;
  box-sizing: border-box;
}

.hub-service-card:hover,
.hub-service-card:focus-visible {
  text-decoration: none;
}

/* On hover change the color of card to navy */
.hub-service-card:hover {
  background-color: #061c2d;
  border-color: #7ab4b4;
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 16px 36px -6px rgba(4, 20, 36, 0.35), 0 0 20px rgba(122, 180, 180, 0.25);
}

.hub-service-card:hover .card-title {
  color: #ffffff;
}

.hub-service-card:hover .card-tagline {
  color: #cbd5e1;
}

.card-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(85, 134, 134, 0.1);
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
  transition: all var(--transition-fast);
}

.hub-service-card:hover .card-icon-box {
  background: var(--color-teal);
  color: #ffffff;
}

.card-text-box {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 4px 0;
  letter-spacing: -0.015em;
  transition: color 0.25s ease;
}

.card-tagline {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
  transition: color 0.25s ease;
}

/* Terminal Node Pins on Edge of Cards */
.card-terminal-node {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 0 10px rgba(85, 134, 134, 0.3);
  transition: all var(--transition-fast);
}

.card-terminal-node.right-node {
  right: -7px;
}

.card-terminal-node.left-node {
  left: -7px;
}

.node-core {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-teal);
  transition: all var(--transition-fast);
}

.hub-service-card:hover .card-terminal-node {
  border-color: #7ab4b4;
  background: #061c2d;
  box-shadow: 0 0 16px rgba(122, 180, 180, 0.9);
  transform: translateY(-50%) scale(1.2);
}

.hub-service-card:hover .node-core {
  background: #7ab4b4;
}

/* Central Hub Column with Clean Dark Circle & Logo Icon Only */
.services-hub-center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  width: 170px;
  height: 170px;
  flex-shrink: 0;
}

.hub-core-circle {
  width: 136px;
  height: 136px;
  border-radius: 50%;
  background: linear-gradient(145deg, #092642, #041424);
  border: 4.5px solid #285656;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(85, 134, 134, 0.16), 0 0 0 13px rgba(85, 134, 134, 0.06), 0 20px 48px -6px rgba(4, 20, 36, 0.45);
  position: relative;
  z-index: 2;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.hub-core-circle:hover {
  transform: scale(1.05);
  border-color: #558686;
  box-shadow: 0 0 0 8px rgba(122, 180, 180, 0.28), 0 0 0 16px rgba(122, 180, 180, 0.1), 0 24px 54px -6px rgba(4, 20, 36, 0.55);
}

.hub-center-logo {
  width: 68px;
  height: 68px;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s ease;
}

.hub-core-circle:hover .hub-center-logo {
  transform: scale(1.06);
}

/* Bottom CTA under Network */
.services-hub-footer {
  margin-top: 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.services-hub-footer .btn {
  text-align: center;
}

.services-hub-footer .btn svg {
  flex-shrink: 0;
}

/* Responsive Styles for Node Network */
@media (max-width: 992px) {
  .services-interactive-network {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    min-height: auto;
  }

  .services-network-canvas {
    display: none;
    /* Clean stacking on tablet/mobile */
  }

  .services-hub-center {
    order: -1;
    margin-bottom: 10px;
  }

  .services-cards-col {
    width: 100%;
    max-width: 540px;
    gap: 16px;
  }

  .hub-service-card {
    min-height: auto;
    width: 100%;
  }

  .card-terminal-node {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   8. CASE STUDIES / PROJECTS SHOWCASE
   -------------------------------------------------------------------------- */
.section-projects {
  background-color: var(--color-navy-dark);
  position: relative;
  overflow: hidden;
}

.section-projects::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: transparent;
  background-image:
    radial-gradient(circle at 50% 30%, rgba(85, 134, 134, 0.22) 0%, rgba(8, 37, 64, 0) 65%),
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 80 0 L 0 0 0 80' fill='none' stroke='rgba(255, 255, 255, 0.065)' stroke-width='1'/%3E%3Cpath d='M 75 80 L 85 80 M 80 75 L 80 85' fill='none' stroke='rgba(122, 180, 180, 0.45)' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 100% 100%, 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 35%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 35%, transparent 90%);
  pointer-events: none;
  z-index: 0;
}

.section-projects .container {
  position: relative;
  z-index: 1;
}

.slider-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.slider-nav-controls {
  display: flex;
  gap: 12px;
}

.slider-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(8, 37, 64, 0.8);
  border: 1px solid var(--color-border-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-arrow:hover {
  background: var(--color-teal);
  border-color: var(--color-teal);
}

.dark-arrow {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  color: var(--color-text-dark);
  box-shadow: var(--shadow-sm);
}

.dark-arrow:hover {
  background: var(--color-navy);
  color: #ffffff;
}

.project-slider-wrapper,
.testimonial-slider-wrapper {
  width: calc(100% + (100vw - 100%) / 2);
  max-width: none;
  padding-right: max(32px, calc((100vw - 1280px) / 2 + 32px));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-top: 16px;
  padding-bottom: 28px;
  box-sizing: border-box;
}

.project-slider-wrapper::-webkit-scrollbar,
.testimonial-slider-wrapper::-webkit-scrollbar {
  display: none;
}

.project-slider-track {
  display: flex;
  gap: 32px;
}

.project-slide-card {
  flex: 0 0 auto;
  width: 28%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.poster-mat-frame {
  position: relative;
  height: 440px;
  width: auto;
  background: linear-gradient(145deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(85, 134, 134, 0.3);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 12px 32px rgba(4, 20, 36, 0.5);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.poster-mat-frame:hover {
  border-color: var(--color-teal-light);
  box-shadow: 0 18px 42px rgba(85, 134, 134, 0.22);
}

.poster-uncropped {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-normal);
}

.poster-hover-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgb(4 20 36) 0%, rgba(4, 20, 36, 0.85) 50%, rgba(4, 20, 36, 0.98) 100%);
  padding: 28px 24px;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.poster-mat-frame:hover .poster-hover-layer {
  opacity: 1;
}

.poster-mat-frame:hover .poster-uncropped {
  transform: scale(1.04);
}

.hover-details {
  width: 100%;
}

.tag-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-teal-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.hover-heading {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.hover-text {
  font-size: 0.85rem;
  color: var(--color-text-muted-light);
  margin-bottom: 18px;
  line-height: 1.5;
}

.slide-footer-info {
  margin-top: 16px;
}

.slide-title {
  font-size: 1.1rem;
  color: #ffffff;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   9. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-editorial-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.about-image-column {
  position: relative;
  padding: 20px 0;
}

.portrait-pattern-backdrop {
  position: absolute;
  inset: -12px;
  background-color: var(--color-teal);
  opacity: 0.08;
  border-radius: var(--radius-lg);
  z-index: 0;
}

.portrait-card-frame-gradient {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  /*background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 50%, var(--color-navy-surface) 100%);*/
  /*border: 1px solid rgba(85, 134, 134, 0.35);*/
  padding: 16px 16px 0 16px;
}

.portrait-logo-watermark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.16;
  filter: brightness(0) invert(1);
  pointer-events: none;
  z-index: 0;
  padding: 24px;
}

.portrait-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.lead-text-dark {
  font-size: 1.2rem;
  color: var(--color-text-dark);
  font-weight: 600;
  line-height: 25px;
  margin-bottom: 16px;
}

.body-text-dark {
  font-size: 1rem;
  color: var(--color-text-muted-dark);
  line-height: 1.7;
  margin-bottom: 32px;
}

.about-features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
  border-top: 1px solid var(--color-border-light);
  padding-top: 28px;
}

.about-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  color: var(--color-teal);
  margin-top: 2px;
}

.about-feature-item h4 {
  font-size: 1.05rem;
  color: var(--color-text-dark);
  margin-bottom: 2px;
}

.about-feature-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted-dark);
}

.about-credentials-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.credential-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(85, 134, 134, 0.1);
  border: 1px solid rgba(85, 134, 134, 0.25);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-teal-dark);
}

.about-action-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   10. TESTIMONIALS SLIDER
   -------------------------------------------------------------------------- */
.section-testimonials {
  border-top: 1px solid var(--color-border-light);
  background-color: var(--color-bg-light);
}

.testimonial-slider-wrapper {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-top: 16px;
  padding-bottom: 28px;
}

.testimonial-slider-wrapper::-webkit-scrollbar {
  display: none;
}

.testimonial-track {
  display: flex;
  gap: 32px;
}

.testimonial-card {
  flex: 0 0 540px;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px -10px rgba(8, 37, 64, 0.06);
  position: relative;
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-teal);
  box-shadow: 0 20px 44px -12px rgba(8, 37, 64, 0.12), 0 0 0 1px rgba(85, 134, 134, 0.35);
}

.quote-icon-wrap {
  margin-bottom: 20px;
  color: var(--color-teal);
  opacity: 0.35;
  transition: all var(--transition-fast);
}

.testimonial-card:hover .quote-icon-wrap {
  opacity: 0.9;
  transform: translateY(-3px);
}

.quote-svg-icon {
  width: 48px;
  height: 48px;
}

.quote-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text-dark);
  font-style: italic;
  margin-bottom: 32px;
  font-weight: 400;
}

.author-info-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 20px;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-navy);
}

.author-title {
  font-family: var(--font-heading);
  font-size: 0.78125rem;
  font-weight: 700;
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* --------------------------------------------------------------------------
   11. CONTACT SECTION
   -------------------------------------------------------------------------- */
.section-contact {
  background-color: var(--color-navy-dark);
  border-top: 1px solid var(--color-border-dark);
  position: relative;
  overflow: hidden;
}

.section-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: transparent;
  background-image:
    radial-gradient(circle at 50% 30%, rgba(85, 134, 134, 0.22) 0%, rgba(8, 37, 64, 0) 65%),
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 80 0 L 0 0 0 80' fill='none' stroke='rgba(255, 255, 255, 0.065)' stroke-width='1'/%3E%3Cpath d='M 75 80 L 85 80 M 80 75 L 80 85' fill='none' stroke='rgba(122, 180, 180, 0.45)' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 100% 100%, 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 35%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 35%, transparent 90%);
  pointer-events: none;
  z-index: 0;
}

.section-contact .container {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted-light);
  line-height: 1.6;
  margin-bottom: 36px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
}

.contact-detail-row a {
  color: #ffffff;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.contact-detail-row a:hover {
  color: var(--color-teal-light);
}

.detail-icon {
  color: var(--color-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Centered CTA Section (Generic Footer Component) */
.section-contact-centered {
  text-align: center;
  padding: 100px 0;
}

.contact-info-centered {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-info-centered .section-tag {
  display: inline-block;
  margin-bottom: 20px;
}

.contact-info-centered .section-title-light {
  text-align: center;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.25;
  margin-bottom: 20px;
  max-width: 800px;
}

.contact-info-centered .contact-desc {
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 40px;
}

.contact-info-centered .contact-details-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 24px;
}

.contact-info-centered .contact-detail-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 22px;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.contact-info-centered .contact-detail-row:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(122, 180, 180, 0.4);
  transform: translateY(-2px);
}

.contact-info-centered .contact-detail-row a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.contact-info-centered .contact-detail-row a:hover {
  color: var(--color-teal-light);
}

@media (max-width: 768px) {
  .section-contact-centered {
    padding: 70px 0;
  }

  .contact-info-centered .contact-details-list {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .contact-info-centered .contact-detail-row {
    width: 100%;
    max-width: 380px;
    justify-content: center;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(8, 37, 64, 0.8);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(85, 134, 134, 0.25);
}

.form-feedback {
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-feedback.success {
  color: #4ade80;
}

/* --------------------------------------------------------------------------
   12. FOOTER SYSTEM
   -------------------------------------------------------------------------- */
.footer-modern {
  background-color: #020912;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding-top: 60px;
}

.footer-ambient-bg {
  position: absolute;
  bottom: -60px;
  right: -60px;
  pointer-events: none;
  z-index: 0;
}

.footer-watermark-logo {
  width: 540px;
  height: 540px;
  opacity: 0.035;
  filter: brightness(0) invert(1);
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr;
  gap: 64px;
  padding-top: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted-light);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  font-size: 0.9rem;
  color: var(--color-text-muted-light);
  transition: all var(--transition-fast);
}

.footer-nav-list a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.newsletter-subtext {
  font-size: 0.85rem;
  color: var(--color-text-muted-light);
  line-height: 1.5;
  margin-bottom: 18px;
}

.newsletter-input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.newsletter-modern-input {
  flex-grow: 1;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.85rem;
  outline: none;
  transition: all var(--transition-fast);
}

.newsletter-modern-input:focus {
  border-color: var(--color-teal);
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom-modern {
  position: relative;
  z-index: 1;
  background: transparent;
  padding: 24px 0;
}

.footer-bottom-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted-light);
}

/* --------------------------------------------------------------------------
   13. MODAL DIALOGS
   -------------------------------------------------------------------------- */
.modal-dialog {
  padding: 0;
  border: none;
  background: transparent;
  max-width: 760px;
  width: 90%;
  margin: auto;
  color: #ffffff;
}

.modal-dialog::backdrop {
  background: rgba(4, 20, 36, 0.88);
  backdrop-filter: blur(12px);
}

.glass-dialog {
  position: relative;
  background: var(--color-navy);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border-dark);
  border-radius: 50%;
  color: var(--color-text-muted-light);
  font-size: 1.6rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}

.video-reel-dialog {
  max-width: 900px;
}

.video-reel-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.reel-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* --------------------------------------------------------------------------
   14. COMPREHENSIVE RESPONSIVE MEDIA QUERIES (ZERO HORIZONTAL SCROLL)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }

  .trust-bar {
    padding: 20px 24px;
  }

  .about-editorial-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  /* Global Mobile Button Rules */
  .btn {
    white-space: normal;
  }

  .btn-lg {
    padding: 14px 22px;
    font-size: 0.96rem;
  }

  /* Services CTA Mobile Optimization */
  .services-hub-footer {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .services-hub-footer .btn {
    width: 100%;
    max-width: 420px;
    padding: 14px 20px;
    font-size: 0.94rem;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
  }

  /* 3-Line Hamburger Button on Mobile */
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    border-radius: var(--radius-sm);
  }

  .nav-toggle:focus-visible {
    outline: 2px solid var(--color-teal);
  }

  /* Frosted Backdrop Dimmer */
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(2, 9, 18, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
    z-index: 1000;
  }

  .nav-backdrop.open {
    opacity: 1;
    visibility: visible;
  }

  /* Luxury Slide-in Drawer */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 86%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, #071f35 0%, #031221 100%);
    border-left: 1px solid rgba(85, 134, 134, 0.28);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 72px 24px 32px;
    transition: right var(--transition-normal);
    box-shadow: -14px 0 40px rgba(0, 0, 0, 0.65);
    z-index: 1001;
    overflow-y: auto;
  }

  .nav-menu.open {
    right: 0;
  }

  /* Clean Options with Thin Separator Lines */
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-bottom: 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-list li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-link {
    display: block;
    padding: 16px 8px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #e2e8f0;
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
  }

  .nav-link:hover,
  .nav-link:active {
    color: #ffffff;
    background: rgba(85, 134, 134, 0.12);
    padding-left: 14px;
  }

  .nav-link.active {
    color: var(--color-teal-light);
    background: rgba(85, 134, 134, 0.16);
    padding-left: 14px;
    font-weight: 700;
  }

  .nav-link.active::after {
    display: none;
  }

  /* CTA Button Placed Directly After Menu Links */
  .nav-menu .nav-actions {
    width: 100%;
    margin-top: 24px;
    padding-top: 0;
    border-top: none;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav-menu .nav-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.95rem;
  }

  .hero-section {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: clamp(1.95rem, 5vw, 2.6rem);
    line-height: 1.2;
    letter-spacing: 0.01em;
    margin-bottom: 20px;
  }

  .page-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    line-height: 1.22;
    letter-spacing: 0.01em;
  }

  .hero-sub-desktop-br {
    display: none;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 32px;
    padding: 0 4px;
  }

  /* Hero Stats: 1 Stat Per Row on Mobile with Thin Separator Line Between */
  .trust-bar {
    display: flex;
    flex-direction: column;
    padding: 14px 20px;
    gap: 0;
    border-radius: var(--radius-md);
  }

  .trust-item {
    width: 100%;
    padding: 16px 8px;
    margin-bottom: 0;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .trust-item:first-of-type {
    padding-top: 4px;
  }

  .trust-item:last-of-type {
    padding-bottom: 4px;
  }

  .trust-divider {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--color-border-dark);
    margin: 0;
  }

  .pill-badge-hero {
    padding: 6px 14px;
    gap: 8px;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .badge-text {
    font-size: clamp(0.58rem, 2.3vw, 0.75rem);
    letter-spacing: 0.5px;
    white-space: nowrap;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 14px;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .about-action-row {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .about-action-row .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 13px 20px;
  }


  .poster-mat-frame {
    height: 340px;
  }

  .project-slide-card {
    flex: 0 0 min(280px, 82vw);
    cursor: pointer;
  }

  .testimonial-card {
    flex: 0 0 min(300px, 86vw);
    padding: 32px 24px;
  }

  .slider-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .glass-dialog {
    padding: 28px 20px;
  }
}

@media (max-width: 600px) {
  .newsletter-input-group {
    flex-direction: column;
    gap: 10px;
  }

  .newsletter-modern-input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
  }

  .newsletter-input-group .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .pill-badge-hero {
    padding: 5px 10px;
    gap: 6px;
    margin-bottom: 16px;
    max-width: 100%;
  }

  .live-pulse {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
  }

  .badge-text {
    font-size: clamp(0.48rem, 2.45vw, 0.62rem);
    letter-spacing: 0.3px;
    white-space: nowrap;
  }

  .hero-title {
    font-size: clamp(1.48rem, 6.1vw, 1.82rem);
    line-height: 1.22;
    letter-spacing: 0.01em;
    margin-bottom: 18px;
  }

  .page-hero-title {
    font-size: clamp(1.45rem, 5.8vw, 1.85rem);
    line-height: 1.24;
    letter-spacing: 0.01em;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 28px;
  }

  .trust-bar {
    padding: 10px 16px;
  }

  .trust-item {
    padding: 14px 6px;
  }

  .trust-number {
    font-size: clamp(1.5rem, 5.5vw, 1.85rem);
  }

  .trust-label {
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    margin-top: 4px;
  }

  /* Compact Services CTA Button */
  .services-hub-footer {
    padding: 0 8px;
  }

  .services-hub-footer .btn {
    max-width: 100%;
    padding: 13px 14px;
    font-size: 0.88rem;
    gap: 8px;
  }

  .services-hub-footer .btn svg {
    width: 16px;
    height: 16px;
  }

  .btn-lg {
    padding: 12px 18px;
    font-size: 0.9rem;
  }

  .btn-sm {
    padding: 8px 16px;
    font-size: 0.82rem;
  }

  .play-reel-btn {
    padding: 12px 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.4rem;
    line-height: 1.24;
  }

  .services-hub-footer .btn {
    font-size: 0.82rem;
    padding: 11px 12px;
    gap: 6px;
  }

  .btn-lg {
    padding: 11px 14px;
    font-size: 0.85rem;
  }
}

/* --------------------------------------------------------------------------
   15. PERFORMANCE & CORE WEB VITALS OPTIMIZATIONS
   -------------------------------------------------------------------------- */

/* Defer deep offscreen sections to accelerate FCP, LCP and Total Blocking Time */
.section-testimonials {
  content-visibility: auto;
  contain-intrinsic-size: auto 550px;
}

.section-contact {
  content-visibility: auto;
  contain-intrinsic-size: auto 650px;
}

.footer-modern {
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}

/* Accessibility & Battery Optimization for Reduced Motion */
@media (prefers-reduced-motion: reduce) {

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

  .logo-carousel-track {
    animation: none;
    overflow-x: auto;
  }
}

/* --------------------------------------------------------------------------
   16. INNER PAGES & ABOUT PAGE STYLES
   -------------------------------------------------------------------------- */

/* Page Hero Section with Framer SVG Precision Grid Lines & Radial Highlight */
.page-hero-section {
  position: relative;
  background-color: var(--color-navy-dark);
  overflow: hidden;
  border-bottom: 1px solid rgba(85, 134, 134, 0.2);
}

.page-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: transparent;
  background-image:
    radial-gradient(circle at 50% 30%, rgba(85, 134, 134, 0.22) 0%, rgba(8, 37, 64, 0) 65%),
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 80 0 L 0 0 0 80' fill='none' stroke='rgba(255, 255, 255, 0.065)' stroke-width='1'/%3E%3Cpath d='M 75 80 L 85 80 M 80 75 L 80 85' fill='none' stroke='rgba(122, 180, 180, 0.45)' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 100% 100%, 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 35%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 35%, transparent 90%);
  pointer-events: none;
  z-index: 0;
}

.page-hero-orb {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 640px;
  height: 380px;
  background: radial-gradient(circle, rgba(85, 134, 134, 0.2) 0%, rgba(4, 20, 36, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.page-hero-container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: clamp(130px, 16vw, 175px);
  padding-bottom: clamp(64px, 8vw, 92px);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-muted-light);
  margin-bottom: 22px;
  font-family: var(--font-heading);
  width: 100%;
}

.breadcrumb-link {
  color: var(--color-teal-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb-link:hover {
  color: #ffffff;
}

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb-current {
  color: var(--color-text-muted-light);
  font-weight: 500;
}

.page-hero-title {
  font-size: clamp(1.95rem, 3.4vw, 3.05rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.22;
  letter-spacing: 0.015em;
  max-width: 1200px;
  margin: 0 auto 24px auto;
  text-wrap: balance;
}

.hero-title-break {
  display: block;
}

.page-hero-line {
  display: inline;
}

@media (min-width: 769px) {
  .page-hero-line {
    display: block;
  }

  .about-hero-title .hero-title-break {
    display: none;
  }
}

@media (min-width: 1024px) {
  .about-hero-title .page-hero-line {
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .hero-title-break {
    display: inline;
  }
}

.page-hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--color-text-muted-light);
  line-height: 1.65;
  max-width: 960px;
  margin: 0 auto 36px auto;
  font-weight: 400;
  text-wrap: balance;
}

.page-hero-highlights {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 36px);
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-highlight-val {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.hero-highlight-lbl {
  font-size: 0.8rem;
  color: var(--color-text-muted-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-highlight-div {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
}

/* Chapter Visual Story Sections */
.about-chapter-section {
  padding: clamp(64px, 7vw, 96px) 0;
  position: relative;
}

.chapter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr !important;
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}

.chapter-grid.reverse-layout {
  grid-template-columns: 1.25fr 0.75fr;
}

/* .chapter-content-col {
  min-width: 0;
} */

/* Two-Line Balanced Chapter Headings */
.chapter-heading-two-lines {
  font-size: clamp(1.35rem, 2.15vw, 2.2rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: var(--color-navy);
  text-wrap: nowrap;
}

.chapter-heading-two-lines .heading-line {
  display: block;
  white-space: normal;
  text-wrap: wrap;
}

.chapter-photo-frame {
  position: relative;
}

/* Stylized Offset Photo Frame (Matching Reference Screenshot) */
.photo-frame-offset {
  position: relative;
  display: block;
  width: calc(100% - 20px);
  margin-left: 20px;
  margin-bottom: 20px;
}

.photo-frame-offset::before {
  content: '';
  position: absolute;
  top: 18px;
  left: -20px;
  right: 20px;
  bottom: -20px;
  border: 1.5px solid rgba(8, 37, 64, 0.35);
  border-radius: 26px;
  pointer-events: none;
  z-index: 0;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.photo-frame-offset:hover::before {
  transform: translate(-3px, 3px);
  border-color: var(--color-teal);
}

.photo-frame-offset img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  box-shadow: 0 16px 36px rgba(4, 20, 36, 0.12);
  border: 1px solid rgba(8, 37, 64, 0.08);
  background: #ffffff;
}

@media (max-width: 768px) {
  .photo-frame-offset {
    width: calc(100% - 14px);
    margin-left: 14px;
    margin-bottom: 14px;
  }

  .photo-frame-offset::before {
    top: 12px;
    left: -14px;
    right: 14px;
    bottom: -14px;
    border-radius: 22px;
  }
}

/* About Video Trigger & Play Button Overlay */
.video-trigger-wrap {
  cursor: pointer;
}

.about-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(4, 20, 36, 0.88);
  border: 2px solid rgba(85, 134, 134, 0.7);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  box-shadow: 0 10px 30px rgba(4, 20, 36, 0.5), 0 0 25px rgba(85, 134, 134, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.video-trigger-wrap:hover .about-video-play-btn,
.about-video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.12);
  background: #082540;
  border-color: var(--color-teal);
  box-shadow: 0 14px 40px rgba(4, 20, 36, 0.65), 0 0 35px rgba(85, 134, 134, 0.7);
}

.about-video-play-btn .play-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  color: #ffffff;
  transition: transform 0.2s ease;
}

.about-video-play-btn:hover .play-btn-icon {
  transform: scale(1.08);
}

.play-btn-ripple {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 2px solid rgba(85, 134, 134, 0.6);
  border-radius: 50%;
  animation: aboutPlayPulse 2.4s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
  pointer-events: none;
}

@keyframes aboutPlayPulse {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* About Video Lightbox Modal */
.about-video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 24px;
  box-sizing: border-box;
}

.about-video-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.about-video-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 20, 36, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}

.about-video-dialog {
  position: relative;
  width: 100%;
  max-width: 960px;
  background: #041424;
  border: 1px solid rgba(85, 134, 134, 0.35);
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 45px rgba(85, 134, 134, 0.25);
  overflow: hidden;
  z-index: 2;
  transform: scale(0.93) translateY(24px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-video-modal.is-active .about-video-dialog {
  transform: scale(1) translateY(0);
}

.about-video-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.about-video-close:hover {
  background: rgba(239, 68, 68, 0.9);
  border-color: rgba(239, 68, 68, 1);
  transform: rotate(90deg);
}

.about-video-iframe-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  background: #000000;
}

.about-video-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 640px) {
  .about-video-play-btn {
    width: 62px;
    height: 62px;
  }
  .about-video-play-btn svg {
    width: 22px;
    height: 22px;
  }
  .about-video-modal {
    padding: 12px;
  }
}

/* Impact Mini-Cards (Chapter 2 High-Stakes Sectors) */
.impact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.impact-card {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-left: 3.5px solid var(--color-teal);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  box-shadow: 0 4px 14px rgba(8, 37, 64, 0.04);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-left-color var(--transition-fast);
}

.impact-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 22px rgba(8, 37, 64, 0.08);
  border-left-color: var(--color-navy);
}

.impact-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.impact-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(85, 134, 134, 0.12);
  color: var(--color-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.impact-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: unset;
  color: var(--color-navy-dark);
  margin: 0;
}

.impact-card-text {
  font-size: 1.02rem;
  color: #334155;
  line-height: 1.5;
  margin: 0;
}

.chapter-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(8, 37, 64, 0.12);
  object-fit: cover;
  display: block;
  border: 1px solid var(--color-border-light);
}

.chapter-caption-badge {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-left: 3px solid var(--color-teal);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--color-text-muted-dark);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.chapter-stat-callout {
  display: flex;
  gap: 16px;
  align-items: center;
  background: rgba(85, 134, 134, 0.08);
  border: 1px solid rgba(85, 134, 134, 0.25);
  border-left: 4px solid var(--color-teal);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 24px 0;
}

.chapter-stat-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-teal-dark);
  line-height: 1;
}

.chapter-stat-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted-dark);
  line-height: 1.45;
  margin: 0;
}

.story-portrait-wrap {
  position: relative;
}

.story-quote-card {
  margin-top: 24px;
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-left: 4px solid var(--color-teal);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.story-quote-card p {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-text-dark);
  line-height: 1.6;
  margin-bottom: 8px;
}

.story-quote-card cite {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-teal-dark);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.story-editorial-content .section-title-dark {
  margin-bottom: 24px;
}

.story-p {
  font-size: 1.02rem;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 20px;
}

.story-callout-box {
  background: rgba(85, 134, 134, 0.08);
  border: 1px solid rgba(85, 134, 134, 0.25);
  border-left: 4px solid var(--color-teal);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  margin: 28px 0;
}

.story-callout-box h4 {
  font-size: 1.05rem;
  color: var(--color-text-dark);
  margin-bottom: 6px;
  font-weight: 700;
}

.story-callout-box p {
  font-size: 0.925rem;
  color: var(--color-text-muted-dark);
  margin-bottom: 0;
  line-height: 1.65;
}

/* Principles Section with Framer SVG Grid Pattern */
.section-principles {
  position: relative;
  background-color: var(--color-navy-dark);
  border-top: 1px solid rgba(85, 134, 134, 0.2);
  border-bottom: 1px solid rgba(85, 134, 134, 0.2);
  overflow: hidden;
}

.section-principles::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: transparent;
  background-image:
    radial-gradient(circle at 50% 30%, rgba(85, 134, 134, 0.22) 0%, rgba(8, 37, 64, 0) 65%),
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 80 0 L 0 0 0 80' fill='none' stroke='rgba(255, 255, 255, 0.065)' stroke-width='1'/%3E%3Cpath d='M 75 80 L 85 80 M 80 75 L 80 85' fill='none' stroke='rgba(122, 180, 180, 0.45)' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 100% 100%, 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 35%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 35%, transparent 90%);
  pointer-events: none;
  z-index: 0;
}

.section-principles .container {
  position: relative;
  z-index: 1;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.principle-card {
  background: rgba(12, 47, 78, 0.55);
  border: 1px solid rgba(85, 134, 134, 0.22);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
}

.principle-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-teal);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.principle-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-teal-light);
  background: rgba(85, 134, 134, 0.15);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}

/* Principle Header Row: Icon and Title Next to Each Other */
.principle-header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.principle-header-row .principle-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(85, 134, 134, 0.18);
  color: var(--color-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  flex-shrink: 0;
}

.principle-header-row .principle-title {
  font-size: 1.2rem;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0;
}

.principle-text {
  font-size: 0.95rem;
  color: var(--color-text-muted-light);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 24px;
}

.principle-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-teal-light);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Approach Section */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.approach-card {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.approach-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.approach-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.approach-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-teal);
  opacity: 0.6;
}

.approach-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(85, 134, 134, 0.1);
  color: var(--color-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.approach-card h3 {
  font-size: 1.2rem;
  color: var(--color-text-dark);
  margin-bottom: 12px;
  font-weight: 700;
}

.approach-card p {
  font-size: 0.925rem;
  color: var(--color-text-muted-dark);
  line-height: 1.65;
  margin-bottom: 0;
}

/* Credentials Grid */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.cred-card {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.cred-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.cred-icon-box {
  color: var(--color-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.cred-info h4 {
  font-size: 1rem;
  color: var(--color-text-dark);
  margin-bottom: 4px;
  font-weight: 700;
}

.cred-info p {
  font-size: 0.85rem;
  color: var(--color-text-muted-dark);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Endorsements 2-Column Grid for Inner Pages */
.endorsements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.endorsement-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px -10px rgba(8, 37, 64, 0.06);
  transition: all var(--transition-normal);
}

.endorsement-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-teal);
  box-shadow: 0 20px 44px -12px rgba(8, 37, 64, 0.12), 0 0 0 1px rgba(85, 134, 134, 0.35);
}

/* ==========================================================================
   SERVICES PAGE STYLES
   ========================================================================== */

/* Quick-Jump Sticky Subnavigation */
.services-quick-nav {
  position: sticky;
  top: 76px;
  z-index: 900;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  padding: 12px 0;
  transition: all var(--transition-normal);
}

.services-nav-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
}

.services-nav-scroll::-webkit-scrollbar {
  display: none;
}

.service-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-dark);
  text-decoration: none;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.service-nav-pill:hover,
.service-nav-pill.active {
  background: var(--color-dark-navy);
  color: #ffffff;
  border-color: var(--color-dark-navy);
  transform: translateY(-1px);
}

.service-nav-pill .pill-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0.7;
}

/* Service Detail Sections */
.service-section {
  padding: clamp(64px, 7vw, 96px) 0;
  position: relative;
  scroll-margin-top: 140px;
}

/* Service Sections Grid & Uniform Sizing: Both Columns Equal to Capability 03 */
.service-section .chapter-grid,
.service-section .chapter-grid.reverse-layout {
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.service-section .photo-frame-offset img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.service-deliverables-box {
  margin: 28px 0;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.service-section:nth-child(even) .service-deliverables-box {
  background: #ffffff;
}

.deliverables-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.deliverables-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: #334155;
  line-height: 1.45;
}

.deliverable-icon {
  color: var(--color-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-action-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Engagement Models Section */
.section-engagement-models {
  background-color: var(--color-surface, #f8fafc);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  padding: clamp(64px, 7vw, 96px) 0;
}

.section-engagement-models .section-title-dark {
  color: var(--color-navy);
}

.engagement-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.engagement-card {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px -10px rgba(8, 37, 64, 0.05);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.engagement-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-teal);
  box-shadow: 0 20px 44px -12px rgba(8, 37, 64, 0.12), 0 0 0 1px rgba(85, 134, 134, 0.35);
}

.engagement-tier-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal);
  background: rgba(85, 134, 134, 0.12);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  width: fit-content;
}

.engagement-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-dark-navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.engagement-card-desc {
  font-size: 0.94rem;
  color: var(--color-text-muted-dark);
  line-height: 1.6;
  margin-bottom: 24px;
}

.engagement-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--color-border-light);
  padding-top: 20px;
}

.engagement-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.4;
}

.engagement-feature-icon {
  color: var(--color-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Responsive Media Queries for Inner & About Pages */
@media (max-width: 991px) {
  .engagement-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .deliverables-list {
    grid-template-columns: 1fr;
  }

  .service-section {
    scroll-margin-top: 90px;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .chapter-grid,
  .chapter-grid.reverse-layout,
  .service-section .chapter-grid,
  .service-section .chapter-grid.reverse-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .chapter-grid.reverse-layout .chapter-photo-col {
    order: -1;
  }

  .story-portrait-wrap,
  .chapter-photo-frame {
    max-width: 520px;
    margin: 0 auto;
  }

  .photo-frame-offset {
    max-width: calc(100% - 16px);
    margin-left: 16px;
    margin-right: auto;
    margin-bottom: 20px;
  }

  .principles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .credentials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .endorsements-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .chapter-heading-two-lines {
    font-size: clamp(1.15rem, 3.2vw, 1.85rem);
  }
}

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

  .page-hero-highlights {
    gap: 16px;
  }

  .hero-highlight-div {
    display: none;
  }

  .hero-highlight-item {
    min-width: 130px;
  }

  .principle-card,
  .approach-card,
  .endorsement-card {
    padding: 28px 20px;
  }

  .chapter-heading-two-lines {
    font-size: clamp(0.95rem, 4.3vw, 1.35rem);
    letter-spacing: -0.015em;
    white-space: normal;
    text-wrap: balance;
  }

  .chapter-heading-two-lines .heading-line {
    white-space: normal;
    text-wrap: balance;
  }
}

@media (max-width: 380px) {
  .chapter-heading-two-lines {
    font-size: clamp(0.85rem, 4vw, 1rem);
  }
}




/* --------------------------------------------------------------------------
   14. PROJECTS PORTFOLIO & CASE STUDY STYLES
   -------------------------------------------------------------------------- */

/* Creative Approach Editorial Section */
.section-creative-approach {
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border-light);
  padding: clamp(64px, 7vw, 96px) 0;
}

.approach-layout-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}

.approach-text-col {
  display: flex;
  flex-direction: column;
}

.approach-steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.approach-step-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--color-surface, #f8fafc);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-fast);
}

.approach-step-row:hover {
  border-color: var(--color-teal);
  background: #ffffff;
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(8, 37, 64, 0.05);
}

.approach-step-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-teal);
  background: rgba(85, 134, 134, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.approach-step-text h4 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-dark-navy);
  margin: 0 0 4px 0;
}

.approach-step-text p,
.approach-step-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted-dark);
  margin: 0;
  line-height: 1.55;
}

.approach-photo-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.approach-photo-col .photo-frame-offset {
  margin-bottom: 32px;
}

.photo-frame-offset .approach-photo-frame {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(4, 20, 36, 0.12);
  border: 1px solid rgba(8, 37, 64, 0.08);
  background: var(--color-dark-navy);
}

.approach-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 50px -12px rgba(8, 37, 64, 0.22);
  border: none;
  background: var(--color-dark-navy);
}

.approach-photo-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.approach-photo-frame:hover .approach-photo-img {
  transform: scale(1.03);
}

.approach-photo-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(4, 20, 36, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.approach-quote-callout {
  background: #ffffff;
  border-left: 4px solid var(--color-teal);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  box-shadow: 0 4px 18px rgba(8, 37, 64, 0.05);
  border-top: 1px solid var(--color-border-light);
  border-right: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.approach-quote-callout .quote-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
  font-weight: 600;
  color: var(--color-dark-navy);
  margin-bottom: 8px;
}

.approach-quote-callout .quote-author {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Projects Showcase Section */
.section-projects-showcase {
  background-color: var(--color-surface, #f8fafc);
  padding: clamp(64px, 8vw, 100px) 0;
  border-bottom: 1px solid var(--color-border-light);
}

.projects-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 32px;
  justify-items: center;
}

.project-portfolio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 360px;
  transition: transform var(--transition-normal);
}

.project-portfolio-card:hover {
  transform: translateY(-4px);
}

.project-portfolio-card .poster-mat-frame {
  height: 440px;
  width: auto;
  max-width: 100%;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(4, 20, 36, 0.12);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 4px 18px rgba(4, 20, 36, 0.08);
  position: relative;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.project-portfolio-card .poster-mat-frame:hover {
  border-color: var(--color-teal);
  box-shadow: 0 10px 28px rgba(85, 134, 134, 0.2);
}

.project-portfolio-card .poster-uncropped {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  transition: transform var(--transition-normal);
  display: block;
}

.project-portfolio-card .poster-hover-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgb(4 20 36) 0%, rgba(4, 20, 36, 0.85) 50%, rgba(4, 20, 36, 0.98) 100%);
  padding: 24px 20px;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.project-portfolio-card .poster-mat-frame:hover .poster-hover-layer {
  opacity: 1;
}

.project-portfolio-card .poster-mat-frame:hover .poster-uncropped {
  transform: scale(1.03);
}

.portfolio-card-footer {
  width: 100%;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  align-items: center;
}

.portfolio-card-footer .tag-accent {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.portfolio-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark-navy);
  margin: 0;
  line-height: 1.3;
}

.portfolio-card-footer .btn-card-action {
  margin-top: 8px;
  width: auto;
  min-width: 200px;
  max-width: 260px;
}

.btn-card-action {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: var(--color-dark-navy);
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  width: 100%;
  justify-content: center;
  cursor: pointer;
}

.btn-card-action:hover {
  background: var(--color-teal);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(85, 134, 134, 0.25);
}

.btn-card-action.btn-secondary-action {
  background: #ffffff;
  color: var(--color-dark-navy);
  border-color: var(--color-border-light);
}

.btn-card-action.btn-secondary-action:hover {
  background: var(--color-surface, #f8fafc);
  border-color: var(--color-teal);
  color: var(--color-teal);
}

/* Quick-View Project Modal */
.project-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 20, 36, 0.78);
  backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.project-modal-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

.project-modal-window {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.45);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: grid;
  grid-template-columns: 320px 1fr;
}

.project-modal-backdrop.is-active .project-modal-window {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(8, 37, 64, 0.08);
  border: none;
  color: var(--color-dark-navy);
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--color-dark-navy);
  color: #ffffff;
}

.modal-poster-col {
  background: var(--color-dark-navy);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-poster-img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
}

.modal-content-col {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}

.modal-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-dark-navy);
  margin-bottom: 16px;
  line-height: 1.25;
}

.modal-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 16px 0 20px 0;
  background: #000000;
}

.modal-video-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.modal-detail-block {
  margin-bottom: 16px;
}

.modal-label {
  font-weight: 700;
  color: var(--color-dark-navy);
  margin-right: 6px;
  font-size: 0.95rem;
}

.modal-text {
  font-size: 0.92rem;
  color: var(--color-text-muted-dark);
  line-height: 1.65;
}

.modal-actions {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Case Study Details Template Styles */
.case-study-hero {
  /* Inherits base .page-hero-section layout cleanly without extra padding */
}

.case-study-hero .page-hero-container {
  padding-top: clamp(115px, 13vw, 145px);
  padding-bottom: clamp(48px, 6vw, 68px);
}


.case-study-showcase-section {
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border-light);
  padding: clamp(52px, 7vw, 84px) 0;
}

.case-study-grid-split {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.case-poster-column {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.case-poster-mat {
  background: linear-gradient(145deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  border-radius: var(--radius-md);
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 36px rgba(8, 37, 64, 0.18);
  border: 1px solid rgba(85, 134, 134, 0.3);
  width: auto;
  max-width: 100%;
}

.case-poster-img {
  width: auto;
  max-width: 100%;
  max-height: 500px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: block;
}

.case-quick-facts-box {
  background: #f8fafc;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.quick-facts-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark-navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border-light);
}

.quick-facts-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quick-facts-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.quick-facts-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.qf-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
}

.qf-val {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-dark-navy);
  text-align: left;
  line-height: 1.45;
  display: block;
}

.case-content-column {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.case-brief-card {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: 0 4px 18px rgba(8, 37, 64, 0.04);
}

.case-card-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.18rem, 1.8vw, 1.4rem);
  font-weight: 700;
  color: var(--color-dark-navy);
  line-height: 1.4;
  margin: 10px 0 16px 0;
}

.case-card-text {
  font-size: 1rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 14px;
}

.case-card-text:last-child {
  margin-bottom: 0;
}

.case-bullets-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.case-bullets-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
}

.case-bullets-list li .bullet-icon {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: rgba(85, 134, 134, 0.12);
  color: var(--color-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1.5px;
}

.case-bullets-list li .bullet-icon svg {
  width: 12px;
  height: 12px;
  display: block;
  margin-top: 0;
}

.case-bullets-list li>svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-teal);
  margin-top: 3.5px;
}

.case-bullets-list li>span:last-child {
  flex: 1;
}

.awards-badge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.award-item {
  background: #f8fafc;
  border-left: 3px solid var(--color-teal);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.award-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-dark-navy);
}

.award-event {
  font-size: 0.8rem;
  color: var(--color-text-muted-dark);
  font-family: var(--font-mono);
}

.case-quote-banner {
  background: var(--color-surface, #f8fafc);
  border-left: 4px solid var(--color-teal);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
}

.case-quote-banner p {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 600;
  color: var(--color-dark-navy);
  margin-bottom: 8px;
  line-height: 1.5;
}

.case-quote-banner cite {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-style: normal;
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section-case-video {
  background-color: var(--color-navy-dark);
  border-top: 1px solid var(--color-border-dark);
  border-bottom: 1px solid var(--color-border-dark);
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 92px) 0;
}

.section-case-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: transparent;
  background-image:
    radial-gradient(circle at 50% 30%, rgba(85, 134, 134, 0.22) 0%, rgba(8, 37, 64, 0) 65%),
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 80 0 L 0 0 0 80' fill='none' stroke='rgba(255, 255, 255, 0.065)' stroke-width='1'/%3E%3Cpath d='M 75 80 L 85 80 M 80 75 L 80 85' fill='none' stroke='rgba(122, 180, 180, 0.45)' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 100% 100%, 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 35%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 35%, transparent 90%);
  pointer-events: none;
  z-index: 0;
}

.section-case-video .container {
  position: relative;
  z-index: 1;
}

.case-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin: 0 auto;
  background: #000000;
}

.case-video-container iframe,
.case-video-container video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: cover;
}

.case-video-action-bar {
  text-align: center;
  margin-top: 22px;
}

.case-video-action-btn {
  border-radius: var(--radius-full);
  padding: 11px 26px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.case-video-action-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

.case-pagination-bar {
  background: #ffffff;
  border-top: 1px solid var(--color-border-light);
  padding: 36px 0;
}

.case-pagination-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.case-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--color-dark-navy);
  transition: color var(--transition-fast);
}

.case-nav-link:hover {
  color: var(--color-teal);
}

.case-nav-dir {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-text-muted-dark);
}

.case-nav-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

/* Responsive Media Queries for Projects & Case Studies */
@media (max-width: 1024px) {
  .projects-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .approach-layout-split {
    grid-template-columns: 1fr;
  }

  .case-study-grid-split {
    grid-template-columns: 1fr;
  }

  .case-poster-column {
    position: static;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .project-modal-window {
    grid-template-columns: 1fr;
  }

  .modal-poster-col {
    max-height: 240px;
  }

  .awards-badge-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .projects-portfolio-grid {
    grid-template-columns: 1fr;
  }

  .project-portfolio-card .poster-mat-frame {
    height: 400px;
  }
}

/* ==========================================================================
   SIMPLE WHITE-BACKGROUND BLOG ARCHIVE & DETAILS (MATCHING LIVE SITE)
   ========================================================================== */

.blog-white-section {
  background-color: #ffffff;
  padding: 80px 0 100px;
}

.blog-white-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.posts-container.has-blogs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 20px;
}

.indiv-post {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.indiv-post:hover {
  transform: translateY(-4px);
  border-color: #003f38;
  box-shadow: 0 14px 30px rgba(0, 63, 56, 0.12);
}

.indiv-post .img-container {
  display: block;
  overflow: hidden;
  height: 240px;
  margin: 0;
  position: relative;
  background: #edf2f7;
}

.indiv-post .img-container img {
  height: 240px;
  width: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.35s ease;
  display: block;
}

.indiv-post:hover .img-container img {
  transform: scale(1.04);
}

.indiv-post .post-info {
  position: relative;
  padding: 46px 24px 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.indiv-post .date {
  position: absolute;
  display: grid;
  grid-template-columns: 46px 1fr;
  background: #ffffff;
  padding: 8px 14px;
  margin: 0;
  top: -34px;
  left: 20px;
  height: 68px;
  box-sizing: border-box;
  align-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  z-index: 2;
}

.indiv-post .date .day {
  font-size: 34px;
  font-weight: 800;
  color: var(--color-dark-navy, #082540);
  line-height: 1;
  font-family: var(--font-heading);
}

.indiv-post .date .y-m-container {
  display: flex;
  flex-direction: column;
  padding-left: 8px;
  line-height: 1.15;
}

.indiv-post .date .year {
  font-size: 12px;
  color: #718096;
  font-weight: 600;
  font-family: var(--font-mono);
}

.indiv-post .date .month {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-teal, #1c7199);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.indiv-post h2.title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark-navy, #082540);
  line-height: 1.35;
  margin: 0 0 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.indiv-post:hover h2.title {
  color: #003f38;
}

.indiv-post .post-info p.desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: #4a5568;
  line-height: 1.6;
  margin: 0 0 24px;
  flex-grow: 1;
}

.indiv-post .button,
.indiv-post a.button,
.indiv-post span.button {
  align-self: flex-start;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 500px;
  background: var(--color-dark-navy, #082540);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all var(--transition-fast, 0.25s ease);
}

.indiv-post:hover .button,
.indiv-post .button:hover {
  background: var(--color-teal, #558686);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(85, 134, 134, 0.35);
}

/* Single Blog Post Article View (Wider Layout: 1060px) */
.single-post-section {
  background: #ffffff;
  padding: 60px 0 80px;
}

.single-post-container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-hero-byline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--color-teal-light, #7ab4b4);
  margin-top: 16px;
}

.page-hero-byline .byline-author {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.page-hero-byline .byline-sep {
  color: rgba(255, 255, 255, 0.35);
}

.page-hero-byline .byline-date {
  color: var(--color-text-muted-light, #cbd5e1);
}

.single-post-hero-wrap {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.single-post-hero-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.single-post-content {
  color: #2d3748;
  font-size: 1.15rem;
  line-height: 1.85;
}

.single-post-content p {
  margin-bottom: 24px;
}

.single-post-content a {
  color: var(--color-blue-accent, #1c7199);
  text-decoration: underline;
}

.single-post-content strong.section-lead {
  font-size: 1.25rem;
  color: var(--color-dark-navy, #082540);
  display: block;
  margin: 36px 0 16px;
}

.three-moves-card {
  background: #f8fafc;
  border-left: 4px solid var(--color-teal, #1c7199);
  padding: 22px 28px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
}

.three-moves-card p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.75;
}

.three-moves-card strong {
  color: var(--color-dark-navy, #082540);
}

/* Improved About the Author Box with Integrated CTA */
.about-author-improved {
  max-width: 1060px;
  margin: 56px auto 0;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--color-navy, #082540);
  border-radius: 16px;
  padding: 40px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 36px;
  align-items: start;
  box-shadow: 0 10px 30px rgba(8, 37, 64, 0.08);
}

.author-profile-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.author-avatar-wrap {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  padding: 0;
  background: var(--color-navy, #082540);
  border: 3px solid var(--color-navy, #082540);
  box-shadow: 0 10px 24px rgba(8, 37, 64, 0.24);
  overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.author-meta-header {
  margin-bottom: 14px;
}

.author-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-navy, #082540);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-dark-navy, #082540);
  margin: 0 0 4px;
  line-height: 1.2;
}

.author-title-sub {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  margin: 0;
}

.author-bio-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 24px;
}

.author-cta-box-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
}

.author-work-btn {
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 700;
}

.author-more-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-navy, #082540);
  text-decoration: none;
  transition: color 0.2s ease;
}

.author-more-link:hover {
  color: var(--color-teal, #558686);
}

@media (max-width: 1024px) {
  .posts-container.has-blogs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .posts-container.has-blogs {
    grid-template-columns: 1fr;
  }

  .about-author-improved {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 20px;
    gap: 20px;
  }

  .author-cta-box-row {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   16. DEDICATED CONTACT PAGE STYLES
   -------------------------------------------------------------------------- */
.contact-hero-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-hero-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
}

.contact-hero-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(85, 134, 134, 0.2);
  border: 1px solid rgba(85, 134, 134, 0.4);
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Form Select Dropdown Styling */
select.form-input,
.form-select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(8, 37, 64, 0.85);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  cursor: pointer;
}

select.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(85, 134, 134, 0.25);
}

select.form-input option,
.form-select option {
  background-color: #082540;
  color: #ffffff;
}

/* Direct Advisory Capabilities Callout */
.contact-capabilities-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 28px;
}

.contact-capabilities-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contact-capabilities-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-capability-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--color-text-muted-light);
}

.contact-capability-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-teal);
  flex-shrink: 0;
}

/* 3-Step Engagement Process */
.contact-process-section {
  background: #ffffff;
  padding: 80px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.contact-process-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.contact-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.contact-process-card {
  background: #f8fafc;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.contact-process-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-navy);
  box-shadow: 0 14px 32px rgba(8, 37, 64, 0.08);
}

.process-card-step {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-teal);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.process-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark-navy);
  margin-bottom: 12px;
}

.process-card-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted-dark);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 900px) {
  .contact-process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Light Background Contact Section */
.section-contact-light {
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border-light);
  padding: clamp(60px, 8vw, 96px) 0;
}

.section-contact-light .contact-info .section-tag {
  color: var(--color-teal);
}

.section-contact-light .contact-info h2.section-title-light,
.section-contact-light .contact-info h2.section-title-dark {
  color: var(--color-dark-navy, #082540);
}

.section-contact-light .contact-desc {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-contact-light .contact-detail-row span,
.section-contact-light .contact-detail-row a {
  color: var(--color-dark-navy, #082540);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.section-contact-light .contact-detail-row a:hover {
  color: var(--color-teal, #558686);
}

.section-contact-light .contact-detail-row .detail-icon {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  color: var(--color-dark-navy, #082540);
}

/* Full Width "LET'S CONNECT" Section */
.contact-header-full {
  max-width: 100%;
  margin: 0 0 52px 0;
}

.contact-header-full .section-tag {
  color: var(--color-teal);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.contact-header-full .section-title-dark {
  color: var(--color-dark-navy, #082540);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
}

.contact-header-full .contact-desc {
  color: #475569;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 28px;
  margin-left: auto;
  margin-right: auto;
  max-width: 860px;
}

.contact-details-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.contact-details-inline .contact-detail-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 10px 18px;
  border-radius: var(--radius-full, 9999px);
  transition: all var(--transition-fast);
  color: var(--color-dark-navy, #082540);
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-details-inline .contact-detail-row:hover {
  background: #ffffff;
  border-color: var(--color-teal);
  box-shadow: 0 4px 14px rgba(8, 37, 64, 0.08);
  transform: translateY(-2px);
}

.contact-details-inline .contact-detail-row a {
  color: var(--color-dark-navy, #082540);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-details-inline .contact-detail-row a:hover {
  color: var(--color-teal);
}

.contact-details-inline .detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
}

/* 2-Column Split Grid */
.contact-grid.contact-grid-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 960px) {
  .contact-grid.contact-grid-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.section-contact-light .contact-form-wrap {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 16px 40px rgba(8, 37, 64, 0.07);
}

.contact-form-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.contact-form-header .form-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-dark-navy, #082540);
  margin-bottom: 6px;
}

.contact-form-header .form-card-desc {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

.contact-calendly-wrap,
.section-contact-light .contact-calendly-wrap {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(8, 37, 64, 0.07);
  width: 100%;
}

.contact-calendly-wrap .calendly-inline-widget {
  width: 100%;
  border: none;
}

.section-contact-light .form-group label {
  color: var(--color-dark-navy, #082540);
  font-weight: 700;
}

.section-contact-light .form-input {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

.section-contact-light .form-input::placeholder {
  color: #94a3b8;
}

.section-contact-light .form-input:focus {
  background: #ffffff;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(85, 134, 134, 0.2);
}

/* Enhanced Form Feedback & Spinners */
.section-contact-light .form-feedback {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.55;
  transition: all var(--transition-fast);
}

.section-contact-light .form-feedback.success {
  display: block;
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #15803d;
}

.section-contact-light .form-feedback.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
}

.form-btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: roger-spin 0.6s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}

@keyframes roger-spin {
  to {
    transform: rotate(360deg);
  }
}

/* 3-Step Process Header & Text Styling */
.contact-process-section {
  background-color: #f8fafc;
  padding: 80px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.contact-process-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.contact-process-header .section-tag {
  color: var(--color-teal);
  margin-bottom: 10px;
  display: inline-block;
}

.contact-process-header h2.section-title-dark {
  color: var(--color-dark-navy, #082540);
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 14px;
}

.contact-process-header p,
.contact-process-header .section-desc-dark {
  color: #475569 !important;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto;
  font-weight: 400;
}

.contact-process-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 32px 26px;
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.contact-process-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-navy);
  box-shadow: 0 14px 32px rgba(8, 37, 64, 0.08);
}

/* Specific Proportionate Sizing for Case Study Hero Trust Bar */
.case-study-hero .trust-bar,
.page-hero-section:has(+ .case-study-showcase-section) .trust-bar {
  max-width: 1060px;
  margin: 36px auto 0;
}

.case-study-hero .trust-bar .trust-number,
.page-hero-section:has(+ .case-study-showcase-section) .trust-bar .trust-number {
  font-family: var(--font-heading);
  font-size: clamp(0.92rem, 1.15vw, 1.08rem) !important;
  font-weight: 700 !important;
  line-height: 1.3;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.case-study-hero .trust-bar .trust-label,
.page-hero-section:has(+ .case-study-showcase-section) .trust-bar .trust-label {
  font-size: 0.72rem !important;
  font-weight: 500;
  color: var(--color-text-muted-light);
  margin-top: 4px;
  letter-spacing: 0.5px;
}