/* ==========================================================================
   HIRMATIC — PREMIER TALENT INTELLIGENCE DESIGN SYSTEM
   Visual Architecture: Strict 60 : 30 : 10 Executive Editorial Palette
   - 60% Primary Background: Pearly Mist (#F2F1EC)
   - 30% Primary Structure / Text / Dark Sections: Deep Plum (#2A1A30)
   - 10% Accent: Signal Coral (#FF5A5F)
   Typography: Plus Jakarta Sans (Headings) + Inter (Body) + JetBrains Mono (Telemetry)
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. CENTRALIZED SEMANTIC DESIGN TOKENS (60 : 30 : 10 SYSTEM)
   -------------------------------------------------------------------------- */
:root {
  /* 60% — PRIMARY BACKGROUND: Pearly Mist (#F2F1EC) */
  --color-bg-primary: #F2F1EC;              /* Pearly Mist dominant page canvas */
  --color-bg-surface: #FAF9F6;              /* Warm elevated cream surface */
  --color-bg-surface-subtle: #EAE8E1;       /* Subtle architectural tonal variation */
  --color-bg-surface-muted: #E2DFD6;        /* Deeper tonal surface */
  --color-bg-card: #FAF9F6;                 /* Editorial card background on light */
  --color-bg-card-hover: #FFFFFF;           /* Card hover state */
  --color-bg-glass: rgba(242, 241, 236, 0.94); /* Frosted Pearly Mist for header */
  --color-bg-glass-card: rgba(250, 249, 246, 0.88);

  /* 30% — PRIMARY STRUCTURE / TEXT / DARK TRANSITIONS: Deep Plum (#2A1A30) */
  --color-bg-dark: #2A1A30;                 /* Deep Plum for dark sections & footer */
  --color-bg-dark-surface: #35213D;          /* Elevated surface in Plum sections */
  --color-bg-dark-card: #331F3B;             /* Editorial card in Plum sections */
  --color-bg-dark-card-hover: #3E2648;       /* Hover card in Plum sections */
  --color-bg-dark-glass: rgba(42, 26, 48, 0.94); /* Frosted Deep Plum */

  /* Light Section Typography (On Pearly Mist) */
  --color-text-primary: #2A1A30;            /* Deep Plum primary headings & major text */
  --color-text-secondary: #5E4E64;          /* Softened Plum for secondary text */
  --color-text-muted: #837489;              /* Restrained Plum for captions & metadata */

  /* Dark Section Typography (On Deep Plum) */
  --color-text-light: #F2F1EC;              /* Pearly Mist primary text on dark */
  --color-text-light-secondary: rgba(242, 241, 236, 0.82); /* Softened Pearly Mist */
  --color-text-light-muted: rgba(242, 241, 236, 0.58);     /* Muted Pearly Mist */

  /* 10% — ACCENT: Signal Coral (#FF5A5F) */
  --color-accent: #FF5A5F;                  /* Signal Coral */
  --color-accent-hover: #E6494E;            /* Deeper richer coral for hover states */
  --color-accent-glow: rgba(255, 90, 95, 0.28);
  --color-accent-subtle: rgba(255, 90, 95, 0.10);
  --color-accent-border: rgba(255, 90, 95, 0.35);

  /* Borders & Dividers */
  --color-border: rgba(42, 26, 48, 0.12);            /* Thin Deep Plum hairline */
  --color-border-subtle: rgba(42, 26, 48, 0.07);     /* Ultra-subtle hairline */
  --color-border-card: rgba(42, 26, 48, 0.10);       /* Light card border */
  --color-border-card-hover: rgba(42, 26, 48, 0.28); /* Light card hover border */
  --color-border-dark: rgba(242, 241, 236, 0.12);    /* Dark section hairline */
  --color-border-dark-hover: rgba(255, 90, 95, 0.45);/* Dark card hover border with coral */

  /* Backward Compatibility Aliases */
  --bg-primary: var(--color-bg-primary);
  --bg-surface: var(--color-bg-surface);
  --bg-surface-elevated: var(--color-bg-surface-subtle);
  --bg-card: var(--color-bg-card);
  --bg-card-hover: var(--color-bg-card-hover);
  --bg-glass: var(--color-bg-glass);
  --bg-glass-card: var(--color-bg-glass-card);

  --text-primary: var(--color-text-primary);
  --text-secondary: var(--color-text-secondary);
  --text-muted: var(--color-text-muted);
  --text-accent: var(--color-accent);

  --accent-gold: var(--color-accent);
  --accent-gold-light: var(--color-accent);
  --accent-gold-glow: var(--color-accent-glow);
  --accent-bronze: var(--color-accent-hover);
  --accent-sage: var(--color-text-secondary);
  --accent-sage-light: var(--color-accent);
  --accent-platinum: var(--color-text-muted);

  --border-hairline: var(--color-border);
  --border-card: var(--color-border-card);
  --border-card-hover: var(--color-border-card-hover);
  --border-gold: var(--color-accent-border);

  /* Typography Stacks */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: var(--font-body);
  --font-editorial: var(--font-heading);
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(42, 26, 48, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(42, 26, 48, 0.08);
  --shadow-lg: 0 12px 32px -4px rgba(42, 26, 48, 0.12);
  --shadow-dark: 0 20px 48px -8px rgba(20, 10, 24, 0.5);

  /* Motion Curves */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   02. RESET & FOUNDATIONAL BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  width: 100%;
}

body {
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  overflow-x: clip;
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

::selection {
  background-color: rgba(255, 90, 95, 0.25);
  color: var(--color-text-primary);
}

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

/* Strict constraint on all logos to prevent blowout bugs */
header img, .header-logo, .brand-logo, img[src*="logo.png"], img[alt*="Hirmatic"], img[alt*="HirMatic"] {
  height: 30px !important;
  max-height: 30px !important;
  width: auto !important;
  object-fit: contain;
  display: inline-block;
}

footer img {
  height: 26px !important;
  max-height: 26px !important;
  width: auto !important;
  object-fit: contain;
}

a {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color 0.2s var(--ease-in-out), opacity 0.2s var(--ease-in-out);
}

a:hover {
  color: var(--color-accent);
}

/* Scroll Reading Progress Bar at the top of the viewport */
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent-glow);
  z-index: 99999;
  transition: width 0.08s linear;
}

/* Ambient Subtle Grain & Architectural Depth Sheen */
.editorial-ambient-mesh {
  background: 
    radial-gradient(ellipse 65% 50% at 50% -10%, rgba(255, 90, 95, 0.04), transparent 70%),
    radial-gradient(ellipse 50% 40% at 90% 40%, rgba(42, 26, 48, 0.03), transparent 60%),
    radial-gradient(ellipse 60% 45% at 10% 80%, rgba(255, 90, 95, 0.03), transparent 70%);
}

.editorial-grain {
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   03. TYPOGRAPHY ENGINE (PLUS JAKARTA SANS + INTER + JETBRAINS MONO)
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6,
.font-heading, .font-editorial {
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

h1 {
  font-weight: 800; /* ExtraBold for major hero headlines */
  line-height: 1.08;
}

h2 {
  font-weight: 700; /* Bold for section headings */
  line-height: 1.15;
}

h3 {
  font-weight: 600; /* SemiBold */
  line-height: 1.25;
}

p, body, .font-body, .font-sans {
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  line-height: 1.65;
  letter-spacing: 0;
}

.font-editorial-italic {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
}

.font-mono {
  font-family: var(--font-mono);
}

.editorial-accent {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  color: var(--color-accent);
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Eyebrow and small uppercase telemetry */
.eyebrow-text, .mono-amber {
  font-family: var(--font-mono);
  color: var(--color-accent);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
}

/* --------------------------------------------------------------------------
   04. NAVIGATION & MASTER HEADER
   -------------------------------------------------------------------------- */
.header-elevated-glass {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 72px !important;
  z-index: 1000 !important;
  background-color: var(--color-bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s var(--ease-out-expo);
}

.header-elevated-glass.scrolled {
  background-color: rgba(11, 13, 14, 0.96) !important;
  border-bottom-color: rgba(242, 239, 232, 0.12) !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6) !important;
  height: 64px !important;
}

.header-inner-container {
  width: 100%;
  max-width: 1240px !important;
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 3.5vw, 40px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
}

.header-brand-link {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.header-nav-cluster {
  display: flex !important;
  align-items: center !important;
  gap: 1.25rem;
}

.desktop-nav {
  display: none;
}

@media (min-width: 1120px) {
  .desktop-nav {
    display: flex !important;
    align-items: center !important;
    gap: 4px;
  }
  .mobile-toggle {
    display: none !important;
  }
}

.nav-link-elevated {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 0.2s var(--ease-in-out);
  white-space: nowrap;
}

.nav-link-elevated:hover {
  color: var(--color-text-primary);
  background-color: rgba(42, 26, 48, 0.05);
}

.nav-link-elevated.active {
  color: #DE5526 !important;
  background-color: rgba(222, 85, 38, 0.08) !important;
}

/* Header CTA Button (Direction E Tactile Ink) */
.btn-header-cta {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FAF7F2 !important;
  background: #12181A !important;
  padding: 9px 20px;
  border-radius: 2px;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
  border: 1px solid #12181A !important;
  box-shadow: 0 2px 8px rgba(18, 24, 26, 0.12);
  transition: all 0.25s var(--ease-out-expo);
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.btn-header-cta:hover {
  background: #252F33 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(18, 24, 26, 0.2);
}

/* Mobile Drawer Modal */
.mobile-drawer {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  background-color: var(--color-bg-primary);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 2.5rem 2rem 3rem !important;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out-expo);
  border-left: 1px solid var(--color-border);
}

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

/* Suppress all legacy mobile drawers */
.mobile-nav-drawer, .mobile-nav-overlay, #mobile-nav-drawer, #mobile-nav-overlay {
  display: none !important;
}

/* --------------------------------------------------------------------------
   05. BUTTONS & INTERACTIVE CONTROLS
   -------------------------------------------------------------------------- */
/* Primary CTA (Signal Coral) */
.btn-gold, .btn-amber, .btn-primary {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #FFFFFF !important;
  background: var(--color-accent) !important;
  padding: 12px 24px;
  border-radius: 6px;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 16px var(--color-accent-glow);
  transition: all 0.25s var(--ease-out-expo);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.btn-gold:hover, .btn-amber:hover, .btn-primary:hover {
  background: var(--color-accent-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 90, 95, 0.40);
}

/* Secondary CTA (Deep Plum Outline / Border) */
.btn-outline-bone, .btn-secondary {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-primary) !important;
  background-color: transparent !important;
  padding: 11px 22px;
  border-radius: 6px;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
  border: 1px solid var(--color-text-primary) !important;
  transition: all 0.25s var(--ease-out-expo);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.btn-outline-bone:hover, .btn-secondary:hover {
  background-color: var(--color-text-primary) !important;
  color: var(--color-bg-primary) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(42, 26, 48, 0.15);
}

/* Tertiary Ghost CTA */
.btn-ghost-cyan, .btn-ghost {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary) !important;
  background-color: transparent !important;
  padding: 11px 20px;
  border-radius: 6px;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
  border: 1px solid var(--color-border);
  transition: all 0.25s var(--ease-out-expo);
  cursor: pointer;
  text-decoration: none;
}

.btn-ghost-cyan:hover, .btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent) !important;
  background-color: var(--color-accent-subtle);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   06. PILLS, BADGES & STATUS INDICATORS
   -------------------------------------------------------------------------- */
.badge-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.badge-pill-gold {
  background-color: var(--color-accent-subtle);
  color: var(--color-accent);
  border: 1px solid var(--color-accent-border);
}

.badge-pill-cyan, .badge-pill-sage {
  background-color: rgba(42, 26, 48, 0.06);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}

/* --------------------------------------------------------------------------
   07. EDITORIAL CARDS & SURFACES
   -------------------------------------------------------------------------- */
.glass-card, .editorial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo), background-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.glass-card:hover, .editorial-card:hover {
  transform: translateY(-3px);
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-card-hover);
  box-shadow: var(--shadow-md), 0 0 20px rgba(255, 90, 95, 0.06);
}

/* Card Spotlight Shimmer (Mouse-Aware) */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(400px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(255, 90, 95, 0.05), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.glass-card:hover::before {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   08. DARK SECTIONS ARCHITECTURE (DEEP PLUM #2A1A30 RHYTHM)
   -------------------------------------------------------------------------- */
.section-dark {
  background-color: var(--color-bg-dark) !important;
  color: var(--color-text-light) !important;
  border-color: var(--color-border-dark) !important;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark .text-plum,
.section-dark .text-white {
  color: var(--color-text-light) !important;
}

.section-dark p,
.section-dark .text-plum-secondary,
.section-dark .text-secondary,
.section-dark .text-muted {
  color: var(--color-text-light-secondary) !important;
}

.section-dark .glass-card,
.section-dark .editorial-card {
  background: var(--color-bg-dark-card) !important;
  border: 1px solid var(--color-border-dark) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

.section-dark .glass-card:hover,
.section-dark .editorial-card:hover {
  background: var(--color-bg-dark-card-hover) !important;
  border-color: var(--color-border-dark-hover) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(255, 90, 95, 0.15) !important;
}

.section-dark .badge-pill-cyan,
.section-dark .badge-pill-sage {
  background-color: rgba(242, 241, 236, 0.08);
  color: var(--color-text-light);
  border-color: rgba(242, 241, 236, 0.15);
}

.section-dark .badge-pill-gold {
  background-color: var(--color-accent-subtle);
  color: var(--color-accent);
  border-color: var(--color-accent-border);
}

/* --------------------------------------------------------------------------
   09. MOTION & SCROLL REVEALS
   -------------------------------------------------------------------------- */
@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-anim-1 { animation: heroEntrance 0.8s var(--ease-out-expo) 0.05s forwards; }
.hero-anim-2 { animation: heroEntrance 0.8s var(--ease-out-expo) 0.18s forwards; }
.hero-anim-3 { animation: heroEntrance 0.8s var(--ease-out-expo) 0.30s forwards; }
.hero-anim-4 { animation: heroEntrance 0.8s var(--ease-out-expo) 0.42s forwards; }

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
  will-change: opacity, transform;
}

html.js-motion-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.20s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.30s; }

/* Range Slider (Signal Coral Thumb) */
input[type="range"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 100% !important;
  height: 6px !important;
  background: var(--color-bg-surface-muted) !important;
  border-radius: 6px !important;
  outline: none !important;
  margin: 12px 0 !important;
  border: 1px solid var(--color-border) !important;
  cursor: pointer !important;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: var(--color-accent) !important;
  cursor: pointer !important;
  border: 2px solid #FFFFFF !important;
  box-shadow: 0 0 12px var(--color-accent-glow) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.18) !important;
  box-shadow: 0 0 18px var(--color-accent) !important;
}

input[type="range"]::-moz-range-thumb {
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: var(--color-accent) !important;
  cursor: pointer !important;
  border: 2px solid #FFFFFF !important;
  box-shadow: 0 0 12px var(--color-accent-glow) !important;
}

/* --------------------------------------------------------------------------
   10. INTERACTIVE PROBLEM EXPLORER & FEASIBILITY DIAL
   -------------------------------------------------------------------------- */
.problem-tab-btn {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-card);
  color: var(--color-text-secondary);
  padding: 16px 20px;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s var(--ease-out-expo);
  display: flex !important;
  flex-direction: column !important;
  gap: 6px;
  width: 100%;
}

.problem-tab-btn:hover {
  background: #FFFFFF;
  border-color: var(--color-border-card-hover);
  color: var(--color-text-primary);
  transform: translateX(4px);
}

.problem-tab-btn.active {
  background: #FFFFFF;
  border-color: var(--color-accent);
  color: var(--color-text-primary);
  box-shadow: 0 4px 20px rgba(42, 26, 48, 0.08);
}

.problem-tab-btn.active .tab-label {
  color: var(--color-accent);
}

/* Feasibility Dial Gauge */
.feasibility-dial {
  width: 96px;
  height: 96px;
  min-width: 96px;
  border-radius: 50%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative;
  background: conic-gradient(var(--color-accent) calc(var(--percent, 78) * 1%), var(--color-border) 0);
  box-shadow: 0 0 25px var(--color-accent-glow);
  transition: background 0.5s var(--ease-out-expo);
}

.feasibility-dial::after {
  content: '';
  position: absolute;
  inset: 7px;
  background-color: var(--color-bg-surface);
  border-radius: 50%;
}

.feasibility-dial span {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-primary);
}

/* --------------------------------------------------------------------------
   11. STRUCTURAL UTILITIES (PURE NATIVE CSS)
   -------------------------------------------------------------------------- */
.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.grid { display: grid !important; }
.hidden { display: none !important; }
.block { display: block !important; }
.inline-block { display: inline-block !important; }

.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.items-end { align-items: flex-end !important; }

.justify-between { justify-content: space-between !important; }
.justify-center { justify-content: center !important; }
.justify-start { justify-content: flex-start !important; }
.justify-end { justify-content: flex-end !important; }

.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }

.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-6 { gap: 1.5rem !important; }
.gap-8 { gap: 2rem !important; }
.gap-12 { gap: 3rem !important; }

.w-full { width: 100% !important; }
.h-full { height: 100% !important; }
.fixed { position: fixed !important; }
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.inset-0 { top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important; }
.top-0 { top: 0 !important; }
.left-0 { left: 0 !important; }
.pointer-events-none { pointer-events: none !important; }

.z-0 { z-index: 0 !important; }
.z-10 { z-index: 10 !important; }
.z-20 { z-index: 20 !important; }
.z-50 { z-index: 50 !important; }

.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.max-w-7xl { max-width: 1280px; margin-left: auto; margin-right: auto; }
.max-w-6xl { max-width: 1152px; margin-left: auto; margin-right: auto; }
.max-w-5xl { max-width: 1024px; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 896px;  margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 768px;  margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 672px;  margin-left: auto; margin-right: auto; }
.max-w-xl  { max-width: 576px;  margin-left: auto; margin-right: auto; }
.max-w-md  { max-width: 448px;  margin-left: auto; margin-right: auto; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }

.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-28 { padding-top: 7rem; padding-bottom: 7rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-12 > * + * { margin-top: 3rem; }
.space-y-16 > * + * { margin-top: 4rem; }

.rounded { border-radius: 6px; }
.rounded-md { border-radius: 8px; }
.rounded-lg { border-radius: 12px; }
.rounded-full { border-radius: 9999px; }

/* Metric 4-Col Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) {
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 3-Col Card Grid */
.grid-cards-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .grid-cards-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid-cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 2-Col Grid */
.grid-cards-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .grid-cards-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 12-Col Split Grid */
.grid-split-12 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .grid-split-12 {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid-split-12 > .split-5 { grid-column: span 5; }
  .grid-split-12 > .split-6 { grid-column: span 6; }
  .grid-split-12 > .split-7 { grid-column: span 7; }
}

/* Color Class Utilities */
.text-plum, .text-primary-plum { color: var(--color-text-primary) !important; }
.text-plum-secondary { color: var(--color-text-secondary) !important; }
.text-coral, .text-accent-coral { color: var(--color-accent) !important; }
.text-pearl, .text-light-pearl { color: var(--color-text-light) !important; }

.bg-pearly-mist { background-color: var(--color-bg-primary) !important; }
.bg-deep-plum { background-color: var(--color-bg-dark) !important; }
.bg-coral { background-color: var(--color-accent) !important; }
.bg-cream-surface { background-color: var(--color-bg-surface) !important; }
.bg-tonal-subtle { background-color: var(--color-bg-surface-subtle) !important; }

/* --------------------------------------------------------------------------
   12. INFINITE DOMAIN MARQUEE TICKER (DEEP PLUM ARCHITECTURAL DIVIDER)
   -------------------------------------------------------------------------- */
.ticker-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 16px 0;
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-border-dark);
  border-bottom: 1px solid var(--color-border-dark);
}

.ticker-container::before,
.ticker-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.ticker-container::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg-dark), transparent);
}

.ticker-container::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg-dark), transparent);
}

.ticker-track {
  display: inline-flex;
  animation: tickerScroll 38s linear infinite;
  gap: 2.5rem;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light-secondary);
}

.ticker-diamond {
  color: var(--color-accent);
  font-size: 8px;
}

/* --------------------------------------------------------------------------
   13. FOOTER ARCHITECTURE (DEEP PLUM #2A1A30)
   -------------------------------------------------------------------------- */
.footer-elevated-glass {
  background-color: var(--color-bg-dark) !important;
  color: var(--color-text-light) !important;
  border-top: 1px solid var(--color-border-dark);
}

.footer-elevated-glass h4 {
  color: var(--color-text-light) !important;
}

.footer-elevated-glass p,
.footer-elevated-glass .text-muted {
  color: var(--color-text-light-secondary) !important;
}

.footer-elevated-glass a {
  color: var(--color-text-light-secondary) !important;
}

.footer-elevated-glass a:hover {
  color: var(--color-accent) !important;
}

.footer-contact-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(242, 241, 236, 0.06);
  border: 1px solid var(--color-border-dark);
  border-radius: 6px;
  color: var(--color-text-light) !important;
  transition: all 0.2s var(--ease-in-out);
}

.footer-contact-pill:hover {
  background: var(--color-accent-subtle);
  border-color: var(--color-accent);
  color: var(--color-accent) !important;
}

/* --------------------------------------------------------------------------
   14. FLOATING QUICK CALIBRATION DOCK (LEAD GEN)
   -------------------------------------------------------------------------- */
.floating-calibration-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatEntrance 0.6s var(--ease-out-expo) 1.2s forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes floatEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dock-trigger-btn {
  background: var(--color-bg-dark);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-accent);
  color: var(--color-text-light);
  padding: 10px 18px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 12px 32px rgba(42, 26, 48, 0.4), 0 0 20px var(--color-accent-glow);
  cursor: pointer;
  transition: all 0.25s var(--ease-out-expo);
}

.dock-trigger-btn:hover {
  background: var(--color-accent);
  color: #FFFFFF;
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(42, 26, 48, 0.5), 0 0 30px var(--color-accent-glow);
}

.dock-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-accent);
  animation: pulseBeacon 2s infinite ease-in-out;
}

@keyframes pulseBeacon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

/* --------------------------------------------------------------------------
   15. FAST CALIBRATION MODAL
   -------------------------------------------------------------------------- */
.calibration-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 26, 48, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.calibration-modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.calibration-modal-box {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-card);
  border-radius: 12px;
  max-width: 580px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 24px 60px -12px rgba(42, 26, 48, 0.3), 0 0 40px var(--color-accent-glow);
  transform: scale(0.95);
  transition: transform 0.3s var(--ease-out-expo);
  position: relative;
  color: var(--color-text-primary);
}

.calibration-modal-overlay.is-active .calibration-modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: var(--color-text-primary);
}

/* --------------------------------------------------------------------------
   16. SPRINT STEPPER TELEMETRY INSPECTOR
   -------------------------------------------------------------------------- */
.sprint-step-card {
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}

.sprint-step-card.is-active {
  background: var(--color-accent-subtle) !important;
  border-color: var(--color-accent) !important;
  box-shadow: 0 8px 30px var(--color-accent-glow);
  transform: translateY(-4px);
}

.sprint-telemetry-panel {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-card);
  border-radius: 8px;
  padding: 24px;
  transition: all 0.35s ease;
}

.section-dark .sprint-telemetry-panel {
  background: var(--color-bg-dark-card);
  border-color: var(--color-border-dark);
}

/* --------------------------------------------------------------------------
   17. FEASIBILITY DOSSIER LEAD MAGNET CARD
   -------------------------------------------------------------------------- */
.dossier-lead-card {
  background: rgba(255, 90, 95, 0.04);
  border: 1px dashed var(--color-accent);
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 20px;
  transition: all 0.25s ease;
}

.dossier-lead-card:hover {
  background: var(--color-accent-subtle);
  border-color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   18. THE TALENT CITY — HERO BACKGROUND ANIMATION & INTERFACE
   -------------------------------------------------------------------------- */
.talent-city-hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  background-color: #0C0E14;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 20;
}

.talent-city-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  pointer-events: none;
}

.talent-city-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(circle at center, rgba(12, 14, 20, 0.15) 0%, rgba(12, 14, 20, 0.55) 70%, rgba(12, 14, 20, 0.90) 100%);
}

.talent-city-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  mix-blend-mode: overlay;
}

.talent-city-content-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  pointer-events: auto;
}

.talent-city-card {
  max-width: 760px;
  padding: 2.75rem 2.5rem;
  background: rgba(26, 20, 30, 0.78);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(242, 241, 236, 0.18);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(42, 26, 48, 0.35);
  animation: heroCardEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroCardEntrance {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.talent-city-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(242, 241, 236, 0.10);
  border: 1px solid rgba(255, 90, 95, 0.45);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: #F2F1EC;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.talent-city-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
}

.talent-city-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #F2F1EC;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 1.5rem;
}

.talent-city-heading .accent-flourish {
  color: var(--color-accent);
  font-style: italic;
  font-weight: 600;
  text-shadow: 0 0 20px var(--color-accent-glow);
}

.talent-city-propositions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background: rgba(242, 241, 236, 0.05);
  border: 1px solid rgba(242, 241, 236, 0.12);
  border-radius: 10px;
}

.prop-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prop-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  text-transform: uppercase;
}

.prop-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: #F2F1EC;
  font-weight: 500;
}

.prop-divider {
  color: rgba(242, 241, 236, 0.25);
  font-weight: 300;
}

.talent-city-cta-cluster {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.talent-city-telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 1.75rem;
  padding: 6px 14px;
  background: rgba(18, 21, 28, 0.85);
  border: 1px solid rgba(242, 241, 236, 0.15);
  border-radius: 8px;
  backdrop-filter: blur(16px);
}

.pulse-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
  animation: pulseBeacon 2s infinite ease-in-out;
}

@keyframes pulseBeacon {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.telemetry-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #F2F1EC;
  text-transform: uppercase;
}

.cinematic-track {
  position: relative;
  width: 100%;
  height: 440vh;
  background-color: var(--color-bg-dark);
}

.cinematic-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 20;
}

.cinematic-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  perspective: 1200px;
}

.cinematic-scene-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: transform, opacity;
  transform-origin: center center;
  pointer-events: none;
  overflow: hidden;
}

#scene-layer-01 {
  background-image: url('assets/hirmatic_cinema_01_horizon.jpg');
  opacity: 1;
  visibility: visible;
}

#scene-layer-02 {
  background-image: url('assets/hirmatic_cinema_02_arrival.jpg');
  opacity: 0;
  visibility: hidden;
}

#scene-layer-03 {
  background-image: url('assets/hirmatic_cinema_03_people.jpg');
  opacity: 0;
  visibility: hidden;
}

#scene-layer-04 {
  background-image: url('assets/hirmatic_cinema_04_desk.jpg');
  opacity: 0;
  visibility: hidden;
}

/* Three.js 3D Atmospheric & Volumetric Living FX Canvas */
.cinema-three-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}

/* Scene 01 Dynamic Overlays: Moving Morning Mist & Solar Flare Pulse */
.scene-anim-mist {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 45%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 190, 120, 0.16) 20%, rgba(242, 241, 236, 0.12) 45%, rgba(255, 170, 90, 0.18) 70%, transparent 100%);
  background-size: 50% 100%;
  animation: driftMist 22s linear infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

.scene-anim-sunflare {
  position: absolute;
  top: 24%;
  left: 50%;
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 200, 110, 0.45) 0%, rgba(255, 90, 95, 0.20) 45%, transparent 70%);
  border-radius: 50%;
  animation: pulseFlare 6s ease-in-out infinite alternate;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Scene 02 Dynamic Overlays: Architectural Glass Sheen & Spatial Grid */
.scene-anim-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
  background-size: 250% 250%;
  animation: glassSheenSweep 8s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.scene-anim-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(242, 241, 236, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 241, 236, 0.035) 1px, transparent 1px);
  background-size: 70px 70px;
  pointer-events: none;
}

/* Scene 04 Dynamic Overlays: Steaming Coffee & Warm Light Bokeh */
.scene-anim-steam {
  position: absolute;
  bottom: 22%;
  right: 28%;
  width: 60px;
  height: 120px;
  background: radial-gradient(ellipse at bottom, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 50%, transparent 80%);
  filter: blur(10px);
  animation: riseSteam 4.5s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

@keyframes driftMist {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-25%, 8px, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes pulseFlare {
  0% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.7; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1.0; }
  100% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.75; }
}

@keyframes glassSheenSweep {
  0% { background-position: -100% -100%; opacity: 0; }
  25% { opacity: 0.85; }
  50% { background-position: 200% 200%; opacity: 0; }
  100% { background-position: 200% 200%; opacity: 0; }
}

@keyframes riseSteam {
  0% { transform: translateY(0) scaleX(0.8); opacity: 0; }
  35% { opacity: 0.75; }
  70% { transform: translateY(-35px) scaleX(1.3); opacity: 0.35; }
  100% { transform: translateY(-70px) scaleX(1.8); opacity: 0; }
}

.cinematic-lighting {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  mix-blend-mode: soft-light;
  transition: background 0.1s ease;
}

.cinematic-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
  background: radial-gradient(circle at center, rgba(42, 26, 48, 0.12) 0%, rgba(42, 26, 48, 0.48) 75%, rgba(42, 26, 48, 0.82) 100%);
}

/* 35mm Cinematic Dynamic Film Grain Overlay */
.cinematic-film-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 7;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  mix-blend-mode: overlay;
}

.cinema-text-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  padding: 1.5rem;
}

.cinema-text-group {
  position: absolute;
  max-width: 860px;
  width: 92%;
  padding: 2.75rem 2.5rem;
  background: rgba(42, 26, 48, 0.84);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(242, 241, 236, 0.18);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(42, 26, 48, 0.40);
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  will-change: transform, opacity;
  pointer-events: none;
}

.cinema-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(242, 241, 236, 0.10);
  border: 1px solid rgba(255, 90, 95, 0.45);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: #F2F1EC;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.cinema-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
}

.cinema-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #F2F1EC;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 1.25rem;
}

.cinema-heading .accent-flourish {
  color: var(--color-accent);
  font-style: italic;
  font-weight: 600;
  text-shadow: 0 0 20px var(--color-accent-glow);
}

.cinema-subtext {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: rgba(242, 241, 236, 0.90);
  max-width: 660px;
  margin: 0 auto;
}

.cinema-keywords {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.cinema-kw-item {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--color-accent);
  background: rgba(242, 241, 236, 0.08);
  border: 1px solid rgba(255, 90, 95, 0.35);
  padding: 6px 16px;
  border-radius: 6px;
}

.cinema-cta-cluster {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}

/* Vertical Milestone Navigation Rail */
.cinematic-nav-rail {
  position: absolute;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 16px;
  pointer-events: auto;
}

.milestone-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 8px;
  text-align: right;
  transition: all 0.25s ease;
}

.milestone-line {
  width: 18px;
  height: 2px;
  background: rgba(242, 241, 236, 0.35);
  transition: all 0.25s ease;
}

.milestone-text {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(242, 241, 236, 0.5);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.milestone-pill:hover .milestone-text {
  color: #FFFFFF;
}

.milestone-pill:hover .milestone-line {
  background: rgba(255, 255, 255, 0.8);
  width: 26px;
}

.milestone-pill.active .milestone-text {
  color: var(--color-accent);
  font-weight: 700;
  transform: translateX(-4px);
}

.milestone-pill.active .milestone-line {
  background: var(--color-accent);
  width: 32px;
  box-shadow: 0 0 10px var(--color-accent-glow);
}

/* Preloader Overlay */
.cinematic-preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: var(--color-bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.preloader-spinner {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(242, 241, 236, 0.15);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: cinemaSpin 0.9s linear infinite;
}

@keyframes cinemaSpin {
  to { transform: rotate(360deg); }
}

.preloader-status {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(242, 241, 236, 0.8);
  text-transform: uppercase;
}

/* Header cinema adaptation */
header.cinema-header-mode {
  background: rgba(42, 26, 48, 0.75) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(242, 241, 236, 0.12) !important;
}

header.cinema-header-mode .nav-link-elevated {
  color: rgba(242, 241, 236, 0.85) !important;
}

header.cinema-header-mode .nav-link-elevated:hover {
  color: #FFFFFF !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
}

header.cinema-header-mode .mobile-toggle {
  color: #F2F1EC !important;
}

/* Mobile responsive constraints */
@media (max-width: 900px) {
  .cinematic-nav-rail {
    right: 1rem;
    display: none; /* Keep mobile clean and uncluttered */
  }

  .cinema-text-group {
    padding: 1.75rem 1.25rem !important;
    width: 92% !important;
  }

  .cinema-heading {
    font-size: clamp(1.8rem, 6.5vw, 2.6rem) !important;
    margin-bottom: 0.75rem !important;
  }

  .cinema-subtext {
    font-size: 0.95rem;
  }

  .cinema-keywords {
    gap: 0.5rem;
  }

  .cinema-kw-item {
    font-size: 10px;
    padding: 4px 10px;
  }
}

/* Reduced Motion Mode */
@media (prefers-reduced-motion: reduce) {
  .cinematic-track {
    height: auto !important;
  }
  .cinematic-sticky {
    position: relative !important;
    height: auto !important;
  }
  .cinematic-stage {
    position: relative !important;
    height: auto !important;
  }
  .cinematic-scene-layer {
    position: relative !important;
    height: 70vh !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  .cinema-text-overlay {
    position: relative !important;
    padding: 3rem 1.5rem !important;
  }
  .cinema-text-group {
    position: relative !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  .cinematic-nav-rail {
    display: none !important;
  }
}

/* ==========================================================================
   HIRMATIC — THE TALENT FLOW HERO EXPERIENCE
   Photorealistic cinematic background loop, clean editorial typography, zero card enclosure
   ========================================================================== */
.talent-flow-hero {
  position: relative;
  width: 100%;
  min-height: 85vh;
  height: calc(100vh - 72px);
  max-height: 980px;
  overflow: hidden;
  background: #0A0C10;
  display: flex;
  align-items: center;
}

.talent-flow-media-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.talent-flow-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.talent-flow-video.is-active {
  opacity: 1;
}

.talent-flow-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  display: block;
}

/* Directional Optical Scrim: Shields typography on the left while keeping right skyline vibrant */
.talent-flow-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: 
    linear-gradient(90deg, 
      rgba(10, 12, 16, 0.94) 0%, 
      rgba(10, 12, 16, 0.82) 28%, 
      rgba(10, 12, 16, 0.40) 48%, 
      transparent 72%
    ),
    linear-gradient(180deg, 
      rgba(10, 12, 16, 0.4) 0%, 
      transparent 20%, 
      transparent 80%, 
      rgba(10, 12, 16, 0.75) 100%
    );
  transition: background 0.4s ease;
}

.talent-flow-hero.focus-employer .talent-flow-scrim {
  background: 
    linear-gradient(90deg, 
      rgba(10, 12, 16, 0.94) 0%, 
      rgba(12, 15, 20, 0.84) 34%, 
      rgba(14, 18, 24, 0.48) 58%, 
      rgba(10, 12, 16, 0.12) 82%, 
      transparent 100%
    ),
    linear-gradient(180deg, 
      rgba(10, 12, 16, 0.45) 0%, 
      transparent 25%, 
      transparent 75%, 
      rgba(10, 12, 16, 0.85) 100%
    );
}

.talent-flow-hero.focus-professional .talent-flow-scrim {
  background: 
    linear-gradient(90deg, 
      rgba(14, 12, 16, 0.94) 0%, 
      rgba(20, 15, 22, 0.85) 34%, 
      rgba(26, 18, 24, 0.50) 58%, 
      rgba(14, 12, 16, 0.12) 82%, 
      transparent 100%
    ),
    linear-gradient(180deg, 
      rgba(10, 12, 16, 0.45) 0%, 
      transparent 25%, 
      transparent 75%, 
      rgba(10, 12, 16, 0.85) 100%
    );
}

/* Subtle 35mm Atmospheric Grain */
.talent-flow-grain {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  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='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Editorial Container & Typography Layout */
.talent-flow-container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 3.5rem;
}

.talent-flow-content {
  max-width: 740px;
}

.talent-flow-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #FF5A5F;
  margin-bottom: 1.5rem;
}

.talent-flow-eyebrow .eyebrow-accent {
  width: 24px;
  height: 1.5px;
  background: #FF5A5F;
  border-radius: 1px;
}

.talent-flow-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2.8rem, 5.4vw, 4.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #F2F1EC;
  margin-bottom: 1.75rem;
  text-transform: uppercase;
}

.talent-flow-subtext {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  max-width: 640px;
}

.talent-flow-subtext .prop-statement {
  font-family: 'Inter', sans-serif;
  font-size: clamp(14.5px, 1.15vw, 16.5px);
  line-height: 1.55;
  color: rgba(242, 241, 236, 0.85);
  margin: 0;
  letter-spacing: -0.01em;
}

.talent-flow-subtext .prop-highlight {
  color: #F2F1EC;
  font-weight: 600;
}

/* Call to Action Hierarchy */
.talent-flow-ctas {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-flow-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #FF5A5F;
  color: #FFFFFF !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(255, 90, 95, 0.35);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-flow-primary:hover {
  background: #eb4f54;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 90, 95, 0.45);
}

.flow-secondary-group {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-flow-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(26, 20, 30, 0.55);
  border: 1px solid rgba(242, 241, 236, 0.25);
  color: #F2F1EC !important;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  padding: 13px 22px;
  border-radius: 6px;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-flow-secondary.btn-hiring:hover {
  border-color: rgba(242, 241, 236, 0.6);
  background: rgba(36, 28, 42, 0.85);
  transform: translateY(-1.5px);
}

.btn-flow-secondary.btn-opportunity:hover {
  border-color: rgba(255, 90, 95, 0.55);
  background: rgba(36, 28, 42, 0.85);
  color: #FFFFFF !important;
  transform: translateY(-1.5px);
}

.btn-flow-primary .btn-arrow,
.btn-flow-secondary .btn-arrow {
  font-size: 13px;
  transition: transform 0.2s ease;
}

/* ==========================================================================
   HIRMATIC — GLOBAL HIGH-TECH AMBIENT UNIVERSE & 3D TALENT ENGINE HERO
   ========================================================================== */

#hirmatic-global-ambient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.talent-engine-hero {
  position: relative;
  width: 100%;
  min-height: 840px;
  height: 92vh;
  max-height: 980px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 75% 50%, rgba(42, 26, 48, 0.55) 0%, rgba(10, 12, 16, 0.96) 65%, #0A0C10 100%);
  overflow: hidden;
  border-bottom: 1px solid rgba(216, 176, 117, 0.18);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.talent-engine-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

/* Concept 4: 3D High-Rise Penthouse Boardroom at Night */
.boardroom-camera-rig {
  position: absolute;
  inset: -6% -6% -6% -6%;
  width: 112%;
  height: 112%;
  transform-style: preserve-3d;
  will-change: transform;
  pointer-events: none;
  z-index: 1;
}

.terminal-hero-viewport {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(circle at 75% 45%, #0F1626 0%, #080B12 55%, #05060A 100%);
  pointer-events: none;
  z-index: 1;
}

.terminal-corridor-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 2;
}

.terminal-domain-matrix {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding: 4px;
  background: rgba(11, 15, 24, 0.88);
  border: 1px solid rgba(216, 176, 117, 0.28);
  border-radius: 9999px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
  max-width: fit-content;
}

.terminal-domain-tab {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9999px;
  padding: 6px 14px;
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(242, 241, 236, 0.70);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.terminal-domain-tab:hover {
  color: #FFFFFF;
  background: rgba(216, 176, 117, 0.14);
}

.terminal-domain-tab.active {
  background: linear-gradient(135deg, rgba(216, 176, 117, 0.28), rgba(255, 90, 95, 0.22));
  color: #FFFFFF;
  border-color: rgba(216, 176, 117, 0.48);
  box-shadow: 0 0 18px rgba(216, 176, 117, 0.25);
}

.hero-domain-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #D8B075;
  background: rgba(216, 176, 117, 0.12);
  border: 1px solid rgba(216, 176, 117, 0.35);
  padding: 3px 10px;
  border-radius: 4px;
  margin-left: 8px;
  text-transform: uppercase;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dossier-hud-plaque {
  position: absolute;
  top: 24px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.14em;
  z-index: 5;
  background: rgba(10, 14, 22, 0.8);
  padding: 8px 18px;
  border-radius: 6px;
  border: 1px solid rgba(216, 176, 117, 0.25);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.dossier-hud-val {
  color: #D8B075;
  font-weight: 600;
}

.talent-engine-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, 
    rgba(10, 12, 16, 0.94) 0%, 
    rgba(10, 12, 16, 0.85) 38%, 
    rgba(10, 12, 16, 0.40) 65%, 
    rgba(10, 12, 16, 0.15) 100%
  );
}

.talent-engine-overlay {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2.5rem;
  pointer-events: none;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}

.talent-engine-left {
  pointer-events: auto;
  max-width: 720px;
}

.talent-engine-right {
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-end;
}

/* Eyebrow & Brand Badges */
.talent-engine-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(10, 12, 16, 0.85);
  border: 1px solid rgba(216, 176, 117, 0.35);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #D8B075;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 16px rgba(216, 176, 117, 0.12);
}

.talent-engine-eyebrow .eyebrow-accent {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF5A5F;
  box-shadow: 0 0 10px #FF5A5F;
}

/* Dual Interactive Mode Switcher */
.hero-mode-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(10, 12, 16, 0.88);
  padding: 4px;
  border-radius: 9999px;
  border: 1px solid rgba(216, 176, 117, 0.25);
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.btn-mode {
  padding: 7px 18px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(242, 241, 236, 0.65);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-mode:hover {
  color: #F2F1EC;
  background: rgba(216, 176, 117, 0.12);
}

.btn-mode.active-mode {
  background: linear-gradient(135deg, rgba(216, 176, 117, 0.3), rgba(255, 90, 95, 0.25));
  color: #F2F1EC;
  border: 1px solid rgba(216, 176, 117, 0.4);
  box-shadow: 0 0 16px rgba(216, 176, 117, 0.2);
}

/* Dynamic Kinetic Headline */
.kinetic-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #F2F1EC;
  text-shadow: 0 4px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(216, 176, 117, 0.15);
  margin-bottom: 1.5rem;
  min-height: 2.25em;
  display: flex;
  align-items: center;
}

/* Punchy Clear Value Proposition Subtext */
.talent-engine-subtext {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: rgba(242, 241, 236, 0.88);
  max-width: 620px;
  min-height: 4.6em;
  margin-bottom: 2.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.talent-engine-subtext.text-fade-out {
  opacity: 0;
  transform: translateY(6px);
}

.talent-engine-subtext strong {
  color: #D8B075;
  font-weight: 600;
}

/* Clear & High-Conversion CTAs */
.talent-engine-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.btn-engine-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 9999px;
  background: #FF5A5F;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0 28px rgba(255, 90, 95, 0.45), 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-engine-primary:hover {
  background: #FF7075;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 40px rgba(255, 90, 95, 0.65), 0 14px 30px rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
}

.btn-engine-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 9999px;
  background: rgba(10, 12, 16, 0.8);
  border: 1px solid rgba(216, 176, 117, 0.3);
  color: #F2F1EC;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-engine-secondary:hover {
  background: rgba(216, 176, 117, 0.15);
  border-color: rgba(216, 176, 117, 0.6);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(216, 176, 117, 0.2);
}

/* Floating Real-Time Telemetry Chips */
.telemetry-chip {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  background: rgba(10, 12, 16, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(216, 176, 117, 0.25);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #F2F1EC;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 16px rgba(216, 176, 117, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translate3d(0, 0, 0);
  animation: chipFloat 6s ease-in-out infinite alternate;
}

.telemetry-chip:nth-child(2) {
  animation-delay: -2s;
}

.telemetry-chip:nth-child(3) {
  animation-delay: -4s;
}

@keyframes chipFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.telemetry-chip:hover {
  border-color: rgba(255, 90, 95, 0.6);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65), 0 0 24px rgba(255, 90, 95, 0.3);
}

.telemetry-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF5A5F;
  box-shadow: 0 0 12px #FF5A5F;
  animation: radarPulse 1.8s infinite ease-in-out;
}

@keyframes radarPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 16px #FF5A5F; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.telemetry-pulse.pulse-gold {
  background: #D8B075;
  box-shadow: 0 0 12px #D8B075;
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 1024px) {
  .talent-engine-hero {
    min-height: 760px;
    height: auto;
    padding: 6rem 0 4rem;
  }
  .talent-engine-overlay {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0 1.75rem;
  }
  .talent-engine-right {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .talent-engine-hero {
    min-height: 640px;
    padding: 5rem 0 3rem;
  }
  .talent-engine-overlay {
    padding: 0 1.25rem;
  }
  .talent-engine-eyebrow {
    flex-wrap: wrap;
    font-size: 9.5px;
    padding: 4px 10px;
    gap: 6px;
  }
  .hero-domain-badge {
    margin-left: 0;
    font-size: 9px;
    padding: 2px 8px;
  }
  .hero-mode-switch {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  .btn-mode {
    padding: 6px 10px;
    font-size: 9.5px;
    flex: 1;
    text-align: center;
  }
  .terminal-domain-matrix {
    max-width: 100%;
    width: 100%;
    border-radius: 14px;
    padding: 5px;
    gap: 4px;
    justify-content: flex-start;
    margin-bottom: 1.25rem;
  }
  .terminal-domain-tab {
    padding: 5px 9px;
    font-size: 9.5px;
    letter-spacing: 0.04em;
    flex: 0 1 auto;
  }
  .kinetic-headline {
    font-size: 1.75rem;
    line-height: 1.15;
    min-height: 3.4em;
    word-break: normal;
  }
  .talent-engine-subtext {
    font-size: 0.95rem;
    line-height: 1.5;
    min-height: auto;
    margin-bottom: 1.75rem;
  }
  .talent-engine-ctas {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
  .btn-engine-primary,
  .btn-engine-secondary {
    width: 100%;
    justify-content: center;
  }
  .flight-compass-ribbon,
  .dossier-hud-plaque {
    display: none;
  }
  .talent-engine-right {
    display: none;
  }
}

/* ==========================================================================
   THE AWWWARDS INTERACTIVE SQUARE BENTO (Active Theory & Locomotive Design System)
   ========================================================================== */

.square-bento-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  background-color: #0A0C12;
  color: #FFFFFF;
  overflow: hidden;
  padding: 2.25rem 0 3.5rem;
}

.bento-crosshair-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: 
    radial-gradient(ellipse 60% 50% at 75% 35%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 20% 75%, rgba(255, 77, 56, 0.10) 0%, transparent 55%),
    radial-gradient(circle at 50% 10%, #151825 0%, #0A0C12 100%);
}

.bento-crosshair-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, #000 35%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, #000 35%, transparent 85%);
}

.square-bento-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* TOP TAXONOMY BAR */
.bento-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  padding-bottom: 1.1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.bento-ops-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.bento-radar-dot {
  width: 7px;
  height: 7px;
  background: #C5A880;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(197, 168, 128, 0.6);
  animation: radarPulse 2.4s infinite ease-in-out;
}

.bento-mono-tag {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(245, 245, 242, 0.7);
  text-transform: uppercase;
}

.bento-world-clocks {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: rgba(245, 245, 242, 0.6);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 14px;
  border-radius: 6px;
}

.clock-divider {
  color: rgba(255, 255, 255, 0.2);
}

.bento-status-pill {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #C5A880;
  background: rgba(197, 168, 128, 0.08);
  border: 1px solid rgba(197, 168, 128, 0.25);
  padding: 5px 12px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* 4-BLOCK MODULAR SQUARE BENTO GRID */
.square-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 270px;
  gap: 18px;
  position: relative;
}

/* Base Bento Tile with Dynamic Spotlight Glow */
.bento-tile {
  position: relative;
  border-radius: 12px;
  background: rgba(13, 16, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.bento-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--tile-mouse-x, -500px) var(--tile-mouse-y, -500px), rgba(255, 255, 255, 0.05), transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.bento-tile:hover::before {
  opacity: 1;
}

.bento-tile::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(350px circle at var(--tile-mouse-x, -500px) var(--tile-mouse-y, -500px), rgba(255, 255, 255, 0.22), transparent 55%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.bento-tile:hover::after {
  opacity: 1;
}

.bento-tile.bento-tile-active {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55), 0 0 20px rgba(255, 255, 255, 0.03);
}

/* TILE 1: LARGE 2x2 FEATURE SQUARE */
.bento-tile-hero {
  grid-column: span 2;
  grid-row: span 2;
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-domain-matrix {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 3px;
  margin-bottom: 1.25rem;
  max-width: fit-content;
}

.bento-domain-tab {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 5px 10px;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(245, 245, 242, 0.6);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.bento-domain-tab .tab-code {
  color: #C5A880;
  font-size: 8.5px;
  opacity: 0.75;
}

.bento-domain-tab:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

.bento-domain-tab.active {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.bento-domain-tab.active .tab-code {
  color: #C5A880;
  opacity: 1;
}

.bento-badge-row {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0.75rem;
}

.bento-badge {
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #C5A880;
  background: rgba(197, 168, 128, 0.08);
  border: 1px solid rgba(197, 168, 128, 0.25);
  padding: 3px 9px;
  border-radius: 3px;
  text-transform: uppercase;
}

.bento-badge-sub {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
}

.bento-headline {
  font-family: var(--font-editorial, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #F5F5F2;
  margin: 0.4rem 0 1rem;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.bento-headline.bento-text-fade {
  opacity: 0.2;
  transform: translateY(4px);
}

.bento-subtext {
  font-family: var(--font-sans, sans-serif);
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  line-height: 1.6;
  color: rgba(245, 245, 242, 0.75);
  margin-bottom: 1.75rem;
  max-width: 580px;
  transition: opacity 0.18s ease;
}

.bento-subtext.bento-text-fade {
  opacity: 0.2;
}

.bento-action-deck {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-bento-primary {
  background: #F5F5F2;
  color: #0A0D14 !important;
  font-family: var(--font-sans, -apple-system, sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 26px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.btn-bento-primary:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15), 0 4px 16px rgba(0, 0, 0, 0.5);
}

.btn-bento-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #F5F5F2 !important;
  font-family: var(--font-sans, -apple-system, sans-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 14px 22px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-decoration: none;
}

.btn-bento-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(197, 168, 128, 0.5);
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

/* TILE 2: 3D KINETIC TOPOLOGY VECTOR (1x1 SQUARE) */
.bento-tile-gyro {
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.bento-tile-gyro canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
}

.bento-gyro-overlay {
  position: relative;
  z-index: 5;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.bento-header-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(245, 245, 242, 0.7);
  text-transform: uppercase;
}

.dot-platinum {
  width: 5px;
  height: 5px;
  background: #E8E6DF;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(232, 230, 223, 0.5);
}

.dot-champagne {
  width: 5px;
  height: 5px;
  background: #C5A880;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(197, 168, 128, 0.5);
}

.bento-gyro-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.bento-gyro-coord {
  font-family: var(--font-mono, monospace);
  font-size: 9px;
  color: #C5A880;
  letter-spacing: 0.08em;
}

/* TILES 3 & 4: PHOTOGRAPHIC CORRIDOR TILES (1x1 SQUARES) */
.bento-tile-photo {
  position: relative;
  overflow: hidden;
  padding: 22px;
}

.bento-photo-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

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

.bento-tile-photo:hover .bento-photo-img {
  transform: scale(1.06);
}

.bento-photo-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 13, 19, 0.35) 0%, rgba(10, 13, 19, 0.92) 100%);
}

.bento-photo-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.bento-photo-title {
  font-family: var(--font-editorial, 'Plus Jakarta Sans', sans-serif);
  font-size: 15.5px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.bento-photo-desc {
  font-size: 11px;
  line-height: 1.35;
  color: rgba(245, 245, 242, 0.68);
  margin: 0;
}

.bento-photo-chip {
  font-family: var(--font-mono, monospace);
  font-size: 9px;
  font-weight: 600;
  color: #C5A880;
  background: rgba(10, 13, 19, 0.85);
  border: 1px solid rgba(197, 168, 128, 0.25);
  padding: 3px 8px;
  border-radius: 3px;
  display: inline-flex;
  max-width: fit-content;
}

/* TILE 5: METRICS & RAPID MANDATE (1x1 SQUARE) */
.bento-tile-metrics {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(17, 21, 30, 0.9), rgba(11, 14, 20, 0.95));
}

.bento-metric-val {
  font-family: var(--font-editorial, 'Plus Jakarta Sans', sans-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: -0.02em;
}

.bento-metric-lbl {
  font-size: 11.5px;
  line-height: 1.35;
  color: rgba(245, 245, 242, 0.65);
  margin-top: 4px;
}

.bento-metric-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 10px 14px;
  color: #F8F8F6 !important;
  font-family: var(--font-sans, -apple-system, sans-serif);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.2s ease;
}

.bento-metric-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF !important;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .square-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 250px;
  }
  .bento-tile-hero {
    grid-column: span 2;
    grid-row: span 1;
    height: auto;
  }
}

@media (max-width: 640px) {
  .square-bento-container {
    padding: 0 1.25rem;
    gap: 1.25rem;
  }
  .bento-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .bento-world-clocks {
    display: none;
  }
  .square-bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 14px;
  }
  .bento-tile-hero {
    grid-column: span 1;
    grid-row: span 1;
    padding: 24px 20px;
  }
  .bento-badge-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .bento-headline {
    font-size: 1.75rem;
    line-height: 1.18;
    letter-spacing: -0.02em;
    word-break: normal;
  }
  .bento-action-deck {
    flex-direction: column;
    width: 100%;
  }
  .btn-bento-primary,
  .btn-bento-secondary {
    width: 100%;
    justify-content: center;
  }
  .bento-domain-matrix {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }
  .bento-domain-tab {
    text-align: center;
    justify-content: center;
    padding: 6px 4px;
    font-size: 9px;
  }
  .bento-tile-gyro,
  .bento-tile-photo,
  .bento-tile-metrics {
    min-height: 200px;
  }
}
/* ==========================================================================
   SITE FOOTER — HIGH-PRECISION 4-COLUMN RESPONSIVE GRID
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(242, 239, 232, 0.08);
  padding: clamp(56px, 6vw, 84px) 0 36px;
  background: #080A0C;
  position: relative;
  z-index: 10;
  width: 100%;
}

.site-footer .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.footer-top-grid,
.footer-layout {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr 1.1fr;
  gap: clamp(24px, 3.5vw, 56px);
  margin-bottom: 52px;
  align-items: start;
}

.footer-brand-col,
.footer-brand-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
}

.footer-brand-col .brand-mark,
.footer-brand-column .brand-mark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none;
}

.footer-brand-col .brand-name,
.footer-brand-column .brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #F2EFE8;
  text-transform: uppercase;
}

.footer-brand-col .brand-descriptor,
.footer-brand-column .brand-descriptor {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #C46A3A;
  text-transform: uppercase;
}

.footer-corporate-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: #C46A3A;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-tagline,
.footer-mission-lead {
  font-size: 13.5px;
  color: #A3A097;
  line-height: 1.65;
  margin: 0;
}

.footer-location-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #C46A3A;
  text-transform: uppercase;
  margin-top: 4px;
}

.footer-links-col,
.footer-nav-column {
  display: flex;
  flex-direction: column;
}

.footer-heading,
.footer-col-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F2EFE8;
  margin-bottom: 20px;
}

.footer-nav,
.footer-links,
.footer-col-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-nav li a,
.footer-links li a,
.footer-col-links li a {
  font-size: 13px;
  color: #A3A097;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
  line-height: 1.4;
}

.footer-nav li a:hover,
.footer-links li a:hover,
.footer-col-links li a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-bottom-bar,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(242, 239, 232, 0.08);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #686660;
}

.footer-copyright {
  color: #A3A097;
}

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

.footer-legal-links a {
  color: #686660;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

@media (max-width: 1080px) {
  .footer-top-grid,
  .footer-layout {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

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

