/* ====================================
   FOUNDRY LABS - STYLES
   Modern, cinematic, dark theme
   ==================================== */

/* ====================================
   RESET & BASE
   ==================================== */

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

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

/* Custom text selection colors */
::selection {
  background: #4a5568;
  color: #ff4b6b;
}

::-moz-selection {
  background: #4a5568;
  color: #ff4b6b;
}

/* ====================================
   CSS VARIABLES / DESIGN TOKENS
   ==================================== */

:root {
  /* Colors */
  --bg: #050812;
  --bg-elevated: #0b1020;
  --bg-soft: #080d18;
  --text-main: #f5f7ff;
  --text-muted: #8b93b5;
  --accent: #4f8bff;
  --accent-soft: #2ad3ff;
  --border-subtle: #1a2236;
  --border-strong: #3d4b7a;
  --danger: #ff4b6b;
  --success: #34d399;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.55);
  --shadow-glow-accent: 0 0 40px rgba(79, 139, 255, 0.45);
  --shadow-glow-subtle: 0 0 20px rgba(79, 139, 255, 0.2);

  /* Transitions */
  --transition-fast: 150ms ease-out;
  --transition-med: 220ms ease-out;
  --transition-slow: 400ms ease-out;

  /* Spacing */
  --spacing-section-mobile: 64px;
  --spacing-section-desktop: 96px;
  --max-content-width: 1280px;
}

/* ====================================
   TYPOGRAPHY
   ==================================== */

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

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

h1, h2, h3, .section-title, .section-subtitle {
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: 0.04em;
  font-weight: 600;
  line-height: 1.2;
}

.section-label {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* ====================================
   NAVIGATION
   ==================================== */

.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 8, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-main);
}

.nav-logo-img {
  width: 28px;
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 0 8px rgba(79, 139, 255, 0.3));
}

.nav-logo-text {
  display: inline-block;
}

.logo-space {
  margin: 0 0.15em;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-med);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--text-main);
}

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

.nav-link.active {
  color: var(--accent);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  font-family: inherit;
}

.lang-btn:hover {
  color: var(--text-main);
  background: rgba(79, 139, 255, 0.1);
}

.lang-btn--active {
  color: var(--accent);
  font-weight: 600;
}

.lang-divider {
  color: var(--border-subtle);
  font-size: 0.875rem;
}

/* Mobile Nav */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0.75rem 1rem;
  }

  .nav-logo-text {
    font-size: 0.9rem;
  }

  .nav-logo-img {
    width: 24px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: rgba(11, 16, 32, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    border-left: 1px solid var(--border-subtle);
    transition: right var(--transition-slow);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.125rem;
    padding: 0.5rem 0;
  }

  .lang-switcher {
    display: flex;
    margin-left: 0;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
  }
}

/* ====================================
   SECTION SELECTOR (Option A - Radials)
   ==================================== */

.section-selector {
  position: fixed;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.selector-node {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0;
  transition: all var(--transition-med);
}

.node-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--border-subtle);
  box-shadow: 0 0 16px rgba(79, 139, 255, 0.15);
  transition: all var(--transition-med);
  position: relative;
}

.node-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition-med);
  white-space: nowrap;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.05em;
}

.selector-node:hover .node-circle,
.selector-node:focus .node-circle {
  transform: scale(1.2);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow-subtle);
}

.selector-node:hover .node-label,
.selector-node:focus .node-label {
  opacity: 1;
  transform: translateX(0);
}

.selector-node--active .node-circle {
  width: 18px;
  height: 18px;
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: var(--shadow-glow-accent);
}

.selector-node--active .node-label {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent-soft);
  font-weight: 600;
}

/* Hide section selector on narrow screens to prevent overlap */
@media (max-width: 1200px) {
  .section-selector {
    display: none;
  }
}

/* ====================================
   MAIN LAYOUT
   ==================================== */

main {
  padding-top: 80px;
  margin-left: 0;
}

.section {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: var(--spacing-section-mobile) 1.5rem;
}

@media (min-width: 768px) {
  .section {
    padding: var(--spacing-section-desktop) 3rem;
  }
}

.section-container {
  width: 100%;
}

/* Section reveal animations */
.section--hidden {
  opacity: 0;
  transform: translateY(20px);
}

.section--visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

/* ====================================
   HERO SECTION
   ==================================== */

.section-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
  position: relative;
}

.hero-content {
  z-index: 2;
  position: relative;
  max-width: 55%;
}

@media (max-width: 1023px) {
  .hero-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .hero-content {
    max-width: 100%;
    order: 2;
  }

  .hero-visual {
    order: 1;
  }
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.title-space {
  margin: 0 0.08em;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--accent-soft);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(250px, 30vw, 450px);
  height: auto;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 1023px) {
  .hero-visual {
    position: relative;
    width: 100%;
    max-width: 250px;
    height: 250px;
    transform: none;
    top: auto;
    right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero-visual {
    max-width: 200px;
    height: 200px;
  }
}

.gradient-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(79, 139, 255, 0.4) 0%, rgba(42, 211, 255, 0.2) 30%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.8;
  animation: orb-drift 20s ease-in-out infinite;
}

@keyframes orb-drift {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  25% {
    transform: translate3d(30px, -40px, 0) scale(1.1);
  }
  50% {
    transform: translate3d(-20px, 30px, 0) scale(0.95);
  }
  75% {
    transform: translate3d(40px, 20px, 0) scale(1.05);
  }
}

.network-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.15;
}

.network-lines::before,
.network-lines::after {
  content: '';
  position: absolute;
  background: var(--accent);
}

.network-lines::before {
  width: 1px;
  height: 200px;
  top: 20%;
  left: 30%;
  animation: line-pulse 3s ease-in-out infinite;
}

.network-lines::after {
  width: 150px;
  height: 1px;
  top: 60%;
  right: 25%;
  animation: line-pulse 3s ease-in-out infinite 1.5s;
}

@keyframes line-pulse {
  0%, 100% {
    opacity: 0.15;
  }
  50% {
    opacity: 0.4;
  }
}

@media (max-width: 1023px) {
  .gradient-orb {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .gradient-orb {
    width: 160px;
    height: 160px;
  }
}

/* Hero Logo */
.hero-logo {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(200px, 28vw, 420px);
  height: auto;
  opacity: 0.65;
  z-index: 3;
  animation: firelight-flicker 60s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(255, 140, 60, 0.6)) 
          drop-shadow(0 0 40px rgba(255, 80, 20, 0.4));
}

/* Firelight flickering effect */
@keyframes firelight-flicker {
  0% {
    opacity: 0.65;
    filter: drop-shadow(0 0 20px rgba(255, 140, 60, 0.6)) 
            drop-shadow(0 0 40px rgba(255, 80, 20, 0.4))
            brightness(1) contrast(1);
  }
  2% {
    opacity: 0.55;
    filter: drop-shadow(0 0 15px rgba(255, 120, 50, 0.5)) 
            drop-shadow(0 0 30px rgba(255, 70, 15, 0.35))
            brightness(0.9) contrast(1.05);
  }
  4% {
    opacity: 0.7;
    filter: drop-shadow(0 0 25px rgba(255, 150, 70, 0.7)) 
            drop-shadow(0 0 45px rgba(255, 90, 25, 0.45))
            brightness(1.1) contrast(0.98);
  }
  8% {
    opacity: 0.6;
    filter: drop-shadow(0 0 18px rgba(255, 130, 55, 0.55)) 
            drop-shadow(0 0 35px rgba(255, 75, 18, 0.38))
            brightness(0.95) contrast(1.02);
  }
  12% {
    opacity: 0.75;
    filter: drop-shadow(0 0 28px rgba(255, 160, 80, 0.75)) 
            drop-shadow(0 0 50px rgba(255, 100, 30, 0.5))
            brightness(1.15) contrast(0.95);
  }
  16% {
    opacity: 0.58;
    filter: drop-shadow(0 0 16px rgba(255, 125, 52, 0.52)) 
            drop-shadow(0 0 32px rgba(255, 72, 16, 0.36))
            brightness(0.92) contrast(1.04);
  }
  20% {
    opacity: 0.68;
    filter: drop-shadow(0 0 22px rgba(255, 145, 65, 0.65)) 
            drop-shadow(0 0 42px rgba(255, 85, 22, 0.42))
            brightness(1.05) contrast(0.99);
  }
  25% {
    opacity: 0.52;
    filter: drop-shadow(0 0 14px rgba(255, 115, 48, 0.48)) 
            drop-shadow(0 0 28px rgba(255, 68, 14, 0.32))
            brightness(0.88) contrast(1.06);
  }
  30% {
    opacity: 0.72;
    filter: drop-shadow(0 0 26px rgba(255, 155, 75, 0.7)) 
            drop-shadow(0 0 48px rgba(255, 95, 28, 0.48))
            brightness(1.12) contrast(0.96);
  }
  35% {
    opacity: 0.62;
    filter: drop-shadow(0 0 19px rgba(255, 135, 58, 0.58)) 
            drop-shadow(0 0 36px rgba(255, 78, 20, 0.4))
            brightness(0.98) contrast(1.01);
  }
  40% {
    opacity: 0.67;
    filter: drop-shadow(0 0 23px rgba(255, 148, 68, 0.66)) 
            drop-shadow(0 0 43px rgba(255, 88, 24, 0.43))
            brightness(1.08) contrast(0.97);
  }
  45% {
    opacity: 0.56;
    filter: drop-shadow(0 0 17px rgba(255, 122, 51, 0.51)) 
            drop-shadow(0 0 33px rgba(255, 71, 17, 0.35))
            brightness(0.91) contrast(1.05);
  }
  50% {
    opacity: 0.7;
    filter: drop-shadow(0 0 24px rgba(255, 152, 72, 0.68)) 
            drop-shadow(0 0 46px rgba(255, 92, 26, 0.46))
            brightness(1.1) contrast(0.98);
  }
  55% {
    opacity: 0.6;
    filter: drop-shadow(0 0 18px rgba(255, 128, 54, 0.54)) 
            drop-shadow(0 0 34px rgba(255, 74, 19, 0.37))
            brightness(0.96) contrast(1.02);
  }
  60% {
    opacity: 0.73;
    filter: drop-shadow(0 0 27px rgba(255, 158, 78, 0.72)) 
            drop-shadow(0 0 49px rgba(255, 98, 29, 0.49))
            brightness(1.13) contrast(0.95);
  }
  65% {
    opacity: 0.59;
    filter: drop-shadow(0 0 16px rgba(255, 124, 50, 0.5)) 
            drop-shadow(0 0 31px rgba(255, 70, 15, 0.34))
            brightness(0.93) contrast(1.04);
  }
  70% {
    opacity: 0.66;
    filter: drop-shadow(0 0 21px rgba(255, 142, 63, 0.63)) 
            drop-shadow(0 0 40px rgba(255, 82, 21, 0.41))
            brightness(1.04) contrast(0.99);
  }
  75% {
    opacity: 0.54;
    filter: drop-shadow(0 0 15px rgba(255, 118, 49, 0.49)) 
            drop-shadow(0 0 29px rgba(255, 69, 14, 0.33))
            brightness(0.89) contrast(1.06);
  }
  80% {
    opacity: 0.69;
    filter: drop-shadow(0 0 23px rgba(255, 146, 66, 0.66)) 
            drop-shadow(0 0 44px rgba(255, 86, 23, 0.44))
            brightness(1.07) contrast(0.97);
  }
  85% {
    opacity: 0.61;
    filter: drop-shadow(0 0 19px rgba(255, 132, 56, 0.56)) 
            drop-shadow(0 0 37px rgba(255, 76, 18, 0.39))
            brightness(0.97) contrast(1.01);
  }
  90% {
    opacity: 0.71;
    filter: drop-shadow(0 0 25px rgba(255, 154, 74, 0.7)) 
            drop-shadow(0 0 47px rgba(255, 94, 27, 0.47))
            brightness(1.11) contrast(0.96);
  }
  95% {
    opacity: 0.63;
    filter: drop-shadow(0 0 20px rgba(255, 138, 60, 0.6)) 
            drop-shadow(0 0 38px rgba(255, 80, 20, 0.4))
            brightness(1.01) contrast(1);
  }
  100% {
    opacity: 0.65;
    filter: drop-shadow(0 0 20px rgba(255, 140, 60, 0.6)) 
            drop-shadow(0 0 40px rgba(255, 80, 20, 0.4))
            brightness(1) contrast(1);
  }
}

@media (max-width: 1023px) {
  .hero-logo {
    position: relative;
    right: auto;
    top: auto;
    width: 80%;
    max-width: 200px;
    margin: 0 auto;
    transform: none;
    opacity: 0.7;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    width: 70%;
    max-width: 160px;
    opacity: 0.65;
  }
}

/* ====================================
   BUTTONS
   ==================================== */

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-med);
  cursor: pointer;
  border: none;
  font-family: inherit;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 0 rgba(79, 139, 255, 0);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--accent-soft);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-glow-accent);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: translateX(-100%);
  transition: transform var(--transition-med);
}

.btn-secondary:hover::before,
.btn-secondary:focus::before {
  transform: translateX(0);
}

.btn-secondary:hover,
.btn-secondary:focus {
  border-color: var(--accent);
  color: var(--accent-soft);
}

/* ====================================
   WHAT WE BUILD SECTION
   ==================================== */

.section-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .section-intro {
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
  }
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--accent-soft);
  margin-bottom: 1rem;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 600px;
}

/* Capabilities Grid */
.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.capability-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--transition-med);
}

.capability-card:hover,
.capability-card:focus-within {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-subtle);
}

.capability-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.capability-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ====================================
   INDUSTRIES SECTION
   ==================================== */

.industries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.industry-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-med);
}

.industry-panel:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.panel-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--accent-soft);
}

.industry-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.industry-list li {
  color: var(--text-muted);
  font-size: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.industry-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* ====================================
   HOW WE WORK SECTION
   ==================================== */

.work-content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 3rem;
}

.work-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.work-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.emphasis-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .emphasis-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .emphasis-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.emphasis-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-med);
}

.emphasis-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.emphasis-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.emphasis-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.emphasis-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-main);
}

/* ====================================
   LEADERSHIP SECTION
   ==================================== */

.leadership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.leader-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-med);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.leader-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-subtle);
}

.leader-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-strong);
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-name {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.leader-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.leader-title {
  display: inline-block;
  font-size: 0.875rem;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-soft);
  background: rgba(79, 139, 255, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0;
}

.leader-bio {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

.leader-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  text-decoration: none;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.leader-link svg {
  width: 20px;
  height: 20px;
}

.leader-link:hover,
.leader-link:focus {
  color: var(--accent-soft);
  transform: scale(1.1);
}

/* ====================================
   CONTACT FORM SECTION
   ==================================== */

.section-contact .section-description {
  color: var(--accent-soft);
  font-weight: 500;
  font-size: 1.25rem;
}

.contact-form {
  max-width: 640px;
  margin: 3rem auto 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.form-group label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-main);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 139, 255, 0.1);
}

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

.form-error {
  font-size: 0.875rem;
  color: var(--danger);
  min-height: 1.25rem;
  display: block;
}

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  border-color: var(--danger);
}

.btn-submit {
  width: 100%;
  margin-top: 1rem;
  position: relative;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-feedback {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
}

.form-feedback.error {
  display: block;
  background: rgba(255, 75, 107, 0.1);
  border: 1px solid var(--danger);
  color: var(--danger);
}

/* ====================================
   FOOTER
   ==================================== */

.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  padding: 2rem 1.5rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: var(--max-content-width);
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ====================================
   MOUSE GLOW CURSOR EFFECT
   ==================================== */

.glow-cursor {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  top: 0;
  left: 0;
  background: radial-gradient(
    ellipse 100% 100% at 50% 50%,
    rgba(79, 139, 255, 0.18) 0%,
    rgba(42, 211, 255, 0.12) 25%,
    rgba(79, 139, 255, 0.08) 50%,
    rgba(42, 211, 255, 0.04) 70%,
    transparent 100%
  );
  filter: blur(40px);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.6s ease-out;
  will-change: transform, opacity;
}

.glow-cursor.active {
  opacity: 1;
}

/* Disable on mobile/touch devices */
@media (hover: none) and (pointer: coarse) {
  .glow-cursor {
    display: none;
  }
}

/* Disable on mobile/touch devices */
@media (hover: none) and (pointer: coarse) {
  .glow-cursor {
    display: none;
  }
}

@media (max-width: 768px) {
  .glow-cursor {
    display: none;
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .glow-cursor {
    animation: none !important;
    transition: none !important;
  }
}

/* ====================================
   UTILITY CLASSES
   ==================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}