/* ==========================================================================
   VIGNESWARA SOFTWARE SOLUTIONS - MASTER STYLESHEET
   Brand Harmony: Royal Blue (#0052CC) + Solar Amber/Gold (#FF9800 / #F59E0B)
   Visual System: "Digital Systems + Connected Technology + Precision Engineering"
   ========================================================================== */

:root {
  /* Brand Specific Color Palette (Derived from Official Logo) */
  --brand-blue-950: #050b18;
  --brand-blue-900: #0a1428;
  --brand-blue-850: #0e1d38;
  --brand-blue-800: #13274c;
  --brand-blue-700: #1b386e;
  --brand-blue-600: #0052cc;  /* Official Logo Primary Blue */
  --brand-blue-500: #0b63e5;  /* Vibrant Royal Blue */
  --brand-blue-400: #2684ff;  /* Electric Azure */
  --brand-blue-300: #60a5fa;
  --brand-blue-100: #dbeafe;
  --brand-blue-50:  #eff6ff;

  /* Brand Solar Orange / Gold Orbital Accent */
  --brand-gold-600: #ea580c;
  --brand-gold-500: #ff8a00;  /* Official Logo Orbital Gold/Orange */
  --brand-gold-400: #fb923c;
  --brand-gold-300: #fcd34d;
  --brand-gold-100: #fef3c7;
  --brand-gold-50:  #fffbeb;

  --color-emerald-500:#10b981;
  --color-cyan-500:   #06b6d4;

  /* Surfaces & Backgrounds */
  --bg-page-light: #f8fafc;
  --bg-card-light: #ffffff;
  --bg-card-subtle: #f1f5f9;
  --bg-page-dark: #060b18;
  --bg-card-dark: #0a1428;
  --bg-card-dark-hover: #101e3b;

  /* Typography Colors */
  --text-dark-primary: #0a1428;
  --text-dark-secondary: #334155;
  --text-dark-muted: #64748b;
  --text-light-primary: #f8fafc;
  --text-light-secondary: #cbd5e1;
  --text-light-muted: #94a3b8;

  /* Engineering Hairline Borders */
  --border-light: rgba(10, 20, 40, 0.08);
  --border-light-hover: rgba(0, 82, 204, 0.35);
  --border-dark: rgba(148, 163, 184, 0.14);
  --border-dark-hover: rgba(38, 132, 255, 0.45);
  --border-gold-accent: rgba(255, 138, 0, 0.35);

  /* Shadows & Glows */
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-card: 0 4px 12px rgba(10, 20, 40, 0.05), 0 1px 3px rgba(10, 20, 40, 0.03);
  --shadow-elevated: 0 16px 32px -4px rgba(10, 20, 40, 0.08), 0 4px 8px -2px rgba(10, 20, 40, 0.04);
  --shadow-glow-blue: 0 0 28px rgba(0, 82, 204, 0.28);
  --shadow-glow-gold: 0 0 24px rgba(255, 138, 0, 0.25);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font-sans);
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max-width: 1280px;
  --section-padding-y: 96px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* ==========================================================================
   Base Reset & Normalization
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark-primary);
  background-color: var(--bg-page-light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

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

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--brand-blue-500);
  outline-offset: 3px;
}

/* ==========================================================================
   Typography Hierarchy
   ========================================================================== */

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

.text-dark h1, .text-dark h2, .text-dark h3,
.dark-section h1, .dark-section h2, .dark-section h3,
.dark-section h4 {
  color: var(--text-light-primary);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-dark-secondary);
  max-width: 640px;
  line-height: 1.65;
}

.dark-section .section-subtitle {
  color: var(--text-light-secondary);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-blue-600);
  padding: 0.35rem 0.85rem;
  background-color: var(--brand-blue-50);
  border: 1px solid rgba(0, 82, 204, 0.18);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.dark-section .section-tag {
  color: var(--brand-blue-400);
  background-color: rgba(0, 82, 204, 0.15);
  border-color: rgba(38, 132, 255, 0.3);
}

.section-tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-gold-500);
  box-shadow: 0 0 8px var(--brand-gold-500);
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  position: relative;
}

.dark-section {
  background-color: var(--bg-page-dark);
  color: var(--text-light-primary);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

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

.section-header {
  margin-bottom: 3.5rem;
}

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

.section-header.center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Button System
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-blue-600) 0%, var(--brand-blue-500) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 82, 204, 0.35);
  border: 1px solid var(--brand-blue-400);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0043a8 0%, var(--brand-blue-600) 100%);
  box-shadow: 0 6px 20px rgba(0, 82, 204, 0.5);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--brand-gold-500) 0%, #f59e0b 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 138, 0, 0.35);
  border: 1px solid #fbbf24;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #e67a00 0%, var(--brand-gold-500) 100%);
  box-shadow: 0 6px 20px rgba(255, 138, 0, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-dark-primary);
  border: 1px solid rgba(10, 20, 40, 0.2);
}

.dark-section .btn-secondary,
.btn-secondary-dark {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background-color: rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
  border-color: var(--brand-blue-600);
  color: var(--brand-blue-600);
  background-color: rgba(0, 82, 204, 0.06);
  transform: translateY(-2px);
}

.dark-section .btn-secondary:hover,
.btn-secondary-dark:hover {
  border-color: var(--brand-blue-400);
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-icon {
  display: inline-flex;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(10, 20, 40, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  transition: height var(--transition-fast);
}

.site-header.scrolled .nav-container {
  height: 70px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform var(--transition-fast);
  filter: drop-shadow(0 2px 6px rgba(0, 82, 204, 0.2));
}

.site-header.scrolled .brand-logo-img {
  width: 42px;
  height: 42px;
}

.brand-logo-wrap:hover .brand-logo-img {
  transform: scale(1.05);
}

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

.brand-title-main {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-blue-900);
  line-height: 1.1;
  display: flex;
  align-items: center;
}

.brand-title-main .styled-a {
  position: relative;
  display: inline-block;
}

.brand-title-main .styled-a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 2.5px solid transparent;
  border-right: 2.5px solid transparent;
  border-bottom: 3.5px solid var(--brand-gold-500);
}

.brand-tag-line {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brand-blue-600);
  text-transform: uppercase;
  margin-top: 2px;
}

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

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-dark-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-blue-600);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue-600), var(--brand-gold-500));
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
  z-index: 1001;
}

.hamburger-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--brand-blue-900);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--bg-card-light);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 999;
  padding: 6rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-smooth);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark-primary);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.75rem;
}

.mobile-nav-link:hover {
  color: var(--brand-blue-600);
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(6, 11, 24, 0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Hero Section & System Visualization
   ========================================================================== */

.hero-section {
  padding-top: 155px;
  padding-bottom: 85px;
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(0, 82, 204, 0.08) 0%, transparent 55%),
              radial-gradient(circle at 10% 80%, rgba(255, 138, 0, 0.05) 0%, transparent 45%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

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

.hero-headline {
  margin-bottom: 1.5rem;
  color: var(--brand-blue-950);
}

.hero-headline span.accent {
  background: linear-gradient(135deg, var(--brand-blue-600) 0%, var(--brand-blue-400) 50%, var(--brand-gold-500) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-dark-secondary);
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-dark-secondary);
}

.trust-item-icon {
  width: 16px;
  height: 16px;
  color: var(--brand-blue-600);
  flex-shrink: 0;
}

/* Visualization Architecture Canvas */
.hero-visual-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.architecture-canvas-card {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #0a1428 0%, #050b18 100%);
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 20px 45px rgba(6, 11, 24, 0.35), inset 0 0 60px rgba(0, 82, 204, 0.12);
  overflow: hidden;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.canvas-telemetry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-light-muted);
}

.telemetry-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-emerald-500);
}

.telemetry-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-emerald-500);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

.canvas-interactive-area {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
}

#systemArchitectureCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.canvas-telemetry-footer {
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-light-muted);
}

.telemetry-tag {
  color: var(--brand-gold-400);
}

/* ==========================================================================
   Trust & Value Strip
   ========================================================================== */

.value-strip-section {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 2.25rem 0;
}

.strip-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.strip-headline {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dark-muted);
}

.strip-pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 0.5rem;
}

.strip-pipeline::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, 
    rgba(0, 82, 204, 0.1) 0%, 
    rgba(0, 82, 204, 0.5) 40%, 
    rgba(255, 138, 0, 0.5) 70%, 
    rgba(255, 138, 0, 0.1) 100%);
  z-index: 1;
}

.pipeline-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.pipeline-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 2px solid var(--border-light);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
  color: var(--brand-blue-900);
  transition: all var(--transition-fast);
}

.pipeline-step:hover .pipeline-icon-box {
  border-color: var(--brand-blue-600);
  color: var(--brand-blue-600);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 82, 204, 0.25);
}

.pipeline-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark-primary);
  margin-bottom: 0.15rem;
}

.pipeline-sub {
  font-size: 0.725rem;
  color: var(--text-dark-muted);
}

/* ==========================================================================
   About Section - Asymmetric Layout
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual-card {
  background: linear-gradient(135deg, var(--brand-blue-900) 0%, var(--brand-blue-950) 100%);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.about-visual-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue-500), var(--brand-gold-500));
}

.about-monogram-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.about-brand-large-logo {
  width: 170px;
  height: 170px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 82, 204, 0.4));
  animation: logo-float 4s ease-in-out infinite;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.about-stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-blue-400);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-light-muted);
  margin-top: 0.25rem;
}

.about-content-area {
  display: flex;
  flex-direction: column;
}

.about-narrative {
  font-size: 1.125rem;
  color: var(--text-dark-secondary);
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.principles-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.principle-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.principle-item:hover {
  border-color: var(--brand-blue-600);
  box-shadow: var(--shadow-card);
  transform: translateX(6px);
}

.principle-number {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-blue-600);
  background-color: var(--brand-blue-50);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  border: 1px solid rgba(0, 82, 204, 0.15);
}

.principle-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-dark-primary);
}

.principle-text p {
  font-size: 0.9rem;
  color: var(--text-dark-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Services Section - 6 Visually Distinct Modules
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue-600), var(--brand-gold-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.service-card:hover {
  border-color: rgba(0, 82, 204, 0.4);
  box-shadow: var(--shadow-elevated);
  transform: translateY(-4px);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-dark-muted);
}

.service-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--brand-blue-50);
  color: var(--brand-blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-wrapper {
  background: linear-gradient(135deg, var(--brand-blue-600), var(--brand-blue-500));
  color: #ffffff;
  transform: rotate(4deg);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark-primary);
}

.service-desc {
  font-size: 0.925rem;
  color: var(--text-dark-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  padding: 0.25rem 0.6rem;
  background-color: var(--bg-card-subtle);
  color: var(--text-dark-secondary);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(10, 20, 40, 0.06);
}

.tech-tag-icon {
  width: 13px;
  height: 13px;
  object-fit: contain;
  flex-shrink: 0;
}

.service-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-blue-600);
  padding: 0;
  margin-top: auto;
  transition: gap var(--transition-fast);
}

.service-explore-btn:hover {
  gap: 0.75rem;
  color: var(--brand-gold-600);
}

/* ==========================================================================
   Solutions Section - Interactive Switcher
   ========================================================================== */

.solutions-wrapper {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  background-color: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  overflow: hidden;
}

.solutions-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.solution-tab-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background-color: transparent;
  color: var(--text-light-secondary);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  transition: all var(--transition-fast);
}

.solution-tab-btn:hover {
  background-color: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.solution-tab-btn.active {
  background-color: rgba(0, 82, 204, 0.2);
  border-color: rgba(38, 132, 255, 0.4);
  color: #ffffff;
}

.solution-tab-btn .tab-arrow {
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--transition-fast);
}

.solution-tab-btn.active .tab-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--brand-gold-400);
}

.solution-display-card {
  background-color: #050b18;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.solution-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-gold-400);
  background-color: rgba(255, 138, 0, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 138, 0, 0.25);
}

.solution-active-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.solution-active-desc {
  font-size: 1rem;
  color: var(--text-light-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.solution-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.25rem;
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sol-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-light-primary);
}

.sol-feature-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-gold-500);
  flex-shrink: 0;
}

/* ==========================================================================
   Featured Projects - Case Study Showcase
   ========================================================================== */

.projects-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.project-filter-btn {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  color: var(--text-dark-secondary);
  transition: all var(--transition-fast);
}

.project-filter-btn:hover,
.project-filter-btn.active {
  background: linear-gradient(135deg, var(--brand-blue-900) 0%, var(--brand-blue-950) 100%);
  color: #ffffff;
  border-color: var(--brand-blue-900);
}

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

.project-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.project-card:hover {
  box-shadow: var(--shadow-elevated);
  border-color: rgba(0, 82, 204, 0.35);
  transform: translateY(-4px);
}

.project-preview-window {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #050b18 0%, #13274c 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.project-code-wireframe {
  width: 90%;
  height: 80%;
  background: rgba(10, 20, 40, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brand-blue-400);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-normal);
}

.project-card:hover .project-code-wireframe {
  transform: scale(1.03);
}

.project-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-badge-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.type-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.type-pill.project {
  background-color: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.type-pill.prototype {
  background-color: rgba(255, 138, 0, 0.12);
  color: #ea580c;
  border: 1px solid rgba(255, 138, 0, 0.3);
}

.project-domain {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dark-muted);
}

.project-name {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-dark-primary);
  margin-bottom: 0.75rem;
}

.project-brief {
  font-size: 0.925rem;
  color: var(--text-dark-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.project-breakdown-mini {
  background-color: var(--bg-page-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
}

.breakdown-row {
  display: flex;
  font-size: 0.825rem;
  margin-bottom: 0.4rem;
}

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

.breakdown-label {
  font-weight: 600;
  color: var(--text-dark-primary);
  width: 90px;
  flex-shrink: 0;
}

.breakdown-val {
  color: var(--text-dark-secondary);
}

.project-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.project-tech-summary {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dark-muted);
}

/* ==========================================================================
   Technology Section - Technical Ecosystem with Official Tech Logos
   ========================================================================== */

.tech-ecosystem-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.tech-categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.tech-category-column {
  background-color: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition-fast);
}

.tech-category-column:hover {
  border-color: rgba(38, 132, 255, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.tech-cat-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-cat-icon {
  color: var(--brand-gold-400);
}

.tech-cat-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.tech-nodes-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.tech-node-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  color: var(--text-light-primary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  transition: all var(--transition-fast);
}

.tech-node-item:hover {
  background-color: rgba(0, 82, 204, 0.2);
  border-color: var(--brand-blue-400);
  transform: translateX(3px);
}

.tech-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.tech-node-label {
  flex: 1;
}

.node-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-gold-500);
}

/* ==========================================================================
   Development Process - 6 Step Interactive Timeline
   ========================================================================== */

.process-timeline-container {
  position: relative;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  position: relative;
}

.process-step-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.process-step-card:hover {
  border-color: var(--brand-blue-600);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.step-num-badge {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-blue-600);
  margin-bottom: 0.75rem;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark-primary);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-dark-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Why Choose Us - Editorial Layout
   ========================================================================== */

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

.why-principle-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.why-principle-card:hover {
  box-shadow: var(--shadow-card);
  border-color: rgba(0, 82, 204, 0.35);
  transform: translateY(-3px);
}

.why-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--brand-blue-50);
  color: var(--brand-blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.why-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark-primary);
  margin-bottom: 0.5rem;
}

.why-desc {
  font-size: 0.9rem;
  color: var(--text-dark-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Dark CTA Section
   ========================================================================== */

.cta-section {
  background: radial-gradient(circle at 50% 50%, #0a1428 0%, #050b18 100%);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-headline {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.cta-lead {
  font-size: 1.15rem;
  color: var(--text-light-secondary);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

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

/* ==========================================================================
   Contact Section & Validated Form
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-direct-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.direct-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.direct-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background-color: var(--brand-blue-50);
  color: var(--brand-blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.direct-details {
  display: flex;
  flex-direction: column;
}

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

.direct-val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark-primary);
  transition: color var(--transition-fast);
}

.direct-val:hover {
  color: var(--brand-blue-600);
}

.social-links-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  color: var(--text-dark-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background-color: var(--brand-blue-900);
  color: #ffffff;
  border-color: var(--brand-blue-900);
  transform: translateY(-2px);
}

.contact-form-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-elevated);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark-primary);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-page-light);
  font-size: 0.9375rem;
  color: var(--text-dark-primary);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--brand-blue-600);
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.15);
}

.form-control.error {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.form-error-msg {
  font-size: 0.75rem;
  color: #ef4444;
  display: none;
}

.form-control.error + .form-error-msg {
  display: block;
}

.form-submit-row {
  margin-top: 1.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: var(--brand-blue-950);
  color: var(--text-light-secondary);
  border-top: 1px solid var(--border-dark);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-light-muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-light-muted);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--brand-blue-400);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: var(--text-light-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

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

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

/* ==========================================================================
   Modals & Toast Notifications
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(6, 11, 24, 0.78);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.modal-box {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.98);
  transition: all var(--transition-normal);
}

.modal-backdrop.active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-card-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark-secondary);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: #fee2e2;
  color: #ef4444;
}

.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast-msg {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  background-color: var(--brand-blue-900);
  color: #ffffff;
  font-size: 0.9rem;
  box-shadow: var(--shadow-elevated);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-left: 4px solid var(--brand-gold-500);
  animation: slide-toast 0.3s ease-out;
}

@keyframes slide-toast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Refined product UI */
:root {
  --brand-blue-950: #11191b;
  --brand-blue-900: #182326;
  --brand-blue-850: #202f32;
  --brand-blue-800: #2b3c3f;
  --brand-blue-700: #3b5357;
  --brand-blue-600: #075b78;
  --brand-blue-500: #087da0;
  --brand-blue-400: #25a2bd;
  --brand-gold-600: #bd5637;
  --brand-gold-500: #df754e;
  --brand-gold-400: #f0926d;
  --bg-page-light: #f7f8f5;
  --bg-card-subtle: #eff2ee;
  --bg-page-dark: #11191b;
  --bg-card-dark: #182326;
  --bg-card-dark-hover: #202f32;
  --text-dark-primary: #182326;
  --text-dark-secondary: #455458;
  --text-dark-muted: #748184;
  --border-light: rgba(24, 35, 38, 0.1);
  --border-light-hover: rgba(7, 91, 120, 0.32);
  --shadow-card: 0 8px 24px rgba(24, 35, 38, 0.06), 0 1px 3px rgba(24, 35, 38, 0.04);
  --shadow-elevated: 0 22px 48px -18px rgba(24, 35, 38, 0.22), 0 4px 12px rgba(24, 35, 38, 0.06);
  --font-sans: 'DM Sans', sans-serif;
  --font-heading: 'Manrope', 'DM Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

body {
  background-color: var(--bg-page-light);
  background-image: radial-gradient(rgba(24, 35, 38, 0.07) 0.65px, transparent 0.65px);
  background-size: 22px 22px;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: 0;
}

.site-header {
  background-color: rgba(247, 248, 245, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
  border-bottom-color: rgba(24, 35, 38, 0.06);
}

.site-header.scrolled {
  background-color: rgba(250, 251, 249, 0.9);
  box-shadow: 0 8px 28px rgba(24, 35, 38, 0.08);
}

.nav-link {
  font-size: 0.875rem;
}

.nav-link::after {
  height: 2px;
  border-radius: 2px;
}

.hero-section {
  background-color: #f7f8f5;
  background-image:
    radial-gradient(ellipse at 82% 26%, rgba(37, 162, 189, 0.11), transparent 34%),
    radial-gradient(ellipse at 12% 88%, rgba(240, 146, 109, 0.1), transparent 30%),
    linear-gradient(rgba(24, 35, 38, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 35, 38, 0.025) 1px, transparent 1px);
  background-size: auto, auto, 52px 52px, 52px 52px;
}

.hero-content {
  animation: hero-enter 850ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-visual-wrapper {
  animation: visual-enter 950ms 120ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.08;
}

.hero-headline span.accent {
  background-image: linear-gradient(105deg, var(--brand-blue-600) 6%, var(--brand-blue-400) 72%, var(--brand-gold-500) 100%);
}

.section-tag {
  border-radius: 999px;
  background-color: rgba(7, 91, 120, 0.06);
  border-color: rgba(7, 91, 120, 0.14);
}

.btn {
  min-height: 46px;
  border-radius: 999px;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, #086a87, #07536e);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 5px 14px rgba(7, 91, 120, 0.22), inset 0 1px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #087da0, #075b78);
  box-shadow: 0 9px 22px rgba(7, 91, 120, 0.27), inset 0 1px rgba(255, 255, 255, 0.24);
  transform: translateY(-2px) scale(1.015);
}

.btn:active,
.project-filter-btn:active,
.solution-tab-btn:active {
  transform: scale(0.97);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.58);
  border-color: rgba(24, 35, 38, 0.16);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.architecture-canvas-card {
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(17, 25, 27, 0.28), inset 0 0 60px rgba(37, 162, 189, 0.11);
  animation: card-breathe 7s ease-in-out 1.2s infinite;
}

.value-strip-section {
  background: rgba(255, 255, 255, 0.84);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.pipeline-icon-box,
.service-icon-wrapper,
.why-icon-box,
.direct-icon {
  border-radius: 14px;
}

.about-visual-card,
.solutions-wrapper,
.solution-display-card,
.tech-category-column,
.cta-section,
.site-footer {
  background-color: #172124;
  background-image: radial-gradient(ellipse at 85% 0%, rgba(37, 162, 189, 0.13), transparent 38%);
}

.service-card,
.principle-item,
.why-principle-card,
.process-step-card,
.contact-form-card,
.project-card {
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(24, 35, 38, 0.025);
}

.service-card:hover,
.project-card:hover,
.why-principle-card:hover,
.process-step-card:hover {
  border-color: rgba(7, 91, 120, 0.24);
  box-shadow: var(--shadow-elevated);
}

.service-icon-wrapper,
.why-icon-box,
.principle-number {
  background-color: rgba(7, 91, 120, 0.08);
}

.service-card:hover .service-icon-wrapper {
  background: linear-gradient(145deg, var(--brand-blue-600), var(--brand-blue-500));
}

.project-filter-btn {
  border-radius: 999px;
  padding: 0.58rem 1.15rem;
}

.project-filter-btn:hover,
.project-filter-btn.active {
  background: #182326;
  border-color: #182326;
}

.form-control {
  min-height: 48px;
  border-radius: 12px;
  background-color: #f8f9f7;
}

.form-control:focus {
  border-color: var(--brand-blue-500);
  box-shadow: 0 0 0 4px rgba(8, 125, 160, 0.12);
}

.mobile-nav-drawer {
  width: min(88%, 420px);
  padding-top: max(6rem, calc(env(safe-area-inset-top) + 5rem));
  padding-bottom: max(2rem, calc(env(safe-area-inset-bottom) + 1rem));
  border-radius: 26px 0 0 26px;
  background-color: rgba(249, 250, 248, 0.96);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.mobile-nav-link {
  border-bottom-color: rgba(24, 35, 38, 0.08);
  transition: color 180ms ease, padding-left 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-nav-link:hover {
  padding-left: 0.35rem;
}

.modal-box {
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.99);
  transition: opacity 650ms cubic-bezier(0.2, 0.75, 0.25, 1) var(--reveal-delay, 0ms),
              transform 750ms cubic-bezier(0.2, 0.75, 0.25, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  will-change: auto;
}

@keyframes hero-enter {
  from { opacity: 0; transform: translate3d(0, 20px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes visual-enter {
  from { opacity: 0; transform: translate3d(18px, 10px, 0) scale(0.98); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes card-breathe {
  0%, 100% { box-shadow: 0 28px 70px rgba(17, 25, 27, 0.28), inset 0 0 60px rgba(37, 162, 189, 0.11); }
  50% { box-shadow: 0 32px 78px rgba(17, 25, 27, 0.32), inset 0 0 72px rgba(37, 162, 189, 0.16); }
}

@media (max-width: 767px) {
  .hero-section {
    background-size: auto, auto, 36px 36px, 36px 36px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .architecture-canvas-card {
    border-radius: 22px;
    animation: none;
  }

  .mobile-nav-links {
    gap: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* Enterprise landing page system */
:root {
  --brand-blue-950: #10233c;
  --brand-blue-900: #143253;
  --brand-blue-850: #19446d;
  --brand-blue-800: #215883;
  --brand-blue-700: #0c66a9;
  --brand-blue-600: #0067b9;
  --brand-blue-500: #1683c4;
  --brand-blue-400: #50a7d8;
  --brand-blue-300: #95c8e5;
  --brand-gold-600: #cf6a38;
  --brand-gold-500: #ed9257;
  --brand-gold-400: #f3ad7f;
  --bg-page-light: #ffffff;
  --bg-card-light: #ffffff;
  --bg-card-subtle: #f1f6f9;
  --bg-page-dark: #0f2237;
  --bg-card-dark: #142a42;
  --bg-card-dark-hover: #1b3857;
  --text-dark-primary: #12263a;
  --text-dark-secondary: #4e6070;
  --text-dark-muted: #718292;
  --text-light-primary: #f7fbff;
  --text-light-secondary: #c4d2df;
  --text-light-muted: #96aabd;
  --border-light: rgba(18, 38, 58, 0.1);
  --border-light-hover: rgba(0, 103, 185, 0.28);
  --shadow-subtle: 0 1px 3px rgba(16, 35, 60, 0.04);
  --shadow-card: 0 8px 28px rgba(16, 35, 60, 0.06);
  --shadow-elevated: 0 20px 48px -18px rgba(16, 35, 60, 0.2), 0 6px 18px rgba(16, 35, 60, 0.06);
  --font-sans: 'DM Sans', sans-serif;
  --font-heading: 'Manrope', 'DM Sans', sans-serif;
}

html {
  scroll-padding-top: 88px;
}

body {
  color: var(--text-dark-primary);
  background: #ffffff;
}

.container {
  max-width: 1320px;
}

.site-header,
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(18, 38, 58, 0.08);
  box-shadow: 0 4px 24px rgba(16, 35, 60, 0.045);
}

.nav-container {
  height: 78px;
}

.site-header.scrolled .nav-container {
  height: 70px;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  filter: none;
}

.brand-title-main {
  font-size: 1.02rem;
  letter-spacing: 0.045em;
}

.brand-tag-line {
  font-size: 0.59rem;
  letter-spacing: 0.15em;
}

.nav-menu {
  gap: 1.45rem;
}

.nav-link {
  color: #405366;
  font-size: 0.85rem;
  font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-blue-700);
}

.hero-section {
  min-height: 720px;
  padding-top: 132px;
  padding-bottom: 54px;
  background-color: #f8fbfd;
  background-image:
    radial-gradient(ellipse at 81% 37%, rgba(80, 167, 216, 0.16), transparent 34%),
    linear-gradient(118deg, #f8fbfd 0%, #f3f8fb 54%, #edf6fa 100%);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.38;
  background-image: linear-gradient(rgba(16, 35, 60, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 35, 60, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, #000 48%, #000);
}

.hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 3.75rem;
}

.hero-title {
  max-width: 690px;
  font-size: 3.85rem;
  line-height: 1.08;
  font-weight: 700;
}

.hero-headline {
  margin-bottom: 1.25rem;
  color: #102c49;
}

.hero-headline span.accent {
  background: none;
  color: var(--brand-blue-700);
  -webkit-text-fill-color: currentColor;
}

.hero-content > .section-tag {
  color: var(--brand-blue-700);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(0, 103, 185, 0.16);
  letter-spacing: 0.08em;
}

.hero-lead {
  max-width: 530px;
  margin-bottom: 1.75rem;
  color: #506579;
  font-size: 1.1rem;
  line-height: 1.72;
}

.hero-cta-group {
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.btn {
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 7px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
}

.btn-primary {
  background: var(--brand-blue-700);
  border: 1px solid var(--brand-blue-700);
  box-shadow: 0 5px 14px rgba(0, 103, 185, 0.18);
}

.btn-primary:hover {
  background: #07558f;
  box-shadow: 0 8px 20px rgba(0, 103, 185, 0.22);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(18, 38, 58, 0.15);
  color: #18344f;
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: var(--brand-blue-600);
  color: var(--brand-blue-700);
}

.hero-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 650px;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(18, 38, 58, 0.12);
}

.hero-proof-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #43596b;
  font-size: 0.77rem;
  font-weight: 600;
  line-height: 1.35;
}

.hero-proof-mark,
.value-strip-index {
  color: var(--brand-blue-600);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  flex: 0 0 auto;
}

.hero-visual-wrapper {
  max-width: 590px;
  aspect-ratio: 1.08 / 1;
}

.architecture-canvas-card {
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 14px;
  background: linear-gradient(145deg, #153757 0%, #102640 55%, #0c1d31 100%);
  box-shadow: 0 32px 76px rgba(13, 39, 65, 0.2), 0 8px 22px rgba(13, 39, 65, 0.1);
  animation: none;
}

.canvas-telemetry-header,
.canvas-telemetry-footer {
  font-size: 0.66rem;
  letter-spacing: 0.04em;
}

.value-strip-section {
  position: relative;
  z-index: 2;
  padding: 1.55rem 0;
  border-top: 1px solid rgba(18, 38, 58, 0.06);
  border-bottom: 1px solid rgba(18, 38, 58, 0.08);
  background: #ffffff;
}

.value-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.2rem;
}

.value-strip-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.45rem 0;
}

.value-strip-index {
  padding-top: 0.15rem;
  font-size: 0.73rem;
}

.value-strip-item h2 {
  margin-bottom: 0.25rem;
  color: #173651;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.value-strip-item p {
  max-width: 330px;
  color: #6a7b89;
  font-size: 0.8rem;
  line-height: 1.5;
}

.section-padding {
  padding-top: 92px;
  padding-bottom: 92px;
}

.light-section {
  background-color: #ffffff !important;
}

#services,
#why-us {
  background-color: #f3f7fa !important;
}

.section-header {
  margin-bottom: 2.75rem;
}

.section-tag {
  color: var(--brand-blue-700);
  background: rgba(0, 103, 185, 0.055);
  border: 1px solid rgba(0, 103, 185, 0.13);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.section-tag::before {
  width: 5px;
  height: 5px;
  background: var(--brand-gold-500);
  box-shadow: none;
}

.section-title {
  color: #132e49;
  font-size: 2.5rem;
  line-height: 1.16;
  font-weight: 700;
}

.section-subtitle {
  color: #5c6f80;
  font-size: 1.03rem;
}

.about-grid {
  gap: 4.5rem;
}

.about-visual-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: linear-gradient(150deg, #153b5f, #10253d 78%);
  box-shadow: 0 20px 44px rgba(16, 35, 60, 0.14);
}

.about-visual-card::before {
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue-400), var(--brand-gold-500));
}

.about-brand-large-logo {
  animation: none;
}

.principle-item,
.service-card,
.project-card,
.why-principle-card,
.process-step-card,
.tech-category-column,
.contact-form-card {
  border-radius: 10px;
  box-shadow: 0 3px 14px rgba(16, 35, 60, 0.04);
}

.principle-item {
  background: #ffffff;
  border-color: rgba(18, 38, 58, 0.09);
}

.principle-item:hover {
  border-color: rgba(0, 103, 185, 0.24);
  box-shadow: var(--shadow-card);
  transform: translateX(3px);
}

.principle-number,
.service-icon-wrapper,
.why-icon-box,
.direct-icon {
  border-radius: 9px;
  color: var(--brand-blue-700);
  background: #e9f3f9;
}

.service-card {
  border-color: rgba(18, 38, 58, 0.09);
  background: #ffffff;
  padding: 1.8rem;
}

.service-card::after {
  height: 2px;
  background: var(--brand-blue-600);
}

.service-card:hover,
.project-card:hover,
.why-principle-card:hover,
.process-step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 103, 185, 0.2);
  box-shadow: var(--shadow-elevated);
}

.service-card:hover .service-icon-wrapper {
  background: var(--brand-blue-700);
  color: #ffffff;
  transform: translateY(-2px);
}

.service-title,
.project-name,
.why-title,
.step-title {
  color: #17344f;
}

.service-desc,
.project-brief,
.why-desc {
  color: #5b6d7d;
}

.tech-tag {
  background: #f3f7fa;
  border-color: rgba(18, 38, 58, 0.07);
  color: #506477;
}

.solutions-wrapper {
  background: #ffffff;
  border: 1px solid rgba(18, 38, 58, 0.1);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 12px 36px rgba(16, 35, 60, 0.07);
}

#solutions {
  color: var(--text-dark-primary);
  background: #f2f7fa;
  border: 0;
}

#solutions h1,
#solutions h2,
#solutions h3,
#solutions h4 {
  color: #17344f;
}

#solutions .section-subtitle {
  color: #5b6d7d;
}

#solutions .section-tag {
  color: var(--brand-blue-700);
  background: rgba(0, 103, 185, 0.055);
  border-color: rgba(0, 103, 185, 0.13);
}

.solution-tab-btn {
  border-radius: 7px;
  color: #455b6f;
}

.solution-tab-btn:hover {
  background: #f2f7fa;
  color: #17344f;
}

.solution-tab-btn.active {
  background: #eaf4fa;
  border-color: rgba(0, 103, 185, 0.2);
  color: var(--brand-blue-700);
}

.solution-tab-btn.active .tab-arrow {
  color: var(--brand-blue-700);
}

.solution-display-card {
  border-radius: 9px;
  background: linear-gradient(145deg, #163653, #10263e);
}

.solution-active-title {
  color: #ffffff !important;
}

.projects-filters {
  gap: 0.55rem;
}

.project-filter-btn {
  border-radius: 7px;
  padding: 0.56rem 1rem;
  background: #ffffff;
}

.project-filter-btn:hover,
.project-filter-btn.active {
  background: var(--brand-blue-700);
  border-color: var(--brand-blue-700);
}

.project-card {
  border-color: rgba(18, 38, 58, 0.09);
}

.project-preview-window {
  background: linear-gradient(140deg, #dcebf4, #ecf4f8);
}

.project-code-wireframe {
  background: #122b44;
  border-radius: 8px;
}

.tech-category-column {
  border-radius: 9px;
  background: #152e48;
}

.tech-node-item {
  border-radius: 6px;
}

.tech-node-item:hover {
  background: rgba(22, 131, 196, 0.18);
  border-color: rgba(80, 167, 216, 0.48);
}

.process-step-card,
.why-principle-card {
  border-color: rgba(18, 38, 58, 0.09);
  background: #ffffff;
}

.cta-section {
  background: linear-gradient(118deg, #10283f, #0e2034 68%, #173c5b);
}

.cta-section .section-tag {
  color: #dcecf5 !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.btn-gold {
  background: #e98d53;
  border-color: #e98d53;
  box-shadow: 0 5px 16px rgba(233, 141, 83, 0.2);
}

.btn-gold:hover {
  background: #d97a41;
  border-color: #d97a41;
}

.contact-form-card {
  border-color: rgba(18, 38, 58, 0.09);
  box-shadow: 0 12px 36px rgba(16, 35, 60, 0.07);
}

.form-control {
  border-radius: 7px;
  border-color: rgba(18, 38, 58, 0.14);
  background: #fbfcfd;
}

.form-control:focus {
  border-color: var(--brand-blue-600);
  box-shadow: 0 0 0 3px rgba(0, 103, 185, 0.12);
}

.site-footer {
  background: #0e2034;
}

.mobile-nav-drawer {
  right: 0;
  transform: translateX(105%);
  transition: transform var(--transition-smooth);
  border-radius: 12px 0 0 12px;
}

.mobile-nav-drawer.open {
  right: 0;
  transform: translateX(0);
}

.mobile-nav-link {
  font-size: 1.08rem;
}

@media (max-width: 991px) {
  .hero-section {
    min-height: auto;
    padding-top: 126px;
    padding-bottom: 54px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }

  .hero-content {
    max-width: 720px;
  }

  .hero-visual-wrapper {
    width: min(100%, 540px);
  }
}

@media (max-width: 767px) {
  .nav-container,
  .site-header.scrolled .nav-container {
    height: 68px;
  }

  .hero-section {
    padding-top: 96px;
    padding-bottom: 24px;
  }

  .hero-section .hero-content .hero-title {
    max-width: 560px;
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
  }

  .hero-content > .section-tag {
    margin-bottom: 0.75rem;
  }

  .hero-lead {
    margin-bottom: 1rem;
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .hero-section .hero-cta-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 0.55rem;
    margin-bottom: 1rem;
  }

  .hero-section .hero-cta-group .btn {
    width: 100%;
    min-height: 44px;
    padding: 0.6rem 0.4rem;
    font-size: 0.78rem;
  }

  .hero-proof-row {
    display: none;
  }

  .hero-grid {
    gap: 1rem;
  }

  .hero-proof-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .hero-visual-wrapper {
    max-width: 430px;
    aspect-ratio: 1.55 / 1;
  }

  .architecture-canvas-card {
    padding: 0.85rem;
    border-radius: 12px;
  }

  .value-strip-section {
    padding: 1rem 0;
  }

  .value-strip-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .value-strip-item {
    padding: 0.45rem 0;
  }

  .section-padding {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .section-title {
    font-size: 2rem;
  }

  .solutions-wrapper {
    padding: 1rem;
  }

  .solution-display-card {
    padding: 1.35rem;
  }

  .cta-headline {
    font-size: 2.2rem;
  }
}

@media (max-width: 379px) {
  .hero-section {
    padding-top: 84px;
    padding-bottom: 18px;
  }

  .hero-grid {
    gap: 0.75rem;
  }

  .hero-section .hero-content .hero-title {
    font-size: 1.9rem;
  }

  .hero-lead {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .hero-section .hero-cta-group {
    margin-bottom: 0.75rem;
  }

  .hero-visual-wrapper {
    aspect-ratio: 1.85 / 1;
  }
}

/* Immersive project-led hero */
.site-header,
.site-header.scrolled {
  top: 16px;
  left: 2.4%;
  width: 95.2%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.84);
  box-shadow: 0 8px 28px rgba(5, 18, 34, 0.12);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
}

.nav-container,
.site-header.scrolled .nav-container {
  height: 64px;
}

.hero-section {
  min-height: 850px;
  padding: 132px 0 38px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: #10243a;
}

.hero-backdrop,
.hero-backdrop-shade {
  position: absolute;
  inset: 0;
}

.hero-backdrop {
  z-index: -2;
  overflow: hidden;
  background: #10243a;
}

.hero-background-image {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 44%;
  animation: hero-image-arrive 1.2s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero-backdrop-shade {
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 19, 34, 0.58) 0%, rgba(8, 27, 46, 0.72) 45%, rgba(8, 27, 46, 0.84) 100%), linear-gradient(90deg, rgba(8, 27, 46, 0.26), rgba(8, 27, 46, 0.04) 52%, rgba(8, 27, 46, 0.2));
}

.hero-immersive-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: auto;
  text-align: center;
}

.hero-message {
  max-width: 960px;
  margin: 0 auto;
  animation: hero-content-arrive 750ms 80ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker > span,
.hero-prompt-status > span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f2a56e;
  box-shadow: 0 0 14px rgba(242, 165, 110, 0.66);
}

.hero-headline {
  max-width: none;
  margin: 0 auto;
  color: #ffffff;
  font-size: 4.5rem;
  font-weight: 600;
  line-height: 1.02;
}

.hero-headline span.accent {
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.hero-lead {
  max-width: 680px;
  margin: 1.15rem auto 0;
  color: rgba(248, 251, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-prompt-panel {
  width: min(100%, 1040px);
  margin: 2rem auto 1.5rem;
  padding: 1.2rem 1.3rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(3, 16, 31, 0.27), 0 2px 8px rgba(3, 16, 31, 0.08);
  text-align: left;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  animation: hero-content-arrive 800ms 160ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero-prompt-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.hero-prompt-heading label {
  color: #18334d;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-prompt-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #687b8b;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  white-space: nowrap;
}

.hero-prompt-status > span {
  width: 6px;
  height: 6px;
  background: #43a77a;
  box-shadow: 0 0 8px rgba(67, 167, 122, 0.42);
}

.hero-prompt-panel textarea {
  display: block;
  width: 100%;
  min-height: 72px;
  resize: vertical;
  padding: 0.8rem 0.9rem;
  border: 1px solid #dce5ec;
  border-radius: 7px;
  background: #ffffff;
  color: #17334d;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  line-height: 1.5;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.hero-prompt-panel textarea::placeholder {
  color: #8998a5;
}

.hero-prompt-panel textarea:focus {
  outline: 0;
  border-color: #5b9dc5;
  box-shadow: 0 0 0 3px rgba(0, 103, 185, 0.12);
}

.hero-prompt-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.65rem;
}

.hero-prompt-suggestions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.hero-prompt-chip {
  min-height: 32px;
  padding: 0.35rem 0.65rem;
  border: 1px solid #d4e1ea;
  border-radius: 6px;
  background: #f8fbfd;
  color: #455c70;
  font-family: var(--font-sans);
  font-size: 0.73rem;
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.hero-prompt-chip:hover,
.hero-prompt-chip[aria-pressed="true"] {
  border-color: #80afd0;
  background: #eaf4fa;
  color: #075d99;
}

.hero-prompt-chip:active {
  transform: scale(0.97);
}

.hero-prompt-submit {
  display: inline-flex;
  min-height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.65rem 0.9rem;
  border-radius: 7px;
  background: #0867a8;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.hero-prompt-submit:hover {
  background: #075488;
  box-shadow: 0 5px 14px rgba(8, 103, 168, 0.2);
  transform: translateY(-1px);
}

.hero-prompt-submit:active {
  transform: scale(0.97);
}

.hero-prompt-hint {
  margin-top: 0.55rem;
  color: #7b8995;
  font-size: 0.68rem;
  line-height: 1.4;
}

.hero-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(100%, 1160px);
  margin: 0 auto;
  animation: hero-content-arrive 850ms 240ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero-capability-card {
  display: flex;
  min-width: 0;
  min-height: 88px;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.96);
  color: #17344f;
  text-align: left;
  box-shadow: 0 9px 28px rgba(3, 16, 31, 0.14);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms ease, background-color 220ms ease;
}

.hero-capability-card:hover {
  transform: translateY(-4px);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(3, 16, 31, 0.21);
}

.hero-capability-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: #eaf4fa;
  color: #0871b4;
}

.hero-capability-icon svg {
  width: 21px;
  height: 21px;
}

.hero-capability-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-capability-copy strong {
  overflow: hidden;
  color: #183650;
  font-family: var(--font-heading);
  font-size: 0.79rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-capability-copy small {
  overflow: hidden;
  color: #728392;
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-capability-arrow {
  color: #7292a9;
  font-size: 1rem;
  transition: color 160ms ease, transform 160ms ease;
}

.hero-capability-card:hover .hero-capability-arrow {
  color: #0867a8;
  transform: translate(2px, -2px);
}

@keyframes hero-image-arrive {
  from { opacity: 0.55; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes hero-content-arrive {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
  .site-header,
  .site-header.scrolled {
    left: 1.5%;
    width: 97%;
  }

  .hero-section {
    min-height: 800px;
    padding-top: 120px;
    padding-bottom: 32px;
  }

  .hero-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #home.hero-section {
    min-height: 0;
    padding: 90px 0 24px;
  }

  #home .hero-headline {
    font-size: 2.2rem;
  }

  #home .hero-lead {
    margin-bottom: 1rem;
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .site-header,
  .site-header.scrolled {
    top: 10px;
    left: 3%;
    width: 94%;
  }

  .nav-container,
  .site-header.scrolled .nav-container {
    height: 58px;
  }

  .brand-logo-img {
    width: 38px;
    height: 38px;
  }

  .hero-section {
    min-height: 0;
    padding: 90px 0 24px;
  }

  .hero-background-image {
    object-position: 58% center;
  }

  .hero-backdrop-shade {
    background: linear-gradient(180deg, rgba(6, 19, 34, 0.65), rgba(8, 27, 46, 0.78) 58%, rgba(8, 27, 46, 0.88));
  }

  .hero-kicker {
    margin-bottom: 0.8rem;
    font-size: 0.63rem;
  }

  .hero-headline {
    max-width: 580px;
    font-size: 2.55rem;
    line-height: 1.04;
  }

  .hero-lead {
    max-width: 540px;
    margin-top: 0.8rem;
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .hero-prompt-panel {
    margin: 1.15rem auto 1rem;
    padding: 0.9rem 0.85rem 0.7rem;
  }

  .hero-prompt-heading label {
    font-size: 0.85rem;
  }

  .hero-prompt-status {
    font-size: 0.55rem;
  }

  .hero-prompt-panel textarea {
    min-height: 62px;
    padding: 0.65rem;
    font-size: 0.84rem;
  }

  .hero-prompt-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 0.6rem;
  }

  .hero-prompt-suggestions {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
  }

  .hero-prompt-suggestions::-webkit-scrollbar {
    display: none;
  }

  .hero-prompt-chip {
    min-height: 30px;
    flex: 0 0 auto;
    font-size: 0.68rem;
  }

  .hero-prompt-submit {
    min-height: 40px;
    align-self: flex-end;
  }

  .hero-prompt-hint {
    margin-top: 0.4rem;
    font-size: 0.63rem;
  }

  .hero-capability-grid {
    display: grid;
    grid-auto-columns: minmax(205px, 78%);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 0.55rem;
    overflow-x: auto;
    padding: 0.15rem 0.15rem 0.65rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hero-capability-grid::-webkit-scrollbar {
    display: none;
  }

  .hero-capability-card {
    min-height: 76px;
    padding: 0.75rem;
    scroll-snap-align: start;
  }

  .hero-capability-copy strong {
    font-size: 0.75rem;
  }

  .hero-capability-copy small {
    font-size: 0.64rem;
  }
}

@media (max-width: 379px) {
  #home.hero-section {
    padding: 84px 0 14px;
  }

  #home .hero-headline {
    font-size: 1.85rem;
  }

  #home .hero-lead {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .hero-prompt-status {
    display: none;
  }

  #home .hero-prompt-panel {
    margin: 0.85rem auto 0.7rem;
    padding: 0.7rem 0.7rem 0.55rem;
  }

  #home .hero-prompt-panel textarea {
    min-height: 52px;
  }

  .hero-capability-grid {
    grid-auto-columns: minmax(190px, 82%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-background-image,
  .hero-message,
  .hero-prompt-panel,
  .hero-capability-grid {
    animation: none;
  }
}

.nav-actions .btn {
  border-radius: 999px;
}

.hamburger-btn {
  width: 44px;
  height: 44px;
  align-items: center;
  padding: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
}

.mobile-nav-drawer {
  border-radius: 28px 0 0 28px;
}

.hero-prompt-panel {
  border-radius: 22px;
}

.hero-prompt-panel textarea {
  border-radius: 14px;
}

.hero-prompt-chip {
  border-radius: 999px;
}

.hero-prompt-submit {
  border-radius: 12px;
}

.hero-capability-card {
  border-radius: 16px;
}

.hero-capability-icon {
  border-radius: 12px;
}

@media (max-width: 767px) {
  .hero-prompt-panel {
    border-radius: 19px;
  }

  .hero-capability-card {
    border-radius: 14px;
  }
}

.hero-prompt-panel {
  position: relative;
  overflow: visible;
  padding: 1.2rem 1.35rem 1rem;
  border-radius: 12px;
}

.hero-prompt-input-wrap {
  position: relative;
}

.hero-prompt-sparkle {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  width: 18px;
  height: 18px;
  color: #8ba1b3;
  pointer-events: none;
}

.hero-prompt-panel textarea {
  min-height: 100px;
  padding: 0.8rem 0.9rem 0.8rem 2.55rem;
  border-radius: 7px;
}

.hero-prompt-suggestions {
  margin-top: 0.65rem;
  gap: 0.5rem;
}

.hero-prompt-chip {
  min-height: 34px;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  background: #ffffff;
}

.hero-prompt-footer {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.55rem;
}

.hero-prompt-hint {
  margin: 0;
  color: #596c7c;
  font-size: 0.78rem;
  font-style: italic;
}

.hero-prompt-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.85rem;
}

.hero-prompt-privacy {
  display: grid;
  width: 28px;
  height: 32px;
  place-items: center;
  color: #21a65b;
}

.hero-prompt-privacy svg {
  width: 25px;
  height: 25px;
}

.hero-prompt-submit {
  display: grid;
  width: 48px;
  height: 48px;
  min-height: 48px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #1268a5;
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.hero-prompt-submit svg {
  width: 21px;
  height: 21px;
}

.hero-prompt-submit:hover {
  background: #075488;
  transform: translateX(2px);
}

@media (max-width: 767px) {
  .hero-prompt-panel {
    padding: 0.9rem 0.85rem 0.75rem;
    border-radius: 12px;
  }

  .hero-prompt-panel textarea {
    min-height: 76px;
    padding: 0.7rem 0.7rem 0.7rem 2.25rem;
  }

  .hero-prompt-sparkle {
    top: 0.75rem;
    left: 0.7rem;
    width: 16px;
    height: 16px;
  }

  .hero-prompt-footer {
    min-height: 46px;
    margin-top: 0.35rem;
  }

  .hero-prompt-hint {
    max-width: 190px;
    font-size: 0.68rem;
  }

  .hero-prompt-actions {
    gap: 0.5rem;
  }

  .hero-prompt-submit {
    width: 44px;
    height: 44px;
    min-height: 44px;
  }
}

@media (max-width: 379px) {
  .hero-prompt-panel {
    padding-top: 0.7rem;
  }
}

#services .services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 1.15rem;
}

#services .service-card {
  --service-accent: #0867a8;
  --service-tint: #eaf4fa;
  min-height: 340px;
  padding: 1.55rem;
  border: 1px solid rgba(18, 38, 58, 0.09);
  border-radius: 15px;
  background: linear-gradient(145deg, #ffffff 0%, #ffffff 72%, var(--service-tint) 150%);
  box-shadow: 0 8px 24px rgba(16, 35, 60, 0.045);
}

#services .service-card:nth-child(2) {
  --service-accent: #c16b3f;
  --service-tint: #fbf0e9;
}

#services .service-card:nth-child(3) {
  --service-accent: #27827e;
  --service-tint: #eaf5f2;
}

#services .service-card:nth-child(4) {
  --service-accent: #bd773c;
  --service-tint: #fbf2e8;
}

#services .service-card:nth-child(5) {
  --service-accent: #4e7392;
  --service-tint: #edf3f7;
}

#services .service-card:nth-child(6) {
  --service-accent: #4b70a0;
  --service-tint: #edf2f8;
}

#services .service-card::after {
  height: 2px;
  background: var(--service-accent);
}

#services .service-card:hover {
  border-color: color-mix(in srgb, var(--service-accent) 34%, white);
  box-shadow: 0 17px 36px rgba(16, 35, 60, 0.105);
  transform: translateY(-4px);
}

#services .service-card > div:first-child {
  display: flex;
  flex: 1;
  flex-direction: column;
}

#services .service-card-top {
  align-items: center;
  margin-bottom: 1.2rem;
}

#services .service-num {
  color: var(--service-accent);
  font-size: 0.7rem;
  letter-spacing: 0.035em;
}

#services .service-icon-wrapper {
  width: 46px;
  height: 46px;
  border: 1px solid color-mix(in srgb, var(--service-accent) 15%, white);
  border-radius: 12px;
  background: var(--service-tint);
  color: var(--service-accent);
}

#services .service-card:hover .service-icon-wrapper {
  background: var(--service-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

#services .service-title {
  min-height: 2.5em;
  margin-bottom: 0.55rem;
  font-size: 1.14rem;
  line-height: 1.3;
}

#services .service-desc {
  min-height: 4.8em;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
}

#services .service-tech-tags {
  align-content: flex-start;
  min-height: 3rem;
  gap: 0.35rem;
  margin-top: auto;
  margin-bottom: 1rem;
}

#services .service-tech-tags .tech-tag {
  padding: 0.24rem 0.48rem;
  border-radius: 5px;
  font-size: 0.66rem;
}

#services .service-explore-btn {
  min-height: 24px;
  color: var(--service-accent);
  font-size: 0.8rem;
}

#services .service-explore-btn:hover {
  color: var(--service-accent);
}

#projects .projects-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 1.35rem;
}

#projects .project-card {
  min-width: 0;
  border: 1px solid rgba(18, 38, 58, 0.09);
  border-radius: 14px;
  box-shadow: 0 9px 28px rgba(16, 35, 60, 0.055);
}

#projects .project-preview-window {
  height: auto;
  min-height: 230px;
  aspect-ratio: 1.9 / 1;
  border-bottom: 0;
  background-position: center;
  background-size: cover;
}

#projects .project-card:nth-child(1) .project-preview-window {
  background-image: linear-gradient(120deg, rgba(12, 34, 56, 0.44), rgba(8, 83, 129, 0.14)), url("../assets/capability-cloud.jpg");
}

#projects .project-card:nth-child(2) .project-preview-window {
  background-image: linear-gradient(120deg, rgba(12, 34, 56, 0.5), rgba(98, 63, 139, 0.14)), url("../assets/capability-ai.jpg");
}

#projects .project-card:nth-child(3) .project-preview-window {
  background-image: linear-gradient(120deg, rgba(12, 34, 56, 0.48), rgba(29, 111, 123, 0.16)), url("../assets/capability-ai.jpg");
}

#projects .project-card:nth-child(4) .project-preview-window {
  background-image: linear-gradient(120deg, rgba(12, 34, 56, 0.46), rgba(8, 83, 129, 0.14)), url("../assets/capability-software.jpg");
}

#projects .project-code-wireframe {
  width: 88%;
  height: 76%;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(14, 34, 54, 0.88);
  box-shadow: 0 16px 34px rgba(5, 18, 32, 0.24);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

#projects .project-card-body {
  min-height: 330px;
  padding: 1.45rem 1.5rem 1.3rem;
}

#projects .project-badge-bar {
  min-height: 28px;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

#projects .project-domain {
  overflow: hidden;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#projects .project-name {
  min-height: 2.5em;
  margin-bottom: 0.45rem;
  font-size: 1.22rem;
  line-height: 1.3;
}

#projects .project-brief {
  min-height: 3.1em;
  margin-bottom: 1rem;
  font-size: 0.86rem;
  line-height: 1.55;
}

#projects .project-breakdown-mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  background: transparent;
}

#projects .breakdown-row {
  display: block;
  min-width: 0;
  margin: 0;
  padding-left: 0.7rem;
  border-left: 2px solid #cbdce7;
  font-size: 0.76rem;
  line-height: 1.45;
}

#projects .breakdown-row:last-child {
  border-left-color: #e2b187;
}

#projects .breakdown-label {
  display: block;
  width: auto;
  margin-bottom: 0.2rem;
  color: #4f6577;
  font-size: 0.67rem;
  text-transform: uppercase;
}

#projects .breakdown-val {
  display: block;
  color: #637482;
}

#projects .project-footer {
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
}

#projects .project-tech-summary {
  max-width: 62%;
  font-size: 0.68rem;
  line-height: 1.5;
}

#projects .view-project-btn {
  flex: 0 0 auto;
  border-radius: 999px;
}

@media (max-width: 991px) {
  #services .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #projects .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #services .services-grid,
  #projects .projects-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 1rem;
  }

  #services .service-card {
    min-height: 0;
    padding: 1.25rem;
  }

  #services .service-title,
  #services .service-desc,
  #services .service-tech-tags {
    min-height: 0;
  }

  #projects .project-preview-window {
    min-height: 190px;
  }

  #projects .project-card-body {
    min-height: 0;
    padding: 1.2rem;
  }

  #projects .project-name,
  #projects .project-brief {
    min-height: 0;
  }

  #projects .project-breakdown-mini {
    gap: 0.6rem;
  }

  #projects .project-tech-summary {
    max-width: 100%;
  }
}

.hero-capabilities-section {
  position: relative;
  z-index: 3;
  padding: 72px 0 3.5rem;
  background: #f5f8fa;
}

.hero-capability-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 1.35rem;
  width: 100%;
  max-width: 1190px;
  margin: -42px auto 0;
  padding: 0 0.4rem 1.2rem;
}

.hero-capability-card {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #172b43;
  box-shadow: none;
  text-align: left;
}

.hero-capability-card:hover {
  background: transparent;
  box-shadow: none;
  transform: none;
}

.hero-capability-media {
  position: relative;
  aspect-ratio: 1.2 / 1;
  overflow: hidden;
  border-radius: 14px;
  background: #dce8ef;
}

.hero-capability-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 35, 60, 0.02), rgba(16, 35, 60, 0.18));
  pointer-events: none;
}

.hero-capability-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 550ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.hero-capability-card:hover .hero-capability-media img {
  transform: scale(1.045);
}

.hero-capability-content {
  position: relative;
  display: flex;
  width: calc(100% - 32px);
  min-height: 224px;
  flex-direction: column;
  align-items: flex-start;
  margin: -30px auto 0;
  padding: 1.15rem 1.2rem 1.2rem;
  border: 1px solid rgba(20, 46, 74, 0.06);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(38, 52, 99, 0.15);
  transition: transform 260ms cubic-bezier(0.2, 0.75, 0.25, 1), box-shadow 260ms ease;
}

.hero-capability-card:hover .hero-capability-content {
  transform: translateY(-3px);
  box-shadow: 0 19px 40px rgba(38, 52, 99, 0.19);
}

.hero-capability-category {
  display: block;
  margin-bottom: 0.45rem;
  color: #397298;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.4;
}

.hero-capability-content h2 {
  margin-bottom: 0.5rem;
  color: #1c274b;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.28;
}

.hero-capability-content p {
  color: #586a7a;
  font-size: 0.84rem;
  line-height: 1.55;
}

.hero-capability-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.85rem;
  color: #1c274b;
  font-size: 0.83rem;
  font-weight: 600;
}

.hero-capability-link > span {
  transition: transform 160ms ease;
}

.hero-capability-card:hover .hero-capability-link > span {
  transform: translate(2px, -2px);
}

@media (max-width: 991px) {
  .hero-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
  }
}

@media (max-width: 767px) {
  .hero-capabilities-section {
    padding: 50px 0 2.5rem;
  }

  .hero-capability-grid {
    grid-auto-columns: minmax(245px, 82%);
    grid-auto-flow: column;
    grid-template-columns: none;
    width: 100%;
    max-width: none;
    gap: 0.75rem;
    margin-top: -30px;
    overflow-x: auto;
    padding: 0 0.15rem 1.4rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hero-capability-grid::-webkit-scrollbar {
    display: none;
  }

  .hero-capability-card {
    scroll-snap-align: start;
  }

  .hero-capability-media {
    aspect-ratio: 1.27 / 1;
    border-radius: 12px;
  }

  .hero-capability-content {
    width: calc(100% - 24px);
    min-height: 205px;
    margin-top: -25px;
    padding: 0.95rem 1rem 1rem;
    border-radius: 11px;
  }
}

@media (max-width: 379px) {
  .hero-capability-grid {
    grid-auto-columns: minmax(230px, 86%);
  }
}

:root {
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

.about-visual-card,
.principle-item,
.service-card,
.solutions-wrapper,
.solution-display-card,
.project-card,
.tech-category-column,
.process-step-card,
.why-principle-card,
.contact-form-card,
.modal-box,
.hero-prompt-panel {
  border-radius: 24px;
}

.hero-capability-media,
.project-preview-window {
  border-radius: 20px;
}

.hero-capability-content {
  border-radius: 22px;
}

.project-code-wireframe {
  border-radius: 16px;
}

.project-breakdown-mini,
.solution-features-list {
  border-radius: 18px;
}

.hero-prompt-panel textarea,
.form-control {
  border-radius: 16px;
}

.service-icon-wrapper,
.why-icon-box,
.principle-number,
.direct-icon,
.hero-capability-icon {
  border-radius: 16px;
}

.btn,
.project-filter-btn,
.hero-prompt-chip,
.tech-tag,
.type-pill,
.solution-badge,
.section-tag,
.view-project-btn {
  border-radius: 999px;
}

.solution-tab-btn,
.tech-node-item,
.social-btn,
.hero-prompt-submit {
  border-radius: 16px;
}

.hero-prompt-submit,
.modal-close-btn,
.hamburger-btn {
  border-radius: 50%;
}

.site-header,
.site-header.scrolled,
.nav-actions .btn {
  border-radius: 999px;
}

.mobile-nav-drawer {
  border-radius: 32px 0 0 32px;
}

@media (max-width: 767px) {
  .hero-capability-media {
    border-radius: 20px;
  }

  .hero-capability-content {
    border-radius: 20px;
  }
}

#services .service-card {
  border-radius: 24px;
}

#services .service-icon-wrapper {
  border-radius: 16px;
}

#services .service-tech-tags .tech-tag {
  border-radius: 999px;
}

#projects .project-card {
  border-radius: 24px;
}

#projects .project-code-wireframe {
  border-radius: 16px;
}

#projects .project-breakdown-mini {
  border-radius: 18px;
}
