/* ==========================================================================
   IT PRO CONSULTANT — Modern Cyber-Executive Editorial Design System
   Floating Island Header, Glassmorphism, Ambient Motion & Titanium Palette
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* High-Tech Dark Luxury Surfaces */
  --bg-canvas: #080b12;
  --bg-surface: #0e1320;
  --bg-surface-elevated: #141a2c;
  --bg-card: rgba(15, 21, 37, 0.75);
  --bg-card-hover: rgba(22, 31, 56, 0.9);
  --bg-glass-header: rgba(11, 15, 26, 0.82);

  /* Hairlines & Translucent Borders */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-default: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);
  --border-glow-indigo: rgba(99, 102, 241, 0.4);
  --border-glow-cyan: rgba(6, 182, 212, 0.4);

  /* Modern High-Contrast Typography */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8492a6;
  --text-inverse: #080b12;

  /* Signature Electric Accents */
  --accent-indigo: #6366f1;
  --accent-indigo-hover: #4f46e5;
  --accent-cyan: #06b6d4;
  --accent-cyan-hover: #0891b2;
  
  /* Brand Crimson (Derived from original Logo) */
  --accent-crimson: #f43f5e;
  --accent-crimson-glow: rgba(244, 63, 94, 0.25);

  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --grad-primary-hover: linear-gradient(135deg, #4f46e5 0%, #0891b2 100%);
  --grad-crimson: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
  --grad-text: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
  --grad-accent-text: linear-gradient(135deg, #818cf8 0%, #38bdf8 100%);

  /* Typography Scale */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --text-2xs: 0.6875rem;
  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.18vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.35rem + 0.75vw, 1.875rem);
  --text-3xl: clamp(1.875rem, 1.6rem + 1.2vw, 2.35rem);
  --text-4xl: clamp(2.25rem, 1.85rem + 1.8vw, 3.25rem);
  --text-5xl: clamp(2.75rem, 2.2rem + 3vw, 4.5rem);

  /* Spacing Scale */
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --space-3xl: 6.5rem;

  /* Layout */
  --container-max: 1220px;
  --container-narrow: 840px;

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 48px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(99, 102, 241, 0.08);
  --shadow-glow: 0 0 35px rgba(99, 102, 241, 0.25);

  /* Transitions */
  --trans-fast: 160ms cubic-bezier(0.4, 0, 0.2, 1);
  --trans-smooth: 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & High-Tech Canvas
   -------------------------------------------------------------------------- */
html {
  font-family: var(--font-sans);
  font-size: 100%;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  position: relative;
  overflow-x: hidden;
}

/* Subtle Ambient Gradient Orbs in Background */
body::before {
  content: "";
  position: fixed;
  top: -10vw;
  right: -10vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  bottom: 10vh;
  left: -15vw;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

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

/* Accessible Visually Hidden */
.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

/* Skip link */
.skip-link {
  position: fixed;
  top: 1rem;
  inset-inline-start: 1rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: #ffffff;
  color: #080b12;
  font-weight: 700;
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: var(--shadow-lg);
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-block-start: 0;
  margin-block-end: 0.85rem;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p {
  margin-block-start: 0;
  margin-block-end: 1rem;
  color: var(--text-secondary);
}

p.lead {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--text-secondary);
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--trans-fast);
}

a:hover {
  color: #38bdf8;
}

:focus-visible {
  outline: 2px solid var(--accent-indigo);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. Modern Floating Island Pill Header
   -------------------------------------------------------------------------- */
.header-wrapper {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  padding-inline: 1.25rem;
  pointer-events: none;
  transition: transform var(--trans-smooth);
}

.floating-island-nav {
  pointer-events: auto;
  width: 100%;
  max-width: var(--container-max);
  background: var(--bg-glass-header);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  padding: 0.65rem 1.35rem;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(99, 102, 241, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: all var(--trans-smooth);
}

/* Shrinking header effect on scroll */
.header-wrapper.is-scrolled .floating-island-nav {
  padding: 0.45rem 1.15rem;
  max-width: 1100px;
  background: rgba(8, 11, 18, 0.94);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.85), 0 0 25px rgba(6, 182, 212, 0.15);
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img {
  height: 40px;
  width: auto;
  aspect-ratio: 2631 / 968;
  object-fit: contain;
  transition: height var(--trans-fast);
}

.header-wrapper.is-scrolled .site-logo img {
  height: 34px;
}

.primary-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: all var(--trans-fast);
}

.nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-link[aria-current="page"] {
  color: #ffffff;
  font-weight: 700;
  background-color: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(99, 102, 241, 0.35);
}

.nav-link[aria-current="page"]::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

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

.phone-link-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  transition: all var(--trans-fast);
}

.phone-link-modern:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.06);
}

.phone-link-modern svg {
  color: var(--accent-cyan);
}

.mobile-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  padding: 0.55rem;
  cursor: pointer;
  color: #ffffff;
  min-height: 42px;
  min-width: 42px;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   4. Buttons with Shimmer & Glow
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  min-height: 44px;
  transition: all var(--trans-fast);
  white-space: nowrap;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-primary);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  background: var(--grad-primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: var(--border-default);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--border-strong);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-crimson {
  background: var(--grad-crimson);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px var(--accent-crimson-glow);
}

.btn-crimson:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(244, 63, 94, 0.5);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: var(--text-base);
  min-height: 52px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* --------------------------------------------------------------------------
   5. Movement, Keyframe Animations & GPU Compositor
   -------------------------------------------------------------------------- */
/* Continuous Floating Levitation */
@keyframes floatLevitation {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.floating-telemetry-card {
  animation: floatLevitation 4.5s ease-in-out infinite;
}

/* Pulsing Status Radar */
@keyframes radarPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

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

/* Scroll / Viewport Reveal State */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibility: Turn off or dampen animations for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .floating-telemetry-card,
  .pulse-dot {
    animation: none !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   6. Hero & Sections (With Top Padding for Floating Header)
   -------------------------------------------------------------------------- */
main {
  padding-top: calc(var(--header-height, 82px) + 2rem);
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
  position: relative;
}

.section-subtle {
  background-color: var(--bg-surface);
  border-block: 1px solid var(--border-subtle);
}

.section-header {
  max-width: 760px;
  margin-block-end: clamp(2.5rem, 5vw, 4rem);
}

.section-header.text-center {
  text-align: center;
  margin-inline: auto;
}

/* Technical Badges */
.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a5b4fc;
  background-color: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-block-end: 1rem;
}

.badge-crimson {
  color: #fda4af;
  background-color: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.3);
}

/* Editorial Hero Grid */
.editorial-hero {
  padding-block: clamp(3rem, 7vw, 5.5rem);
  position: relative;
}

.hero-editorial-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-main-heading {
  margin-block-end: 1.25rem;
  letter-spacing: -0.04em;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-main-heading .highlight-text {
  background: var(--grad-accent-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layered Photo Frame */
.photo-frame-hero {
  position: relative;
}

.photo-hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(99, 102, 241, 0.15);
  border: 1px solid var(--border-default);
  aspect-ratio: 4 / 3;
}

.photo-hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-frame-hero:hover .photo-hero-img-wrapper img {
  transform: scale(1.035);
}

.floating-pill {
  position: absolute;
  top: 1.25rem;
  inset-inline-end: 1.25rem;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-md);
}

.floating-telemetry-card {
  position: absolute;
  bottom: -1.75rem;
  inset-inline-start: -1.5rem;
  background: rgba(14, 20, 35, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glow-indigo);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.6rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(99, 102, 241, 0.2);
  max-width: 300px;
}

/* --------------------------------------------------------------------------
   7. Bento Grid with Interactive Hover Glows
   -------------------------------------------------------------------------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.75rem;
  margin-block-start: 2rem;
}

.bento-card-large {
  grid-column: span 7;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 4vw, 3rem);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-default);
  transition: transform var(--trans-smooth), border-color var(--trans-smooth), box-shadow var(--trans-smooth);
}

.bento-card-large:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow-indigo);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(99, 102, 241, 0.2);
}

.bento-card-large .bento-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card-large:hover .bento-bg-img {
  transform: scale(1.05);
}

.bento-card-large .bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 11, 18, 0.2) 0%, rgba(8, 11, 18, 0.92) 80%);
  z-index: 2;
}

.bento-card-large .bento-content {
  position: relative;
  z-index: 3;
}

.bento-card-side {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.bento-mini-card {
  background-color: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  transition: transform var(--trans-smooth), border-color var(--trans-smooth), box-shadow var(--trans-smooth);
}

.bento-mini-card:hover {
  transform: translateY(-3px);
  background-color: var(--bg-card-hover);
  border-color: var(--border-glow-cyan);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(6, 182, 212, 0.15);
}

.bento-mini-thumb {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.bento-mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-smooth);
}

.bento-mini-card:hover .bento-mini-thumb img {
  transform: scale(1.06);
}

/* --------------------------------------------------------------------------
   8. Editorial Split & Visual Cards
   -------------------------------------------------------------------------- */
.editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.editorial-img-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-default);
}

.editorial-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.editorial-caption {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-block-start: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Service Practice Cards */
.service-photo-card {
  background-color: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--trans-smooth), border-color var(--trans-smooth), box-shadow var(--trans-smooth);
}

.service-photo-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow-indigo);
  box-shadow: var(--shadow-lg);
}

.service-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-smooth);
}

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

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

/* Case Study Visual Cards */
.case-visual-card {
  background-color: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  transition: transform var(--trans-smooth), border-color var(--trans-smooth), box-shadow var(--trans-smooth);
}

.case-visual-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow-cyan);
  box-shadow: var(--shadow-lg);
}

.case-visual-thumb {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

.case-visual-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-smooth);
}

.case-visual-card:hover .case-visual-thumb img {
  transform: scale(1.04);
}

.case-visual-content {
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   9. Executive Creed Banner
   -------------------------------------------------------------------------- */
.creed-banner {
  background: 
    radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(244, 63, 94, 0.1) 0%, transparent 45%),
    var(--bg-surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.creed-text {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.45;
  color: #ffffff;
  max-width: 860px;
  margin-block-end: 1.5rem;
  letter-spacing: -0.02em;
}

.creed-author-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.creed-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-strong);
}

.creed-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   10. Form & FAQ Controls
   -------------------------------------------------------------------------- */
.form-shell {
  background-color: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-block-end: 1.5rem;
}

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

label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-block-end: 0.45rem;
}

label .required-indicator {
  color: var(--accent-crimson);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-size: 1rem;
  font-family: inherit;
  color: #ffffff;
  background-color: rgba(9, 13, 22, 0.7);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  min-height: 48px;
  transition: all var(--trans-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.form-control:invalid:user-invalid {
  border-color: var(--accent-crimson);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-hint {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-block-start: 0.35rem;
}

.form-success-banner {
  display: none;
  background-color: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-block-end: 1.5rem;
}

/* FAQ Disclosures */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 820px;
  margin-inline: auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--trans-fast);
}

.faq-item:hover {
  border-color: var(--border-default);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  text-align: start;
  cursor: pointer;
  min-height: 48px;
}

.faq-trigger:hover {
  background-color: rgba(255, 255, 255, 0.04);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--trans-fast);
  color: var(--accent-cyan);
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-indigo);
}

.faq-panel {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.faq-panel[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #05070c;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-block-start: clamp(3.5rem, 6vw, 5rem);
  padding-block-end: 2.5rem;
  margin-block-start: auto;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-block-end: clamp(2.5rem, 5vw, 4rem);
}

.footer-brand p {
  color: var(--text-muted);
  margin-block-start: 1rem;
  max-width: 360px;
  font-size: var(--text-sm);
}

.footer-logo {
  height: 42px;
  width: auto;
}

.footer-heading {
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-block-end: 1.25rem;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-block-end: 0.9rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.footer-contact-item a {
  color: var(--text-primary);
  font-weight: 500;
}

.footer-contact-item svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-block-start: 0.2rem;
}

.footer-bottom {
  padding-block-start: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--text-xs);
}

.footer-bottom a {
  color: var(--text-muted);
}

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

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

/* --------------------------------------------------------------------------
   12. Mobile Drawer Navigation
   -------------------------------------------------------------------------- */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(5, 7, 12, 0.8);
  backdrop-filter: blur(6px);
  z-index: 299;
}

.mobile-drawer-overlay.is-active {
  display: block;
}

.mobile-drawer {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(340px, 85vw);
  background: #0d1220;
  border-left: 1px solid var(--border-default);
  z-index: 300;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform var(--trans-smooth);
}

.mobile-drawer.is-active {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 2rem;
  padding-block-end: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-close-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  color: #ffffff;
  min-width: 44px;
  min-height: 44px;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.85rem 1rem;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--trans-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link[aria-current="page"] {
  background-color: rgba(99, 102, 241, 0.18);
  color: #ffffff;
}

.mobile-drawer-footer {
  margin-block-start: auto;
  padding-block-start: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   13. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-editorial-grid,
  .editorial-split,
  .case-visual-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .bento-card-large,
  .bento-card-side {
    grid-column: span 1;
  }

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

  .primary-nav,
  .header-actions .phone-link-modern {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .floating-telemetry-card {
    position: static;
    margin-block-start: 1rem;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .header-wrapper {
    top: 0.75rem;
    padding-inline: 0.75rem;
  }

  .floating-island-nav {
    padding: 0.5rem 1rem;
  }

  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
