/* ================================================
   RECBERRY: TALENT ARCHITECTS
   Premium Glassmorphic Design System + Light/Dark Mode
   ================================================ */

:root {
  /* Liquid Gold - consistent across themes */
  --color-gold: #D4AF37;
  --color-gold-light: #E8C547;
  --color-gold-dark: #B8962E;
  --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F5D76E 50%, #D4AF37 100%);
  --gold-gradient-subtle: linear-gradient(135deg, rgba(212, 175, 55, 0.8) 0%, rgba(245, 215, 110, 0.9) 50%, rgba(212, 175, 55, 0.8) 100%);
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 10rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-theme: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Touch target minimum */
  --touch: 44px;
}

/* Dark theme (default) */
:root,
[data-theme="dark"] {
  --color-midnight: #0A0C14;
  --color-midnight-light: #0F1219;
  --color-midnight-lighter: #151821;
  --color-navy-deep: #0D1525;
  --color-navy: #1A2234;
  --color-white: #FFFFFF;
  --color-gray-100: rgba(255, 255, 255, 0.08);
  --color-gray-200: rgba(255, 255, 255, 0.12);
  --color-gray-300: rgba(255, 255, 255, 0.2);
  --color-gray-500: rgba(255, 255, 255, 0.5);
  --color-gray-700: rgba(255, 255, 255, 0.7);
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-bg-warm: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-gold: rgba(212, 175, 55, 0.25);
  --glass-edge-highlight: rgba(255, 255, 255, 0.15);
  --glass-blur: blur(24px);
  --gold-glow: 0 0 40px rgba(212, 175, 55, 0.3), 0 0 80px rgba(212, 175, 55, 0.1);
  --body-bg-image: radial-gradient(ellipse 80% 50% at 20% 20%, rgba(26, 34, 52, 0.6) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(212, 175, 55, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 70%, rgba(21, 24, 33, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse 70% 60% at 90% 80%, rgba(26, 34, 52, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse 40% 50% at 10% 60%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
  --noise-opacity: 0.03;
  --hero-orb: rgba(26, 34, 52, 0.8);
  --contact-form-bg: rgba(15, 18, 25, 0.8);
  --form-input-bg: rgba(255, 255, 255, 0.03);
  --form-input-focus: rgba(212, 175, 55, 0.05);
}

/* Light theme */
[data-theme="light"] {
  --color-midnight: #FAFAFA;
  --color-midnight-light: #FFFFFF;
  --color-midnight-lighter: #F5F5F5;
  --color-navy-deep: #0A0C14;
  --color-navy: #1A2234;
  --color-white: #0A0C14;
  --color-gray-100: rgba(0, 0, 0, 0.06);
  --color-gray-200: rgba(0, 0, 0, 0.1);
  --color-gray-300: rgba(0, 0, 0, 0.2);
  --color-gray-500: #4A5568;
  --color-gray-700: #1A2234;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-bg-warm: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(212, 175, 55, 0.25);
  --glass-border-gold: rgba(212, 175, 55, 0.3);
  --glass-edge-highlight: rgba(212, 175, 55, 0.15);
  --glass-blur: blur(24px);
  --gold-glow: 0 0 40px rgba(212, 175, 55, 0.2), 0 0 80px rgba(212, 175, 55, 0.08);
  --body-bg-image: none;
  --noise-opacity: 0.015;
  --hero-orb: rgba(0, 0, 0, 0.03);
  --contact-form-bg: rgba(255, 255, 255, 0.9);
  --form-input-bg: rgba(0, 0, 0, 0.04);
  --form-input-focus: rgba(212, 175, 55, 0.08);
  --floating-stat-gold: linear-gradient(135deg, #9A7B24 0%, #B8962E 50%, #9A7B24 100%);
}

/* Light mode: remove radial gradient / glow orbs from sections */
[data-theme="light"] .pipeline::after,
[data-theme="light"] .bento::before,
[data-theme="light"] .expertise::after,
[data-theme="light"] .living-circle {
  display: none;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden; /* prevent horizontal scroll on ultra-wide; clip also works in modern browsers */
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-gray-700);
  background-color: var(--color-midnight);
  background-image: var(--body-bg-image);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: auto;
  transition: background-color var(--transition-theme), color var(--transition-theme);
}

/* Noise Texture Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: var(--noise-opacity);
  pointer-events: none;
  z-index: 10000;
  transition: opacity var(--transition-theme);
}

/* Custom Cursor — disabled (use default pointer for better UX, especially dashboard users) */
.cursor,
.cursor-dot {
  display: none !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-white);
  letter-spacing: -0.02em;
  transition: color var(--transition-theme);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 600; }

p { font-size: 1.0625rem; margin-bottom: 1.5rem; }

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Ultra-wide / panoramic screens — match job-seekers layout approach */
@media (min-width: 1920px) {
  .container {
    max-width: 1600px;
    padding: 0 3%;
  }
  /* Main site navbar: full-width bar like job-seekers, content uses same max-width as .container */
  .navbar-container {
    max-width: 1600px;
    margin: 0 auto;
    padding-left: max(1.5rem, 3%);
    padding-right: max(1.5rem, 3%);
  }
  /* Hero section: tighter content width */
  .hero-grid {
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
  }
  .hero-content {
    max-width: 560px;
  }
  /* Pipeline, bento, expertise: center section, constrain header */
  .pipeline-header,
  .bento-header,
  .expertise .expertise-pitch-box {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
  }
  .pipeline-cards-wrapper {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 3%;
    padding-right: 3%;
  }
  .pipeline-cards {
    justify-content: center;
  }
  /* Bento grid: constrain to prevent extreme stretching */
  .bento .container {
    max-width: 1400px;
  }
  /* Expertise, about, careers sections */
  .expertise .container { max-width: 1400px; }
  .story .container,
  .values .container,
  .team .container,
  .clients .container {
    max-width: 1400px;
  }
  .page-hero .container { max-width: 1600px; }
  .page-hero-content,
  .hero-manifesto,
  .careers-hero .page-hero-content,
  .page-hero-subtitle,
  .careers-mvv-header,
  .careers-values-header {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
  }
  /* Team grid: prevent cards from getting too wide */
  .team-grid {
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
  }
  /* Contact section */
  .contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
  }
  /* Hero floating stats: prevent stretching on ultra-wide */
  .hero-floating-stats {
    max-width: 500px;
    margin: 0 auto;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media (min-width: 2560px) {
  .container {
    max-width: 1800px;
    padding: 0 4%;
  }
  .navbar-container {
    max-width: 1800px;
    margin: 0 auto;
    padding-left: max(2rem, 4%);
    padding-right: max(2rem, 4%);
  }
  .hero-grid {
    max-width: 1600px;
  }
  .pipeline-header,
  .bento-header {
    max-width: 1000px;
  }
  .expertise .container,
  .story .container,
  .values .container,
  .team .container,
  .clients .container {
    max-width: 1600px;
  }
  .page-hero .container { max-width: 1800px; }
  .page-hero-content,
  .hero-manifesto,
  .careers-hero .page-hero-content,
  .page-hero-subtitle,
  .careers-mvv-header,
  .careers-values-header {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
  .pipeline-cards-wrapper {
    max-width: 1800px;
    padding-left: 4%;
    padding-right: 4%;
  }
  .pipeline-cards {
    justify-content: center;
  }
  .bento .container {
    max-width: 1600px;
  }
  .team-grid {
    max-width: 1600px;
  }
  .contact-wrapper {
    max-width: 1400px;
  }
}

section {
  position: relative;
  padding: var(--space-2xl) 0;
}

/* ================================================
   THEME TOGGLE — Icon swap (no slider)
   ================================================
   Show only the relevant icon: sun when dark (click → light),
   moon when light (click → dark). Never show both or a toggle slider.
   ================================================ */
.theme-toggle {
  width: var(--touch);
  height: var(--touch);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-500);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.theme-toggle:hover {
  color: var(--color-gold);
  background: var(--glass-bg);
}

.theme-toggle-icon {
  width: 20px;
  height: 20px;
  transition: opacity var(--transition-fast);
}

/* Dark mode: show sun only (click → switch to light) */
.theme-toggle-icon--sun { display: block; }
.theme-toggle-icon--moon { display: none; }

/* Light mode: show moon only (click → switch to dark) */
[data-theme="light"] .theme-toggle-icon--sun { display: none; }
[data-theme="light"] .theme-toggle-icon--moon { display: block; }

.theme-toggle--fixed {
  position: fixed;
  top: var(--space-md);
  right: var(--space-md);
  z-index: 1001;
}

/* ================================================
   GLASSMORPHIC COMPONENTS
   ================================================ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 0 var(--glass-edge-highlight);
  transition: background var(--transition-theme), border-color var(--transition-theme);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
}

.gold-glow {
  box-shadow: var(--gold-glow);
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================
   NAVIGATION
   ================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all var(--transition-medium);
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 1rem 0;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 0 var(--glass-edge-highlight);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.navbar-logo-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.navbar-logo-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.navbar-logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.navbar-logo-line1 {
  font-weight: 600;
  color: var(--color-white);
  text-transform: lowercase;
}

.navbar-logo-line2 {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-gray-500);
  letter-spacing: 0.05em;
}

.navbar-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.navbar-links li {
  background: none;
}

.navbar-mobile-theme {
  display: none;
}

.navbar-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color var(--transition-fast);
  position: relative;
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--color-gold);
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Spacer: separates nav links from the two main CTAs */
.navbar-ctas-spacer {
  margin-left: 0.5rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--color-gray-700);
}

.navbar-cta {
  padding: 0.5rem 0;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0;
  font-weight: 500;
  transition: color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: none !important;
}

/* Book a Meeting: outline style (matches Explore Process) */
.navbar-cta--outline {
  color: var(--color-gray-500) !important;
  padding: 0.4rem 0.75rem !important;
  border: 1px solid var(--color-gray-300) !important;
  border-radius: 4px;
}

.navbar-cta--outline:hover {
  color: var(--color-gold) !important;
  border-color: var(--color-gold) !important;
  background: rgba(212, 175, 55, 0.08) !important;
}

/* Book a Meeting: gold accent (legacy) */
.navbar-cta--primary {
  color: var(--color-gold) !important;
  padding: 0.4rem 0.75rem !important;
  border: 1px solid transparent !important;
  border-radius: 4px;
}

.navbar-cta--primary:hover {
  color: var(--color-gold-light) !important;
  background: rgba(212, 175, 55, 0.12) !important;
  border-color: rgba(212, 175, 55, 0.3) !important;
}

/* Job Seeker Space: outline highlight, secondary CTA */
.navbar-cta--secondary {
  color: var(--color-white) !important;
  padding: 0.4rem 0.75rem !important;
  border: 1px solid var(--color-gold) !important;
  border-radius: 4px;
}

.navbar-cta--secondary:hover {
  color: var(--color-gold) !important;
  background: rgba(212, 175, 55, 0.08) !important;
  border-color: var(--color-gold-light) !important;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

/* Job Seeker Space: visible only on tablet/mobile; hidden on desktop (uses link in navbar-links) */
.navbar-jss-cta {
  display: none;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-gold);
  transition: all var(--transition-fast);
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold-gradient);
}

.hero-title {
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

.hero-title .line {
  display: block;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-gray-500);
  margin-bottom: 2.5rem;
  max-width: 480px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

.hero-cta-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.8s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--color-midnight);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::after {
  width: 300px;
  height: 300px;
}

.btn-outline {
  background: transparent;
  color: var(--color-gray-500);
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-md);
}

.btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
  animation-delay: 0.6s;
}

.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-midnight) 100%);
  padding: 3rem;
}

/* Hero Image */
.hero-image-wrapper {
  width: 100%;
  height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Floating Stats */
.hero-floating-stats {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
}

.floating-stat {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  text-align: center;
  min-width: 120px;
  box-shadow: inset 0 1px 0 0 var(--glass-edge-highlight);
}

.floating-stat-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .floating-stat-value {
  background: var(--floating-stat-gold);
  -webkit-background-clip: text;
  background-clip: text;
}

.floating-stat-label {
  font-size: 0.6875rem;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-gray-500);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.scroll-indicator-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ================================================
   PIPELINE SECTION (Horizontal Scroll Cards)
   ================================================ */
.pipeline {
  background: var(--color-midnight-light);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
  transition: background var(--transition-theme);
}

/* Gradient orbs behind content - gives glass blur something to reveal */
.pipeline::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(ellipse 50% 30% at 30% 40%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 50% at 70% 60%, rgba(26, 34, 52, 0.8) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.pipeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  z-index: 1;
}

.pipeline .container,
.pipeline-cards-wrapper {
  position: relative;
  z-index: 1;
}

.pipeline-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.pipeline-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--glass-border);
}

.pipeline-cards-wrapper {
  position: relative;
  padding: 1.5rem 0;
}

.pipeline-cards {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 0 5%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pipeline-cards::-webkit-scrollbar {
  display: none;
}

.pipeline-card {
  flex: 0 0 min(380px, 85vw);
  min-width: 280px;
  scroll-snap-align: center;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  transition: all var(--transition-medium);
  transform-style: preserve-3d;
  perspective: 1000px;
  box-shadow: inset 0 1px 0 0 var(--glass-edge-highlight);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  outline: none;
}

.pipeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
}

.pipeline-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(212, 175, 55, 0.1);
}

/* Phase + Week on one line, white background, dark text */
.pipeline-card-badge {
  display: inline-block;
  white-space: nowrap;
  padding: 0.375rem 0.75rem;
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.pipeline-card-phase,
.pipeline-card-week {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.pipeline-card-week {
  margin-left: 0.25rem;
}

/* Match hero .highlight — italic + gold underline (G sits on the line) */
.hero-title .highlight,
.pipeline-title-highlight,
.underline-gold,
.text-highlight {
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: var(--color-gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  text-decoration-skip-ink: auto;
}

.pipeline-card h3 {
  font-size: 1.375rem;
  margin-bottom: 0;
}

.pipeline-card-subtitle {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

.pipeline-card-reveal {
  transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.3s ease;
}

@media (hover: hover) {
  .pipeline-card-reveal {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
  }
  .pipeline-card:hover .pipeline-card-reveal,
  .pipeline-card:focus .pipeline-card-reveal,
  .pipeline-card:focus-within .pipeline-card-reveal,
  .pipeline-card.expanded .pipeline-card-reveal {
    max-height: 200px;
    opacity: 1;
    margin-top: 0.5rem;
  }
}

@media (hover: none) {
  .pipeline-card-reveal {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
  }
  .pipeline-card.expanded .pipeline-card-reveal {
    max-height: 200px;
    opacity: 1;
    margin-top: 0.5rem;
  }
}

.pipeline-card-reveal p {
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  margin: 0;
  line-height: 1.7;
}

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

.pipeline-card-duration {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
}

.pipeline-card-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border-radius: var(--radius-sm);
  color: var(--color-gold);
}

.pipeline-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pipeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gray-300);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.pipeline-dot:hover {
  background: var(--color-gray-500);
}

.pipeline-dot.active {
  width: 24px;
  height: 8px;
  border-radius: 4px;
  background: var(--color-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Framework: subheadline + CTAs */
.pipeline-subheadline {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--color-white);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Service Menu (Efficiency Consulting) */
.services-menu {
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.services-menu .section-label {
  margin-bottom: var(--space-lg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.service-card {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-medium);
}

.service-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-4px);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.service-card__goal {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.service-card__deliverable {
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--space-lg);
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-gold);
  transition: color var(--transition-fast);
}

.service-card__cta:hover {
  color: var(--color-gold-light);
}

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

/* ================================================
   BENTO GRID SECTION
   ================================================ */
.bento {
  padding: var(--space-2xl) 0;
  position: relative;
}

/* Gradient orbs for glass blur in bento area */
.bento::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(ellipse 45% 35% at 15% 25%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 85% 75%, rgba(26, 34, 52, 0.5) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

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

.bento-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 1.5rem;
}

.bento-item {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-medium);
  box-shadow: inset 0 1px 0 0 var(--glass-edge-highlight);
}

.bento-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.bento-item:hover {
  transform: translateY(-4px) rotateX(2deg) rotateY(2deg);
  border-color: rgba(212, 175, 55, 0.3);
}

.bento-item.large {
  grid-column: span 2;
  grid-row: span 2;
  padding: 3rem;
}

.bento-item.wide {
  grid-column: span 2;
}

.bento-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.bento-value {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.bento-value.gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bento-desc {
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  margin: 0;
}

.bento-item.large .bento-value {
  font-size: 5rem;
  margin-bottom: 1rem;
}

.bento-item.large .bento-desc {
  font-size: 1rem;
  max-width: 280px;
}

/* Counter Animation */
.bento-counter {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.bento-counter-prefix {
  font-size: 1.5rem;
  color: var(--color-gold);
}

.bento-counter-suffix {
  font-size: 1.5rem;
  color: var(--color-gold);
}

.bento-so-far {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gold);
  font-style: italic;
}

/* Progress Ring */
.bento-ring {
  width: 100px;
  height: 100px;
  margin: 1rem auto;
}

.bento-ring svg {
  transform: rotate(-90deg);
}

.bento-ring-bg {
  fill: none;
  stroke: var(--color-gray-200);
  stroke-width: 4;
}

.bento-ring-progress {
  fill: none;
  stroke: url(#goldGradient);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 2s ease;
}

.bento-ring-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-white);
}

/* Badge */
.bento-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.bento-badge-powered {
  font-size: 0.6875rem;
  color: var(--color-gray-500);
  margin-bottom: 0.5rem;
}

.bento-badge-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-style: italic;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* CTA Button in Bento */
.bento-cta {
  margin-top: auto;
  padding-top: 2rem;
}

.bento-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-md);
  color: var(--color-gold);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.bento-btn:hover {
  background: var(--color-gold);
  color: var(--color-midnight);
}

/* ================================================
   WHY RECBERRY SECTION
   ================================================ */
.why-recberry-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.why-recberry-header .section-label {
  margin-bottom: 0;
}

.why-recberry .architecture-vs-agency__inner {
  margin-bottom: var(--space-xl);
}

/* Architecture vs Agency cards */
.architecture-vs-agency {
  padding: var(--space-2xl) 0;
  position: relative;
}

.why-recberry .architecture-vs-agency__inner {
  padding: var(--space-2xl);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.architecture-vs-agency__inner {
  padding: var(--space-2xl);
  max-width: 900px;
  margin: 0 auto;
}

.architecture-vs-agency__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.architecture-vs-agency__card {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--glass-border);
}

.architecture-vs-agency__card--old {
  border-left-color: var(--color-gray-500);
}

.architecture-vs-agency__card--new {
  border-left-color: var(--color-gold);
}

.architecture-vs-agency__card-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  color: var(--color-white);
}

.architecture-vs-agency__card p {
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 767px) {
  .architecture-vs-agency__grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================
   EXPERTISE SECTION
   ================================================ */
.expertise {
  background: var(--color-midnight-light);
  padding: var(--space-2xl) 0;
  position: relative;
  transition: background var(--transition-theme);
}

.expertise::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(ellipse 40% 40% at 80% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 20% 70%, rgba(26, 34, 52, 0.7) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.expertise::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  z-index: 1;
}

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

.expertise-pitch-box {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .expertise-pitch-box {
    flex-direction: row;
    padding: var(--space-xl);
    gap: var(--space-xl);
  }
  .expertise-pitch-box__left { flex: 1; }
  .expertise-pitch-list { flex: 1.2; }
}

.expertise-pitch-box__h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.expertise-pitch-box .underline-gold {
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: var(--color-gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  text-decoration-skip-ink: auto;
}

.expertise-pitch-box__p {
  font-size: 1rem;
  color: var(--color-gray-500);
  line-height: 1.7;
  margin: 0;
}

.expertise-pitch-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.expertise-pitch-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-gray-500);
}

.expertise-pitch-list__icon {
  color: var(--color-gold);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.expertise-pitch-list__title {
  color: var(--color-white);
  font-weight: 600;
}

.expertise-pitch-list__desc {
  color: var(--color-gray-500);
}

/* Comparison BELOW Why Recberry card - two columns only */
.why-recberry-comparison {
  margin-top: var(--space-xl);
}

.why-recberry-comparison__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.why-recberry-comparison .architecture-vs-agency__card {
  padding: var(--space-lg);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  position: relative;
}

.why-recberry-comparison .architecture-vs-agency__card--new {
  border-color: rgba(212, 175, 55, 0.4);
}

.comparison-badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-gray-500);
  border: 1px solid var(--color-gray-600);
}

.comparison-badge--best {
  color: var(--color-gold);
}

@media (max-width: 767px) {
  .why-recberry-comparison__grid {
    grid-template-columns: 1fr;
  }
}

/* References Carousel (reusable: home + job-seeker) */
.references-carousel {
  margin-top: 2rem;
  text-align: center;
}

.references-carousel__inner {
  position: relative;
  min-height: 8rem;
}

.reference-slide {
  display: none;
  padding: 0 1rem;
  margin: 0;
  border: none;
}

.reference-slide.reference-slide--active {
  display: block;
  animation: refFadeIn 0.4s ease;
}

@keyframes refFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reference-quote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-white);
  max-width: 48rem;
  margin: 0 auto 1rem;
}

.reference-attribution {
  font-size: 0.9375rem;
  color: var(--color-gold);
  margin: 0;
  font-style: normal;
}

.reference-progress {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.reference-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gray-300);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  padding: 0;
}

.reference-dot:hover {
  background: var(--color-gray-500);
}

.reference-dot.reference-dot--active {
  width: 24px;
  height: 8px;
  border-radius: 4px;
  background: var(--color-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Testimonial (legacy - kept for potential reuse) */
.expertise-testimonial {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  position: relative;
  box-shadow: inset 0 1px 0 0 var(--glass-edge-highlight);
}

.expertise-testimonial::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
}

.testimonial-quote-mark {
  font-family: var(--font-heading);
  font-size: 6rem;
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  position: absolute;
  top: 1rem;
  left: 2rem;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.6;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

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

.testimonial-avatar {
  width: 56px;
  height: 56px;
  background: var(--gold-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-midnight);
  font-weight: 600;
}

.testimonial-info h4 {
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  margin: 0;
}

/* Testimonial carousel */
.testimonials-carousel {
  position: relative;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.testimonial-dot {
  width: 24px;
  height: 3px;
  border-radius: 0;
  background: var(--color-gray-300);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  padding: 0;
}

.testimonial-dot.active {
  background: var(--color-gold);
  box-shadow: none;
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact {
  background: var(--color-midnight-light);
  padding: var(--space-2xl) 0;
  position: relative;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: inset 0 1px 0 0 var(--glass-edge-highlight);
}

.contact-content {
  padding: 3rem;
}

.contact-content h2 {
  margin-bottom: 1rem;
}

.contact-content > p {
  color: var(--color-gray-500);
  margin-bottom: 2.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--color-gold);
}

.contact-item-text {
  font-size: 1rem;
  color: var(--color-gray-700);
}

.contact-item-text a {
  color: var(--color-white);
}

.contact-form-wrapper {
  background: var(--contact-form-bg);
  padding: 4rem;
  position: relative;
  transition: background var(--transition-theme);
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--glass-border), transparent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-input,
.form-textarea {
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-white);
  background: var(--form-input-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast), background var(--transition-theme);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-gray-500);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background: var(--form-input-focus);
}

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

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

.btn-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.form-group--recaptcha {
  margin-top: 0.5rem;
}
.form-group--recaptcha .g-recaptcha {
  min-height: 78px;
}

/* reCAPTCHA v3: Hide badge (disclosure in footer) — per Google terms */
.grecaptcha-badge {
  visibility: hidden !important;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--color-midnight);
  padding: var(--space-2xl) 0 var(--space-lg);
  position: relative;
  transition: background var(--transition-theme);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

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

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-logo-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-logo-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
}

.footer-logo-text {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-white);
  text-transform: lowercase;
}

.footer-desc {
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  line-height: 1.7;
  margin: 0;
}

.footer-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-connect li {
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  line-height: 1.6;
}

.footer-connect li strong {
  color: var(--color-white);
  font-weight: 600;
}

[data-theme="light"] .footer-connect li strong {
  color: var(--color-midnight);
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-bottom__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.footer-copyright a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-copyright a:hover {
  color: var(--color-gold);
}

.footer-recaptcha {
  font-size: 0.75rem;
  color: var(--color-gray-500);
  text-align: center;
  margin: 0;
}

.footer-recaptcha a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-recaptcha a:hover {
  color: var(--color-gold);
}

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

.footer-legal a {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

/* Book Meeting CTA */
.book-meeting-cta {
  text-align: center;
  padding: 3rem 0;
}

.book-meeting-btn {
  gap: 1rem;
  padding: 1.25rem 3rem;
  text-decoration: none;
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.15; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.08; }
}

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

/* Living circles - decorative animated circles */
.living-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: livingCirclePulse 4s ease-in-out infinite;
}

.living-circle-1 {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.04) 60%, transparent 100%);
  border: 1px solid rgba(212, 175, 55, 0.12);
}

.living-circle-2 {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.03) 60%, transparent 100%);
  border: 1px solid rgba(212, 175, 55, 0.08);
  animation-delay: 1s;
}

.living-circle-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at 30% 30%, rgba(26, 34, 52, 0.4) 0%, rgba(26, 34, 52, 0.1) 60%, transparent 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  animation-delay: 2s;
}

.living-circle-4 {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.02) 60%, transparent 100%);
  border: 1px solid rgba(212, 175, 55, 0.06);
  animation-delay: 0.5s;
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .hero-grid,
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  /* Content (value/text) first, then image on mobile/tablet */
  .hero-content {
    order: -1;
  }

  .hero-visual {
    order: 0;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

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

  /* Tablet: tighter section spacing */
  section {
    padding: var(--space-xl) 0;
  }

  .hero-grid {
    gap: 4rem;
  }

  .pipeline,
  .bento,
  .expertise,
  .contact,
  .client-success {
    padding: var(--space-xl) 0;
  }

  .footer {
    padding: var(--space-xl) 0 var(--space-lg);
  }

  .footer-grid {
    gap: 2rem;
    margin-bottom: 2rem;
  }

  /* Tablet (769px–1024px): Logo, Talent Architects, Job Seeker Space, hamburger */
  .navbar-jss-cta {
    display: inline-flex !important;
    margin-left: 1rem;
  }

  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 12, 20, 0.98);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    flex-direction: column;
    padding: 2rem 5%;
    gap: 1rem;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  }
  [data-theme="light"] .navbar-links {
    background: rgba(248, 249, 250, 0.98);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  }

  .navbar-links.active {
    display: flex;
  }

  /* When hamburger open: navbar bar gets glass bg — menu always readable (mobile/tablet) */
  .navbar:has(.navbar-links.active) {
    background: rgba(10, 12, 20, 0.98);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: inset 0 1px 0 0 var(--glass-edge-highlight);
  }
  [data-theme="light"] .navbar:has(.navbar-links.active) {
    background: rgba(248, 249, 250, 0.98);
  }

  .navbar-ctas-spacer {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }

  .navbar-jss-in-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .navbar-actions {
    gap: 1rem;
  }

  .navbar-mobile-theme {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    min-height: var(--touch);
    border-top: 1px solid var(--glass-border);
    margin-top: 0.5rem;
  }

  .navbar-mobile-theme-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray-500);
  }

  .theme-toggle--mobile {
    flex-shrink: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
}

@media (max-width: 768px) {
  body {
    cursor: auto;
  }

  .cursor, .cursor-dot {
    display: none;
  }

  section {
    padding: var(--space-lg) 0;
  }

  /* Mobile: Job Seeker Space only in hamburger menu; Logo + hamburger in bar */
  .navbar-jss-cta {
    display: none !important;
  }

  .navbar-jss-in-links {
    display: block;
  }

  /* Prevent CTA buttons from overlapping scroll indicator; extra space below navbar */
  .hero {
    padding-bottom: 4rem;
    min-height: auto;
    align-items: flex-start;
    padding-top: 9rem;
  }

  .hero-grid {
    gap: 3rem;
  }

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

  .pipeline,
  .bento,
  .expertise,
  .contact,
  .client-success {
    padding: var(--space-lg) 0;
  }

  .pipeline-header,
  .bento-header {
    margin-bottom: 1.25rem;
  }

  .section-label {
    margin-bottom: 1.25rem;
  }

  .pipeline-cards-wrapper,
  .client-success-cards-wrapper {
    padding: 1rem 0;
  }

  .footer {
    padding: var(--space-lg) 0 var(--space-md);
  }

  .footer-grid {
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .page-hero {
    padding: 5rem 0 2.5rem;
  }

  .book-meeting-cta {
    padding: 2rem 0;
  }

  /* Keep floating stats horizontal on mobile (like desktop) */
  .hero-floating-stats {
    position: absolute;
    bottom: 0.5rem;
    left: 0;
    right: 0;
    padding: 0 1rem;
    transform: none;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .hero-floating-stats .floating-stat {
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0.5rem;
  }

  .hero-floating-stats .floating-stat-value {
    font-size: 1.125rem;
  }

  .hero-floating-stats .floating-stat-label {
    font-size: 0.5625rem;
    letter-spacing: 0.05em;
  }

  .scroll-indicator {
    bottom: 1.5rem;
  }

  /* Compact hero image on mobile so stats overlay nicely */
  .hero-image-frame {
    padding: 1.5rem;
  }

  .hero-image-wrapper {
    height: 280px;
  }

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

  .bento-item.large,
  .bento-item.wide {
    grid-column: span 1;
  }

  .pipeline-card {
    flex: 0 0 320px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-bottom__row {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

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

  .contact-content,
  .contact-form-wrapper {
    padding: 2.5rem;
  }
}

/* ================================================
   ABOUT PAGE
   ================================================ */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 3rem;
}

.page-hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero-content .section-label {
  margin-bottom: 1.5rem;
}

.page-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

.page-hero-content p {
  font-size: 1.125rem;
  color: var(--color-gray-500);
}

.section-alt {
  background: var(--glass-bg);
}

.section-sub {
  color: var(--color-gray-500);
  font-size: 1rem;
  margin-top: 1rem;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-content h2 {
  margin-bottom: 1.5rem;
}

.story-content p {
  color: var(--color-gray-500);
}

.story-highlight {
  padding: 2rem;
  margin: 2rem 0;
  border-radius: var(--radius-lg);
}

.story-highlight p {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-white);
  margin: 0;
}

.story-card {
  padding: 2.5rem;
  border-radius: var(--radius-xl);
}

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

.story-stat {
  text-align: center;
  padding: 1.5rem;
  background: rgba(212, 175, 55, 0.06);
  border-radius: var(--radius-md);
}

.story-stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.story-stat-label {
  font-size: 0.75rem;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

.values-header,
.team-header,
.clients-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.values-header h2,
.team-header h2,
.clients-header h2 {
  margin-bottom: 0;
}

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

.value-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-medium);
}

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

.value-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border-radius: var(--radius-md);
  margin: 0 auto 1.25rem;
  color: var(--color-gold);
}

.value-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  margin: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-medium);
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-card-image {
  width: 100%;
  height: 260px;
  background: var(--glass-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* Barbora: slight zoom + position for full head visibility */
.team-grid .team-card:nth-child(1) .team-photo {
  object-position: center 18%;
  transform: scale(1.02);
}

/* Maria: position higher to avoid any top cutoff */
.team-grid .team-card:nth-child(2) .team-photo {
  object-position: center 15%;
  transform: scale(1.0);
}

/* Alexandra: zoom in slightly and position higher */
.team-grid .team-card:nth-child(3) .team-photo {
  object-position: center 18%;
  transform: scale(1.05);
}

/* Viktoria: zoom out more and position at very top to show full head */
.team-grid .team-card:nth-child(4) .team-photo {
  object-position: center 0%;

}

.team-avatar {
  width: 100px;
  height: 100px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-midnight);
  font-weight: 600;
}

.team-card-content {
  padding: 1.5rem;
}

.team-card h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  margin-bottom: 1.25rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-socials {
  display: flex;
  gap: 0.5rem;
}

.team-social {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  transition: all var(--transition-fast);
}

.team-social:hover {
  background: var(--color-gold);
  color: var(--color-midnight);
}

.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.client-logo {
  padding: 1rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-gray-500);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.client-logo:hover {
  color: var(--color-gold);
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.company-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.company-detail-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--color-gold);
  flex-shrink: 0;
}

.company-detail-text h4 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.company-detail-text p,
.company-detail-text a {
  font-size: 0.9375rem;
  color: var(--color-white);
  margin: 0;
}

.company-cta-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.company-cta--centered {
  max-width: 520px;
  width: 100%;
}

.company-cta {
  padding: 2.5rem;
  text-align: center;
  border-radius: var(--radius-xl);
}

.company-cta h3 {
  margin-bottom: 1rem;
}

.company-cta p {
  color: var(--color-gray-500);
  margin-bottom: 1.5rem;
}

/* Team modal */
.team-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-medium), visibility var(--transition-medium);
}

.team-modal.active {
  opacity: 1;
  visibility: visible;
}

.team-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 20, 0.85);
  backdrop-filter: blur(8px);
}

.team-modal-content {
  position: relative;
  max-width: 480px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
}

.team-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-white);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.team-modal-close:hover {
  color: var(--color-gold);
}

.team-modal-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.team-modal-role {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.team-modal-bio {
  font-size: 1rem;
  color: var(--color-white);
  line-height: 1.7;
  margin: 0;
}

[data-theme="light"] .team-modal-close {
  color: var(--color-midnight);
}

[data-theme="light"] .team-modal-close:hover {
  color: var(--color-gold);
}

[data-theme="light"] .team-modal-name {
  color: var(--color-midnight);
}

[data-theme="light"] .team-modal-bio {
  color: var(--color-navy);
}

/* Team card clickable for modal */
[data-team-modal] {
  cursor: pointer;
}

/* Client Success (home page testimonial grid) */
.client-success {
  padding: var(--space-2xl) 0;
  position: relative;
}

.client-success-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.client-success-header h2 {
  margin-bottom: 0;
}

.client-success-cards-wrapper {
  position: relative;
  padding: 1.5rem 0;
}

.client-success-cards {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  padding: 0 5%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.client-success-cards::-webkit-scrollbar {
  display: none;
}

.client-success-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.client-success-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gray-300);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.client-success-dot:hover {
  background: var(--color-gray-500);
}

.client-success-dot.active {
  width: 24px;
  height: 8px;
  border-radius: 4px;
  background: var(--color-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.testimonial-card {
  flex: 0 0 min(400px, calc(50% - 1rem));
  min-width: 280px;
  scroll-snap-align: start;
  padding: 2rem;
  border-radius: var(--radius-lg);
  position: relative;
  transition: all var(--transition-medium);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.testimonial-text-block {
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

.testimonial-text-block .testimonial-text--clamped {
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1 1 100%;
}

.testimonial-text-block .testimonial-read-more {
  display: inline;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-gold);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  margin-left: 0.2em;
  text-decoration: underline;
  text-underline-offset: 2px;
  vertical-align: baseline;
  transition: color var(--transition-fast);
}

.testimonial-read-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gold);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-top: 0.5rem;
  transition: color var(--transition-fast);
}

.testimonial-read-more:hover {
  color: var(--color-gold-light);
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--gold-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: var(--color-midnight);
  font-weight: 600;
}

.testimonial-info h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.testimonial-info a {
  color: var(--color-white);
}

.testimonial-info a:hover {
  color: var(--color-gold);
}

.testimonial-info p {
  font-size: 0.75rem;
  color: var(--color-gray-500);
  margin: 0;
}

@media (max-width: 1024px) {
  .story-grid,
  .company-grid {
    grid-template-columns: 1fr;
  }
  .story-grid {
    text-align: center;
    justify-items: center;
    align-items: center;
  }
  .story-content { text-align: center; max-width: 100%; }
  .story-visual { justify-self: center; }
  .story .section-alt { text-align: center; }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .story,
  .story.section-alt {
    text-align: center;
  }
  .story-grid {
    text-align: center;
    justify-items: center;
    align-items: center;
  }
  .story-content {
    text-align: center;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .story-visual { justify-self: center; }
  .story .story-highlight { margin-left: auto; margin-right: auto; max-width: 100%; }

  .story .story-content,
  .story .story-highlight { text-align: center; }
  .team-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile: taller image area + shift to show full heads */
  .team-card-image {
    height: 320px;
  }
  .team-photo {
    object-position: center 15%;
  }
  .team-grid .team-card:nth-child(1) .team-photo {
    object-position: center 12%;
  }
  .team-grid .team-card:nth-child(2) .team-photo {
    object-position: center 10%;
  }
  .team-grid .team-card:nth-child(3) .team-photo {
    object-position: center 12%;
    transform: scale(1.03);
  }
  .team-grid .team-card:nth-child(4) .team-photo {
    object-position: center 0%;
    transform: scale(0.86);
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .story-card-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-card {
    flex: 0 0 min(320px, 85vw);
  }
}

/* ================================================
   CAREERS PAGE
   ================================================ */
.careers-hero.page-hero {
  min-height: 70vh;
}

.coming-soon-hero.page-hero {
  min-height: 60vh;
}

.careers-hero .page-hero-content {
  max-width: 900px;
}

.careers-hero .page-hero-content h1 {
  color: var(--color-white);
}

.page-hero-subtitle {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.hero-manifesto {
  padding: 2.5rem 3rem;
  border-radius: var(--radius-xl);
  max-width: 800px;
  margin: 0 auto;
}

.hero-manifesto p {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-white);
  margin: 0;
  line-height: 1.8;
}

[data-theme="light"] .hero-manifesto p {
  color: var(--color-navy);
}

/* Careers MVV (Mission, Vision, Purpose) */
.careers-mvv-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.careers-mvv-header h2 {
  margin-bottom: 0;
}

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

.careers-mvv-card {
  padding: 2.5rem;
  text-align: center;
  border-radius: var(--radius-xl);
  transition: all var(--transition-medium);
}

.careers-mvv-card:hover {
  transform: translateY(-6px);
}

.careers-mvv-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  color: var(--color-gold);
}

.careers-mvv-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.careers-mvv-card p {
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  margin: 0;
  line-height: 1.7;
}

/* Careers Values (6 cards, 2-col) */
.careers-values-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.careers-values-header h2 {
  margin-bottom: 0;
}

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

.careers-value-card {
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  border-radius: var(--radius-lg);
  transition: all var(--transition-medium);
}

.careers-value-card:hover {
  transform: translateX(6px);
}

.careers-value-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.6;
  flex-shrink: 0;
}

.careers-value-content h4 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.careers-value-content p {
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  margin: 0;
  line-height: 1.65;
}

/* Careers Culture */
.careers-culture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.careers-culture-content h2 {
  margin-bottom: 1.5rem;
}

.careers-culture-content p {
  color: var(--color-gray-500);
}

.careers-culture-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.careers-culture-perk {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(212, 175, 55, 0.06);
  border-radius: var(--radius-md);
}

.careers-culture-perk-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border-radius: var(--radius-sm);
  color: var(--color-gold);
  flex-shrink: 0;
}

.careers-culture-perk span {
  font-size: 0.9375rem;
  color: var(--color-white);
}

[data-theme="light"] .careers-culture-perk span {
  color: var(--color-navy);
}

.careers-culture-card {
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  position: relative;
}

.careers-culture-quote {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.3;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}

.careers-culture-card blockquote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-white);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

[data-theme="light"] .careers-culture-card blockquote {
  color: var(--color-navy);
}

.careers-culture-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.careers-culture-avatar {
  width: 48px;
  height: 48px;
  background: var(--gold-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-midnight);
  font-weight: 600;
}

.careers-culture-author-info h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.careers-culture-author-info p {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
  margin: 0;
}

/* Careers Positions Notice */
.careers-notice-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.careers-notice-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  color: var(--color-gold);
}

.careers-notice-content h3 {
  margin-bottom: 1rem;
}

.careers-notice-content p {
  color: var(--color-gray-500);
  margin-bottom: 1.5rem;
}

.careers-notice-content .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.careers-notice-content .btn-outline:hover {
  background: var(--gold-gradient);
  color: var(--color-midnight);
  border-color: transparent;
}

/* Careers Join Network */
.careers-join-wrapper {
  padding: 4rem;
  text-align: center;
  border-radius: var(--radius-xl);
  position: relative;
}

.careers-join-content {
  max-width: 560px;
  margin: 0 auto;
}

.careers-join-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.careers-join-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  animation: careers-pulse-dot 2s ease-in-out infinite;
}

@keyframes careers-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.careers-join-content h2 {
  margin-bottom: 0.75rem;
}

.careers-join-content > p {
  font-size: 1rem;
  color: var(--color-gray-500);
  margin-bottom: 2rem;
}

.careers-join-form {
  display: flex;
  gap: 1rem;
  max-width: 460px;
  margin: 0 auto 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.careers-join-input {
  flex: 1;
  min-width: 200px;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-white);
  background: var(--color-midnight-lighter);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
}

.careers-join-input::placeholder {
  color: var(--color-gray-500);
}

.careers-join-input:focus {
  outline: none;
  border-color: var(--color-gold);
}

[data-theme="light"] .careers-join-input {
  color: var(--color-midnight);
  background: var(--color-midnight-lighter);
}

.careers-join-note {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  margin: 0;
}

/* Careers responsive */
@media (max-width: 1024px) {
  .careers-mvv-grid {
    grid-template-columns: 1fr;
  }
  .careers-values-grid {
    grid-template-columns: 1fr;
  }
  .careers-culture-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .careers-culture-grid {
    text-align: center;
    justify-items: center;
  }
  .careers-culture-content,
  .careers-culture-content h2,
  .careers-culture-content p {
    text-align: center;
  }
  .careers-culture-perks {
    grid-template-columns: 1fr;
    justify-items: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .careers-culture-card {
    max-width: 100%;
  }
  .careers-join-form {
    flex-direction: column;
  }
  .careers-join-wrapper {
    padding: 2.5rem 1.5rem;
  }
  .careers-join-input {
    min-width: 100%;
  }
}

/* ══════════════════════════════ COOKIE CONSENT BANNER ═══════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: var(--space-md);
  animation: cookieBannerSlide 0.3s ease-out;
}
@keyframes cookieBannerSlide {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__inner {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg);
}
.cookie-banner__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
  color: var(--color-white);
}
.cookie-banner__text {
  font-size: 0.9375rem;
  color: var(--color-gray-700);
  line-height: 1.6;
  margin: 0 0 var(--space-md);
}
.cookie-banner__link {
  color: var(--color-gold);
  text-decoration: underline;
}
.cookie-banner__link:hover {
  color: var(--color-gold-light);
}
.cookie-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.cookie-banner__btn {
  min-height: var(--touch, 44px);
}
