/* ==========================================================================
   GREY CIRCUIT TECHNOLOGIES — ENTERPRISE DESIGN SYSTEM (styles.css)
   Zero-dependency, high-contrast obsidian/slate architecture.
   Compatible with index.html and all sub-pages (services/*, projects/*).
   ========================================================================== */

:root {
  --bg-obsidian: #070707;
  --bg-slate: #0b0b0b;
  --bg-elevated: rgba(18, 18, 18, 0.72);
  --bg-glass: rgba(15, 15, 15, 0.6);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.24);
  --border-accent: rgba(255, 255, 255, 0.28);
  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --text-muted: #737373;
  --accent-cyan: #d4d4d4;
  --accent-violet: #c4b5fd;
  --accent-emerald: #6ee7b7;
  --danger: #f87171;
  --mx: 50%;
  --my: 50%;
  --container-max: min(1340px, 92vw);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  scroll-behavior: smooth;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  line-height: 1.6;
  letter-spacing: -0.006em;
  position: relative;
}

/* Subtle film/circuit grain overlay */
.noise-overlay,
body::before {
  content: "";
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

img {
  max-width: 100%;
  display: block;
}

.selection-invert ::selection {
  background: #ffffff;
  color: #070707;
}

/* Accessibility Skip Link & Focus Rings */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100001;
  background: #ffffff;
  color: #070707;
  padding: 10px 16px;
  border-radius: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  transition: top 0.2s ease;
}

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

:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 3px;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITY TOKENS
   ========================================================================== */

.font-display,
h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}

.font-mono,
.section-kicker,
.telemetry-label,
.pillar-tag,
.status-pill {
  font-family: "JetBrains Mono", monospace;
  font-variant-numeric: tabular-nums;
}

.text-2xs {
  font-size: 10px;
}

.text-xs {
  font-size: 12px;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-widest {
  letter-spacing: 0.22em;
}

.text-grey-300 {
  color: #d4d4d4;
}

.text-grey-400 {
  color: var(--text-secondary);
}

.text-grey-500,
.text-grey-600 {
  color: var(--text-muted);
}

.text-gradient-slate {
  background: linear-gradient(135deg, #ffffff 0%, #d4d4d4 55%, #888888 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

/* ==========================================================================
   LAYOUT CONTAINERS & GRIDS
   ========================================================================== */

.container {
  width: min(100% - clamp(1.75rem, 4vw, 3.5rem), var(--container-max));
  margin-inline: auto;
}

.site-section {
  position: relative;
  padding: clamp(5.5rem, 10vw, 9rem) 0;
  border-top: 1px solid var(--border-subtle);
  isolation: isolate;
}

.section-obsidian {
  background-color: var(--bg-obsidian);
}

.section-slate {
  background-color: var(--bg-slate);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.col-span-4 {
  grid-column: span 4;
}

.col-span-5 {
  grid-column: span 5;
}

.col-span-7 {
  grid-column: span 7;
}

.col-span-8 {
  grid-column: span 8;
}

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

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

/* Section Headers & Index Numbers */
.section-index {
  display: block;
  margin: 0 0 1rem;
  color: transparent;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(4.2rem, 7.5vw, 7.5rem);
  font-weight: 300;
  line-height: 0.78;
  letter-spacing: -0.06em;
  -webkit-text-stroke: 1px rgba(196, 181, 253, 0.72);
}

.section-kicker {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.section-marker {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.section-heading {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.05;
}

.section-heading-lg {
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  line-height: 0.98;
}

.section-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  padding-bottom: 2rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.header-link {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.header-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.lead-paragraph {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.55;
  color: #d4d4d4;
  margin: 0 0 3rem;
}

/* ==========================================================================
   NATIVE BROWSER MOUSE CURSOR BEHAVIOUR & AMBIENT LIGHTING
   ========================================================================== */

html, body {
  cursor: auto;
}

a, button, [role="button"], input[type="submit"], input[type="button"], select, label[for], .btn, .magnetic, [data-magnetic] {
  cursor: pointer;
}

.ambient-glow {
  position: absolute;
  pointer-events: none;
  z-index: -1;
  filter: blur(90px);
  opacity: 0.45;
}

.hero-glow {
  width: min(68vw, 760px);
  height: min(68vw, 760px);
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 45%, transparent 70%);
}

/* ==========================================================================
   DYNAMIC ISLAND NAVIGATION & MOBILE SLIDE-OUT DRAWER
   ========================================================================== */

.dynamic-island {
  --island-h: 52px;
  position: fixed !important;
  top: 18px !important;
  left: 50% !important;
  z-index: 99990 !important;
  width: max-content !important;
  max-width: calc(100vw - 24px) !important;
  padding: 5px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 999px !important;
  background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.08), transparent 40%), rgba(7, 7, 7, 0.78) !important;
  backdrop-filter: blur(24px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(140%) !important;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  transform: translate3d(-50%, 0, 0) !important;
  transition: transform 0.45s var(--ease-out-expo), background 0.3s ease, border-color 0.3s ease, top 0.3s ease !important;
}

.dynamic-island.is-scrolled {
  top: 12px !important;
  background: rgba(7, 7, 7, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.dynamic-island.is-hidden {
  transform: translate3d(-50%, calc(-100% - 28px), 0) !important;
  pointer-events: none;
}

.island-shell {
  min-height: var(--island-h);
  display: flex;
  align-items: center;
  gap: 4px;
  padding-right: 2px;
}

.island-links-desktop {
  display: flex;
  align-items: center;
  gap: 2px;
}

.island-brand {
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px 0 11px;
  color: #ffffff;
  font: 600 9px "JetBrains Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 999px;
  transition: background 0.25s ease;
}

.island-brand img {
  width: 20px;
  height: 23px;
  object-fit: contain;
  filter: invert(1) brightness(1.2);
}

.island-brand:hover {
  background: rgba(255, 255, 255, 0.07);
}

.island-divider {
  width: 1px;
  height: 20px;
  margin: 0 4px;
  background: rgba(255, 255, 255, 0.12);
}

.island-link {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font: 500 9px "JetBrains Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.island-link:hover,
.island-link.is-active-section,
.nav-dropdown.is-open>.island-link {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.09);
}

.nav-dropdown {
  position: relative;
  height: 38px;
  display: flex;
  align-items: center;
}

.nav-chevron {
  display: inline-block;
  font-size: 11px;
  opacity: 0.55;
  transition: transform 0.3s var(--ease-out-expo);
}

.nav-dropdown.is-open .nav-chevron {
  transform: rotate(45deg);
  opacity: 1;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 260px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(28px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -8px) scale(0.96);
  transition: opacity 0.22s ease, transform 0.32s var(--ease-out-expo), visibility 0.22s ease;
}

.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--text-secondary);
  font: 500 9px "JetBrains Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-dropdown-menu a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(3px);
}

/* Mobile Drawer Toggle & Slide-Out Panel */
.mobile-drawer-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.hamburger-bar {
  width: 15px;
  height: 1.5px;
  background: #ffffff;
  transition: transform 0.25s ease;
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99992;
  background: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(6px);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 360px);
  z-index: 99995;
  background: var(--bg-slate);
  border-left: 1px solid var(--border-subtle);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform 0.38s var(--ease-out-expo);
}

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

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

.mobile-drawer-close {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.mobile-drawer-link {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.mobile-drawer-sublinks {
  display: grid;
  gap: 6px;
  padding: 4px 0 8px 18px;
}

.mobile-drawer-sublinks a {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 0;
}

.mobile-drawer-cta {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #070707;
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ==========================================================================
   HERO SECTION & TELEMETRY COUNTERS
   ========================================================================== */

#hero,
main>section:first-of-type {
  position: relative;
  isolation: isolate;
}

#hero::before,
main>section:first-of-type::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 48%;
  right: clamp(1.5rem, 6vw, 7rem);
  width: min(42vw, 540px);
  max-height: 75vh;
  aspect-ratio: 2 / 3;
  transform: translateY(-50%);
  background: url("assets/watermark.png") center / contain no-repeat;
  filter: invert(1) grayscale(1) contrast(1.35);
  opacity: 0.14;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-section {
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: max(clamp(5rem, 11vh, 8.5rem), calc(env(safe-area-inset-top) + 3.5rem)) 0 max(clamp(3.5rem, 6.5vh, 5.5rem), calc(env(safe-area-inset-bottom) + 1.5rem));
  box-sizing: border-box;
  position: relative;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(8.5px, 0.95vw, 10px);
  letter-spacing: 0.24em;
  color: var(--text-secondary);
  margin-bottom: clamp(1.25rem, 2.5vh, 2rem);
  max-width: 95vw;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2.5rem, min(8.2vw, 10.5vh), 7.8rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.055em;
  display: block;
  text-align: center;
  text-wrap: balance;
  max-width: min(56rem, 96vw);
  margin-inline: auto;
}

.hero-line {
  display: inline;
}

.hero-word {
  display: inline-block;
  white-space: nowrap;
}

@media (min-width: 375px) {
  .hero-line-1,
  .hero-line-2 {
    display: inline-block;
    white-space: nowrap;
  }
}

.hero-desc {
  max-width: min(42rem, 90vw);
  margin: clamp(1.25rem, 2.5vh, 2rem) auto 0;
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.25vw, 1.18rem);
  line-height: 1.65;
}

.hero-actions {
  margin-top: clamp(1.5rem, 3vh, 2.25rem);
  margin-bottom: clamp(1.5rem, 3.5vh, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 310px;
    margin-inline: auto;
    gap: 0.65rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 10.5px;
    min-height: 48px;
    box-sizing: border-box;
  }
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease-out-expo), background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
  background: #ffffff;
  color: #070707;
  border: 1px solid #ffffff;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

/* Telemetry Strip */
.telemetry-strip {
  position: relative;
  padding-bottom: clamp(5.5rem, 10vw, 9rem);
  background-color: var(--bg-obsidian);
}

.hero-telemetry-grid {
  width: 100%;
  margin-top: 4.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  text-align: left;
}

.telemetry-strip .hero-telemetry-grid {
  margin-top: 0;
}

.telemetry-card {
  min-width: 0;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(14px);
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.telemetry-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.telemetry-label {
  display: block;
  font-size: clamp(8px, 0.85vw, 9px);
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
  word-break: break-word;
}

.telemetry-value {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.65rem, 2.5vw, 2.5rem);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0.45rem 0 0.25rem;
  letter-spacing: -0.04em;
}

.telemetry-sub {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: max(clamp(0.75rem, 2vh, 1.75rem), calc(env(safe-area-inset-bottom) + 0.5rem));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.55;
  pointer-events: none;
  z-index: 2;
}

@media (max-height: 760px), (max-width: 480px) {
  .scroll-indicator {
    display: none !important;
  }
}

.scroll-track {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.scroll-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: #ffffff;
  animation: scroll-pulse 2s infinite ease-in-out;
}

@keyframes scroll-pulse {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(200%);
  }
}

/* ==========================================================================
   ABOUT & FOUNDER SECTIONS
   ========================================================================== */

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

.principle-card {
  padding: 1.6rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.35s var(--ease-out-expo), border-color 0.3s ease;
}

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

.principle-index {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.principle-card h3 {
  font-size: 1.15rem;
  margin: 0.75rem 0 0.5rem;
  color: #ffffff;
}

.principle-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.75fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6.5rem);
}

.founder-tags {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 1rem 0 1.5rem;
}

.founder-bio {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.35vw, 1.05rem);
  line-height: 1.7;
  max-width: 38rem;
}

.founder-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.founder-link {
  padding: 0.75rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--text-primary);
  font: 500 10px "JetBrains Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.founder-link:hover {
  background: #ffffff;
  color: #070707;
  border-color: #ffffff;
}

.founder-portrait-wrap {
  justify-self: end;
  width: min(100%, 340px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0b0b0b;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.founder-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.06);
}

/* ==========================================================================
   SERVICES PILLARS, GLASS PANELS & OUTCOME BENCHMARKS
   ========================================================================== */

.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
}

.practice-card {
  position: relative;
  min-height: clamp(350px, 46vh, 410px);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  min-width: 0;
  transition: transform 0.45s var(--ease-out-expo), border-color 0.35s ease, box-shadow 0.45s ease;
}

.practice-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.services-carousel .practice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transform: scale(1.05);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: opacity 0.45s ease, transform 0.55s var(--ease-out-expo);
}

.services-carousel .practice-card.card-cybersecurity::before {
  background-image: url("assets/images/services/cybersecurity/cybersec-card.avif");
}

.services-carousel .practice-card.card-automation::before {
  background-image: url("assets/images/services/automation/automation-card.avif");
}

.services-carousel .practice-card.card-software-engineering::before {
  background-image: url("assets/images/services/swe/swe-card.avif");
}

.services-carousel .practice-card:hover::before {
  opacity: 0.22;
  transform: scale(1);
}

.practice-card>* {
  position: relative;
  z-index: 1;
}

.practice-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.25rem;
}

.pillar-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  font-size: 12px;
  transition: background 0.3s ease, color 0.3s ease;
}

.practice-card:hover .pillar-badge {
  background: #ffffff;
  color: #070707;
}

.pillar-tag {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
}

.practice-card-body h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.practice-card-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0 0 1.25rem;
}

.pillar-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  border-top: 1px solid var(--border-subtle);
}

.pillar-specs li {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pillar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.25s ease;
}

.practice-card:hover .pillar-cta {
  color: #ffffff;
}

/* Social Proof & Engineering Benchmarks Strip */
.outcomes-strip {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(18, 18, 18, 0.8));
}

.outcome-item {
  padding-right: 1rem;
}

.outcome-kicker {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--accent-emerald);
  margin-bottom: 0.5rem;
}

.outcome-item strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 0.45rem;
}

.outcome-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   PROJECTS, INDUSTRIES & INSIGHTS
   ========================================================================== */

/* Base styling for subpage project cards & insight cards */
.project-card,
.insight-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s var(--ease-out-expo), border-color 0.35s ease;
}

.project-card:hover,
.insight-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
}

.project-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

.status-pill {
  font-size: 9px;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-secondary);
}

.insight-card h3 {
  font-size: 1.45rem;
  margin: 1rem 0 0.75rem;
}

.insight-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0 0 1.5rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.project-tags span {
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-secondary);
  font: 400 9px "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font: 400 10px "JetBrains Mono", monospace;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  transition: gap 0.25s ease, color 0.25s ease;
}

.service-cta:hover {
  gap: 1.4rem;
  color: #ffffff;
}

/* ==========================================================================
   SECTION 04: SELECTED PROJECTS (ENHANCED DESIGN ARCHITECTURE)
   ========================================================================== */

#projects {
  position: relative;
  overflow: hidden;
}

#projects::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 960px;
  height: 240px;
  background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

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

#projects .grid-3 {
  align-items: stretch;
}

.project-preview-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-width: 0;
  padding: clamp(1.6rem, 2.5vw, 2.25rem) clamp(1.25rem, 2vw, 2rem) clamp(1.35rem, 2vw, 2rem);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(22, 22, 22, 0.65) 0%, rgba(12, 12, 12, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s var(--ease-out-expo),
              border-color 0.3s ease,
              box-shadow 0.35s ease;
  overflow: hidden;
}

/* Subtle top hairline highlight indicator */
.project-preview-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
  z-index: 2;
}

.project-preview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
}

.project-preview-card:hover::before {
  opacity: 1;
}

/* Series & category-aligned accents */
.project-preview-card:nth-child(1):hover::before {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.1) 0%, #38bdf8 50%, rgba(56, 189, 248, 0.1) 100%);
}
.project-preview-card:nth-child(1):hover {
  border-top-color: rgba(56, 189, 248, 0.4);
}

.project-preview-card:nth-child(2):hover::before {
  background: linear-gradient(90deg, rgba(244, 63, 94, 0.1) 0%, #f43f5e 50%, rgba(244, 63, 94, 0.1) 100%);
}
.project-preview-card:nth-child(2):hover {
  border-top-color: rgba(244, 63, 94, 0.4);
}

.project-preview-card:nth-child(3):hover::before {
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.1) 0%, #a78bfa 50%, rgba(167, 139, 250, 0.1) 100%);
}
.project-preview-card:nth-child(3):hover {
  border-top-color: rgba(167, 139, 250, 0.4);
}

/* Card Header Metadata */
.project-preview-card .project-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.project-card-kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Refined Category Status Pills */
.project-preview-card .status-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.project-preview-card .status-pill-ops,
.project-preview-card:nth-child(1) .status-pill {
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.22);
}

.project-preview-card .status-pill-sec,
.project-preview-card:nth-child(2) .status-pill {
  color: #fda4af;
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.22);
}

.project-preview-card .status-pill-ai,
.project-preview-card:nth-child(3) .status-pill {
  color: #ddd6fe;
  background: rgba(167, 139, 250, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.22);
}

.project-preview-card:hover .status-pill {
  filter: brightness(1.15);
}

/* Project Card Typography */
.project-preview-card h3 {
  font-size: clamp(1.18rem, 1.6vw, 1.35rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.32;
  margin: 0 0 0.85rem;
  letter-spacing: -0.016em;
}

.project-preview-card p {
  font-size: clamp(0.85rem, 1.1vw, 0.92rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 1.75rem;
  flex-grow: 1;
}

/* Tags Styling */
.project-preview-card .project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.project-preview-card .project-tags span {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.2s ease;
}

.project-preview-card:hover .project-tags span {
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.04);
}

/* Card-Level Call to Action */
.project-preview-card .project-card-footer {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.project-preview-card .project-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 0.25s ease, gap 0.25s ease;
  text-decoration: none;
  padding: 4px 0;
}

.project-preview-card .project-card-cta .cta-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease-out-expo), color 0.25s ease;
  color: rgba(255, 255, 255, 0.45);
}

.project-preview-card:hover .project-card-cta {
  color: #ffffff;
  gap: 0.75rem;
}

.project-preview-card:hover .project-card-cta .cta-arrow {
  transform: translateX(4px);
  color: #ffffff;
}

/* Section-Level Call to Action */
.project-preview-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.project-preview-cta span[aria-hidden="true"] {
  display: inline-block;
  transition: transform 0.25s var(--ease-out-expo);
}

.project-preview-cta:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.project-preview-cta:hover span[aria-hidden="true"] {
  transform: translateX(4px);
}

@media (max-width: 860px) {
  #projects .grid-3 {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .project-preview-card {
    padding: 1.75rem 1.35rem 1.5rem;
  }

  .project-preview-card h3 {
    font-size: 1.22rem;
  }

  .project-preview-card p {
    font-size: 0.88rem;
    margin-bottom: 1.35rem;
  }

  .project-preview-cta {
    width: 100%;
    justify-content: center;
  }
}

/* Industries Matrix */
.industry-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border-subtle);
}

.industry-cell {
  padding: 2rem 1.75rem 2rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.industry-cell:nth-child(even) {
  padding-left: 1.75rem;
  padding-right: 0;
  border-left: 1px solid var(--border-subtle);
}

.industry-cell h3 {
  font-size: 1.4rem;
  margin: 0.75rem 0 0.5rem;
}

.industry-cell p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   EXECUTION MODEL (CIRCUIT TIMELINE)
   ========================================================================== */

.approach-container {
  max-width: 920px;
}

.approach-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.execution-marker {
  align-items: center;
}

.circuit-timeline {
  position: relative;
  display: grid;
  gap: 3.5rem;
}

.circuit-line-track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, 0.1);
}

.circuit-line-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #ffffff, rgba(255, 255, 255, 0.5));
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.35);
  transition: height 0.15s linear;
}

.meth-step {
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  align-items: center;
  position: relative;
  z-index: 1;
}

.meth-left {
  text-align: right;
  padding-right: 1.5rem;
}

.meth-right {
  text-align: left;
  padding-left: 1.5rem;
}

.meth-center {
  display: flex;
  justify-content: center;
}

.circuit-node {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: var(--bg-obsidian);
  display: grid;
  place-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--text-secondary);
  transition: all 0.4s var(--ease-out-expo);
}

.circuit-node.active {
  background: #ffffff;
  color: #070707;
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.75);
}

.step-content {
  opacity: 0.28;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s var(--ease-out-expo);
}

.step-content.is-active {
  opacity: 1;
  transform: translateY(0);
}

.step-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.step-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   WHITEPAPER & CONTACT / LEAD CAPTURE CONSOLE
   ========================================================================== */

.whitepaper-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 7rem);
}

.whitepaper-download {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 15px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: #ffffff;
  color: #070707;
  font: 600 11px "JetBrains Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}

.whitepaper-download:hover {
  background: transparent;
  color: #ffffff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  align-items: start;
  gap: clamp(2.5rem, 5vw, 6.5rem);
}

.contact-headline {
  font-size: clamp(2.75rem, min(6.5vw, 8.5vh), 5.8rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
}

.contact-subcopy {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 32rem;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.65rem;
  margin-top: 2.25rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-secondary);
  font: 500 10px "JetBrains Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-width: 0;
  overflow: hidden;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.contact-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  flex-shrink: 0;
}

.contact-link:hover {
  background: #ffffff;
  color: #070707;
  border-color: #ffffff;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(14, 14, 14, 0.75);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--text-secondary);
  font: 500 10px "JetBrains Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-field-wide {
  grid-column: 1 / -1;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  color: #ffffff;
  background: rgba(8, 8, 8, 0.8);
  font: 400 14px "Inter", sans-serif;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.contact-field input.is-invalid,
.contact-field textarea.is-invalid {
  border-color: var(--danger);
}

.field-error {
  color: var(--danger);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: none;
  min-height: 14px;
}

.contact-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.contact-submit {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
  padding: 0 1.35rem;
  border-radius: 8px;
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #070707;
  font: 600 11px "JetBrains Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.contact-submit:hover {
  background: transparent;
  color: #ffffff;
}

.btn-json-preview {
  min-height: 3.25rem;
  padding: 0 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-json-preview:hover {
  border-color: var(--border-hover);
  color: #ffffff;
}

.contact-note {
  margin: 0;
  color: var(--text-muted);
  font: 400 11px/1.5 "JetBrains Mono", monospace;
}

.contact-note.is-success {
  color: var(--accent-emerald);
}

.inquiry-json-preview {
  margin: 0;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: #050505;
  color: var(--text-secondary);
  font: 400 11px/1.5 "JetBrains Mono", monospace;
  overflow-x: auto;
}

.site-footer {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-meta {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: right;
}

.footer-meta p {
  margin: 0;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATION STATES (IntersectionObserver)
   ========================================================================== */

.reveal-on-scroll,
.project-motion-enabled .project-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease-out-expo), transform 0.75s var(--ease-out-expo);
}

.reveal-on-scroll.is-visible,
.project-motion-enabled .project-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   SUB-PAGE COMPATIBILITY (services/*, whitepaper.html)
   ========================================================================== */

section.bg-\[\#f5f5f2\],
section.bg-\[\#f5f5f2\].text-black {
  background: var(--bg-slate) !important;
  color: var(--text-primary) !important;
  border-top: 1px solid var(--border-subtle);
}

section.bg-\[\#f5f5f2\] .text-neutral-500,
section.bg-\[\#f5f5f2\] .text-neutral-600 {
  color: var(--text-secondary) !important;
}

section.bg-\[\#f5f5f2\] .border-black\/10 {
  border-color: var(--border-subtle) !important;
}

section.bg-\[\#f5f5f2\] .border-black {
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
}

section.bg-\[\#f5f5f2\] .border-black:hover {
  background: #ffffff !important;
  color: #070707 !important;
}

.service-search-page {
  max-width: 56rem;
  margin: 4rem auto 0;
}

.service-search {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.7rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.service-search svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1.5;
}

.service-search input {
  flex: 1;
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
  font: 400 13px "Inter", sans-serif;
}

.service-card-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-number {
  margin-bottom: 3rem;
  color: var(--text-muted);
  font: 400 10px "JetBrains Mono", monospace;
}

.service-trending-links,
.project-filter-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.75rem;
}

.service-trending-links button,
.project-filter-links button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text-secondary);
  background: transparent;
  font: 400 11px "JetBrains Mono", monospace;
  cursor: pointer;
}

.service-trending-links button:hover,
.project-filter-links button:hover,
.project-filter-links button.is-active {
  color: #ffffff;
  border-color: #ffffff;
}

.service-result[hidden],
.project-card[hidden] {
  display: none !important;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

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

  .col-span-4,
  .col-span-5,
  .col-span-7,
  .col-span-8 {
    grid-column: auto;
  }

  .grid-3,
  .outcomes-strip,
  .service-card-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .founder-grid,
  .whitepaper-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .founder-portrait-wrap {
    justify-self: center;
    margin-top: 1.5rem;
  }
}

@media (max-width: 820px) {

  .island-links-desktop,
  .island-divider,
  .island-shell>.island-link,
  .island-shell>.nav-dropdown {
    display: none;
  }

  .mobile-drawer-toggle {
    display: inline-flex;
  }

  .dynamic-island {
    width: calc(100vw - 24px) !important;
  }

  .island-shell {
    width: 100%;
    justify-content: space-between;
    padding: 0 4px 0 2px;
  }

  .circuit-line-track {
    left: 24px;
  }

  .meth-step {
    grid-template-columns: 48px 1fr;
    gap: 1.25rem;
  }

  .meth-left,
  .meth-right {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    padding: 0;
  }

  .meth-side:empty {
    display: none;
  }

  .meth-center {
    grid-column: 1;
    grid-row: 1;
  }
}

@media (max-width: 640px) {

  #hero::before,
  main>section:first-of-type::before {
    opacity: 0.07;
    right: 0.5rem;
    width: min(50vw, 220px);
    max-height: 45vh;
  }

  .grid-3,
  .outcomes-strip,
  .principles-grid,
  .industry-matrix,
  .hero-telemetry-grid,
  .contact-links,
  .contact-form,
  .service-card-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .industry-cell:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .section-header-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-on-scroll,
  .project-reveal,
  .step-content {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .scroll-line {
    animation: none;
  }
}


/* ==========================================================================
   UNIFIED CORPORATE FOOTER (Main Site & Blog)
   ========================================================================== */
.site-footer-corporate {
  background-color: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3.5rem 0 2rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: var(--container-max, 1280px);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col-brand .footer-brand-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
}

.footer-brand-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
}

.footer-tagline {
  font-size: 11px;
  color: #c4b5fd;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.65;
  color: #888888;
  margin-bottom: 1.25rem;
  max-width: 380px;
}

.footer-hq-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  color: #777777;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
}

.footer-dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  display: inline-block;
  flex-shrink: 0;
}

.footer-heading {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 13px;
}

.footer-nav-list a {
  color: #999999;
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-nav-list a:hover {
  color: #ffffff;
  transform: translateX(2px);
  display: inline-block;
}

.footer-status-pill {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #34d399;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 4px 10px;
  border-radius: 999px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 11px;
  color: #666666;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-sep {
  opacity: 0.3;
}

@media (max-width: 1180px) {
  .footer-columns-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem;
  }
}

@media (max-width: 640px) {
  .footer-columns-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Section 08: Insights & Research - Blog Card Visual Parity
   ========================================================================== */
#insights .insight-card.article-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  background: rgba(14, 18, 27, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  min-height: 280px;
}

#insights .insight-card.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

#insights .insight-card.article-card h3 {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 1rem 0 0.75rem;
}

#insights .insight-card.article-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 1.5rem;
  flex-grow: 1;
}

#insights .insight-card.article-card .status-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid;
  width: fit-content;
  margin-bottom: 1.25rem;
  display: inline-block;
}

#insights .insight-card.article-card .article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  margin-top: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--text-muted);
}

#insights .insight-card.article-card.series-threatscape:hover {
  border-top: 2px solid #f43f5e;
  box-shadow: 0 12px 30px rgba(244, 63, 94, 0.15);
}

#insights .insight-card.article-card.series-field-notes:hover {
  border-top: 2px solid #38bdf8;
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.15);
}

#insights .insight-card.article-card.series-cybersecurity-intelligence:hover {
  border-top: 2px solid #7c3aed;
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.15);
}

#insights .insight-card.article-card.series-regulatory-compliance:hover {
  border-top: 2px solid #f59e0b;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.15);
}

#insights .insight-card.article-card.series-automation-engineering:hover {
  border-top: 2px solid #10b981;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15);
}

#insights .insight-card.article-card.series-research-whitepapers:hover {
  border-top: 2px solid #c4b5fd;
  box-shadow: 0 12px 30px rgba(196, 181, 253, 0.15);
}

/* Featured Grid Dynamic Column Balancing */
#insights-grid.featured-single,
#featured-projects-grid.featured-single {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}

#insights-grid.featured-dual,
#featured-projects-grid.featured-dual {
  grid-template-columns: repeat(2, minmax(0, 480px));
  justify-content: center;
}

#insights-grid.featured-trio,
#featured-projects-grid.featured-trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1080px) and (min-width: 721px) {
  #featured-projects-grid.featured-trio,
  #insights-grid.featured-trio {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #featured-projects-grid.featured-trio > :nth-child(3),
  #insights-grid.featured-trio > :nth-child(3) {
    grid-column: 1 / -1;
    max-width: 600px;
    margin-inline: auto;
    width: 100%;
  }
}

@media (max-width: 720px) {
  #insights-grid.featured-dual,
  #insights-grid.featured-trio,
  #featured-projects-grid.featured-dual,
  #featured-projects-grid.featured-trio {
    grid-template-columns: 1fr;
  }
}

/* Featured Cover Wrapper & Fallback Styling */
#insights .insight-card.article-card .insight-cover-wrap {
  width: calc(100% + 4rem);
  margin: -2rem -2rem 1.25rem -2rem;
  height: 180px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#insights .insight-card.article-card .insight-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

#insights .insight-card.article-card:hover .insight-cover-img {
  transform: scale(1.05);
}

#insights .insight-card.article-card .insight-cover-fallback {
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

#insights .insight-card.article-card .insight-cover-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

#insights .insight-card.article-card .insight-cover-kicker {
  font-size: 9px;
  letter-spacing: 0.14em;
  opacity: 0.85;
}

#insights .insight-card.article-card:focus-visible {
  outline: 2px solid var(--accent-purple, #c4b5fd);
  outline-offset: 3px;
  border-color: rgba(255, 255, 255, 0.4);
}

#insights .insight-card.article-card .article-read-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#insights .insight-card.article-card:hover .article-read-action {
  transform: translateX(3px);
  opacity: 1;
}

/* Section 08 Loading Skeleton & Error States */
.insights-skeleton-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: rgba(14, 18, 27, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.skeleton-shimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 100%
  );
  background-size: 200% 100%;
  animation: skeletonShimmer 1.8s infinite ease-in-out;
  border-radius: 4px;
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-cover {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  margin-bottom: 1.25rem;
}

.skeleton-pill {
  width: 90px;
  height: 18px;
  margin-bottom: 1rem;
}

.skeleton-title {
  width: 85%;
  height: 24px;
  margin-bottom: 0.75rem;
}

.skeleton-text {
  width: 100%;
  height: 48px;
  margin-bottom: 1.5rem;
}

.skeleton-meta {
  width: 60%;
  height: 14px;
  margin-top: auto;
}

.insights-error-state {
  grid-column: 1 / -1;
  padding: 2.5rem 1rem;
  border: 1px solid rgba(244, 63, 94, 0.25);
  border-radius: 12px;
  background: rgba(244, 63, 94, 0.03);
}

/* ==========================================================================
   ULTRAWIDE, 4K & TELEVISION LARGE CANVAS CONSTRAINTS
   ========================================================================== */
@media (min-width: 2560px) {
  :root {
    --container-max: min(1440px, 86vw);
  }
  .hero-title {
    max-width: 68rem;
  }
  .hero-desc {
    max-width: 46rem;
  }
}
