/* ================================================================
   SIGMA CONSULTING & TRAINING — Design System v2
   Premium AI/Consulting Aesthetic
   ================================================================ */

/* ----------------------------------------------------------------
   1. DESIGN TOKENS
   ---------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --linen:    #F0ECE4;
  --bronze:   #C7A85A;
  --bronze-dark: #A8893C;
  --bronze-light: #D9BC7A;
  --indigo:   #102352;
  --ink:      #0C1519;
  --twilight: #21375E;
  --grey:     #6B7280;
  --grey-light: #9CA3AF;

  /* Functional */
  --text-primary:   #0C1519;
  --text-secondary: #6B7280;
  --text-inverse:   #F0ECE4;
  --text-muted:     rgba(240,236,228,0.55);
  --surface-light:  #F0ECE4;
  --surface-white:  #FFFFFF;
  --border-light:   rgba(199,168,90,0.15);
  --border-dark:    rgba(240,236,228,0.08);

  /* Typography */
  --font-heading: 'Sora', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing scale */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Sizing */
  --container: 75rem;   /* 1200px */
  --nav-height: 5rem;

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(12,21,25,0.08), 0 1px 2px rgba(12,21,25,0.06);
  --shadow-md:  0 4px 16px rgba(12,21,25,0.10), 0 2px 6px rgba(12,21,25,0.08);
  --shadow-lg:  0 10px 40px rgba(12,21,25,0.14), 0 4px 14px rgba(12,21,25,0.10);
  --shadow-xl:  0 20px 60px rgba(12,21,25,0.20), 0 8px 24px rgba(12,21,25,0.12);
  --shadow-bronze: 0 8px 32px rgba(199,168,90,0.25);
  --shadow-glow:   0 0 60px rgba(199,168,90,0.12);

  /* Transitions */
  --transition-fast:   0.15s ease;
  --transition-base:   0.25s ease;
  --transition-slow:   0.4s ease;
  --transition-spring: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--surface-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ----------------------------------------------------------------
   3. TYPOGRAPHY SCALE
   ---------------------------------------------------------------- */
.heading-display {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.heading-1 {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.heading-2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.heading-3 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.heading-4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

.body-lg { font-size: 1.125rem; line-height: 1.75; }
.body-md { font-size: 1rem;     line-height: 1.7;  }
.body-sm { font-size: 0.875rem; line-height: 1.65; }
.body-xs { font-size: 0.75rem;  line-height: 1.5;  }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
}

/* ----------------------------------------------------------------
   4. LAYOUT UTILITIES
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}

.section { padding-top: var(--space-24); padding-bottom: var(--space-24); }
.section-sm { padding-top: var(--space-16); padding-bottom: var(--space-16); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }

.flex       { display: flex; }
.flex-center{ display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }

/* ----------------------------------------------------------------
   5. BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition-fast);
}

/* Primary — Golden Bronze */
.btn-primary {
  background: var(--bronze);
  color: var(--ink);
  padding: 0.8125rem 1.875rem;
  box-shadow: var(--shadow-bronze);
}
.btn-primary:hover {
  background: var(--bronze-dark);
  box-shadow: 0 12px 40px rgba(199,168,90,0.4);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

/* Primary Large */
.btn-primary-lg {
  background: var(--bronze);
  color: var(--ink);
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow-bronze);
}
.btn-primary-lg:hover {
  background: var(--bronze-dark);
  box-shadow: 0 16px 48px rgba(199,168,90,0.45);
  transform: translateY(-3px);
}

/* Ghost — transparent, bronze border */
.btn-ghost {
  background: transparent;
  color: var(--bronze);
  padding: 0.8125rem 1.875rem;
  border: 1.5px solid var(--bronze);
}
.btn-ghost:hover {
  background: rgba(199,168,90,0.08);
  transform: translateY(-2px);
}

/* Ghost Dark — for light backgrounds */
.btn-ghost-dark {
  background: transparent;
  color: var(--indigo);
  padding: 0.8125rem 1.875rem;
  border: 1.5px solid rgba(16,35,82,0.25);
}
.btn-ghost-dark:hover {
  background: rgba(16,35,82,0.06);
  border-color: var(--indigo);
}

/* Outline Light — for dark backgrounds */
.btn-outline-light {
  background: transparent;
  color: var(--linen);
  padding: 0.8125rem 1.875rem;
  border: 1.5px solid rgba(240,236,228,0.3);
}
.btn-outline-light:hover {
  background: rgba(240,236,228,0.08);
  border-color: rgba(240,236,228,0.6);
}

/* Icon arrow */
.btn-arrow { display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-arrow svg { transition: transform var(--transition-base); }
.btn-arrow:hover svg { transform: translateX(4px); }

/* ----------------------------------------------------------------
   6. STICKY NAVIGATION
   ---------------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s ease,
              box-shadow 0.3s ease,
              backdrop-filter 0.3s ease;
}

/* Transparent state over hero */
.site-nav.nav-transparent {
  background: transparent;
}

/* Solid state after scroll */
.site-nav.nav-solid {
  background: rgba(12, 21, 25, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(240,236,228,0.06),
              0 4px 24px rgba(0,0,0,0.3);
}

/* Light nav variant (for light-background pages) */
.site-nav.nav-light {
  background: rgba(240, 236, 228, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  flex-shrink: 0;
  overflow: visible;
}

.nav-logo-img {
  height: 2.25rem;
  width: auto;
  aspect-ratio: 261 / 245;
  display: block;
  flex-shrink: 0;
  overflow: visible;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--linen);
  letter-spacing: -0.02em;
  white-space: nowrap;
  line-height: 1.15;
}

.nav-logo-text span {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-top: 2px;
}

.nav-light .nav-logo-text { color: var(--indigo); }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(240,236,228,0.75);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--linen);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-light .nav-links a {
  color: rgba(12,21,25,0.65);
}
.nav-light .nav-links a:hover,
.nav-light .nav-links a.active {
  color: var(--indigo);
}

/* Contact nav button */
.nav-links a.btn-nav-contact {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.1rem;
  background: var(--bronze);
  color: var(--ink) !important;
  font-weight: 600;
  border-radius: 0.4rem;
  transition: background var(--transition-fast), opacity var(--transition-fast);
}
.nav-links a.btn-nav-contact::after { display: none; }
.nav-links a.btn-nav-contact:hover { background: var(--bronze-light); opacity: 1; }
.nav-light .nav-links a.btn-nav-contact { color: var(--ink) !important; }

/* CTA Button in nav */
.nav-cta {
  padding: 0.625rem 1.375rem;
  font-size: 0.875rem;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--linen);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-light .nav-hamburger span { background: var(--ink); }

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-height) + var(--space-8)) var(--space-8) var(--space-8);
  gap: 0;
  overflow-y: auto;
}

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

.mobile-nav-drawer a {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--linen);
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(240,236,228,0.08);
  transition: color var(--transition-fast), padding-left var(--transition-base);
  letter-spacing: -0.02em;
}

.mobile-nav-drawer a:hover {
  color: var(--bronze);
  padding-left: var(--space-3);
}

.mobile-nav-drawer .mobile-cta {
  margin-top: var(--space-8);
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 1rem;
}

/* ----------------------------------------------------------------
   7. HERO SECTION
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* Beams canvas — sits below all other hero layers */
#hero-beams {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  /* Single CSS-level blur softens the beam edges globally.
     We do NOT also blur inside ctx to avoid compounding cost. */
  filter: blur(10px);
  pointer-events: none;
}

/* Noise texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

/* Radial glow */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(199,168,90,0.07) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: pulse-glow 9s ease-in-out infinite;
}

.hero-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(16,35,82,0.40) 0%, transparent 70%);
  bottom: -50px; left: -50px;
}

.hero-glow-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(199,168,90,0.04) 0%, transparent 70%);
  top: 50%; left: 40%;
  transform: translate(-50%, -50%);
  animation: pulse-glow 11s ease-in-out infinite reverse;
}

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

/* Horizontal scan lines */
.hero-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(240,236,228,0.005) 2px,
    rgba(240,236,228,0.005) 4px
  );
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  min-height: calc(100svh - var(--nav-height));
  padding: var(--space-20) 0;
}

/* Hero text side */
.hero-text .eyebrow {
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.hero-text .eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1.5px;
  background: var(--bronze);
}

.hero-heading {
  color: var(--linen);
  margin-bottom: var(--space-4);
}

.hero-brand-name {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  color: var(--bronze);
  letter-spacing: 0.01em;
  margin-bottom: var(--space-6);
}

.hero-secondary-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--linen);
  line-height: 1.3;
  margin-bottom: var(--space-5);
}

.hero-secondary-heading mark {
  background: none;
  color: var(--bronze);
}

.hero-heading mark {
  background: none;
  color: var(--bronze);
  position: relative;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.8;
  max-width: 36rem;
  margin-bottom: var(--space-10);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.hero-stats {
  display: flex;
  gap: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(240,236,228,0.08);
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--linen);
  letter-spacing: -0.025em;
  display: block;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Hero Visual side */
.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Hero Collage ---- */
.hero-collage {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Shared frame style — white border, rounded, shadow */
.hc-frame {
  position: absolute;
  border: 3px solid #ffffff;
  border-radius: 0.625rem;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(12,21,25,0.50), 0 2px 8px rgba(12,21,25,0.28);
}

.hc-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Corner images (smaller) ---- */
.hc-tl {
  width: 44%; height: 43%;
  top: 0; left: 0;
  z-index: 3;
}
.hc-tl img { object-position: center 25%; }

.hc-tr {
  width: 44%; height: 43%;
  top: 0; right: 0;
  z-index: 3;
}
.hc-tr img { object-position: center 20%; }

.hc-bl {
  width: 44%; height: 43%;
  bottom: 0; left: 0;
  z-index: 3;
}
.hc-bl img { object-position: center 15%; }

.hc-br {
  width: 44%; height: 43%;
  bottom: 0; right: 0;
  z-index: 3;
}
.hc-br img { object-position: center 45%; }

/* Center image — hidden */
.hc-center {
  display: none;
}

/* Responsive — tablet: reduce overlap, keep collage readable */
@media (max-width: 1024px) {
  .hc-tl, .hc-tr, .hc-bl, .hc-br { width: 43%; height: 41%; }
}

/* Abstract geometric card stack */
.hero-card-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-card {
  position: absolute;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-slow);
}

.hero-card-main {
  width: 380px; height: 280px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--twilight) 0%, var(--indigo) 100%);
  border: 1px solid rgba(199,168,90,0.2);
  box-shadow: var(--shadow-xl), 0 0 80px rgba(199,168,90,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: var(--space-8);
  z-index: 3;
}

.hero-card-main::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(199,168,90,0.15), transparent 70%);
  border-radius: 50%;
}

.hero-card-bg1 {
  width: 340px; height: 250px;
  top: calc(50% + 20px); left: calc(50% + 24px);
  transform: translate(-50%, -50%) rotate(6deg);
  background: linear-gradient(135deg, rgba(16,35,82,0.8), rgba(33,55,94,0.6));
  border: 1px solid rgba(199,168,90,0.1);
  z-index: 2;
}

.hero-card-bg2 {
  width: 300px; height: 220px;
  top: calc(50% + 36px); left: calc(50% + 44px);
  transform: translate(-50%, -50%) rotate(12deg);
  background: rgba(16,35,82,0.4);
  border: 1px solid rgba(199,168,90,0.06);
  z-index: 1;
}

/* Card inner content */
.card-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(199,168,90,0.15);
  border: 1px solid rgba(199,168,90,0.3);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--bronze-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: var(--space-4);
}

.card-chip::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--bronze);
  border-radius: 50%;
}

.card-metric {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--linen);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.card-metric-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.card-bars {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}

.card-bar {
  flex: 1;
  background: rgba(199,168,90,0.2);
  border-radius: 3px;
  transition: height var(--transition-slow);
}

.card-bar.active { background: var(--bronze); }

/* Floating badges around the card */
.hero-badge {
  position: absolute;
  background: rgba(12,21,25,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(199,168,90,0.2);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  z-index: 5;
  animation: float 4s ease-in-out infinite;
}

.hero-badge-1 {
  top: 10%; right: 5%;
  animation-delay: 0s;
}

.hero-badge-2 {
  bottom: 18%; left: 5%;
  animation-delay: 2s;
}

.hero-badge-icon {
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.hero-badge-text {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--linen);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.hero-badge-sub {
  font-size: 0.625rem;
  color: var(--text-muted);
}

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

/* ----------------------------------------------------------------
   8. TRUST / PARTNERS BAR
   ---------------------------------------------------------------- */
.trust-bar {
  background: var(--indigo);
  padding: var(--space-6) 0;
  border-top: 1px solid rgba(199,168,90,0.1);
  border-bottom: 1px solid rgba(199,168,90,0.1);
  overflow: hidden;
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}

.trust-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,236,228,0.4);
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.trust-logo {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(240,236,228,0.3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition-base);
  white-space: nowrap;
}

.trust-logo:hover { color: rgba(240,236,228,0.7); }

.trust-divider {
  width: 1px;
  height: 1.25rem;
  background: rgba(240,236,228,0.1);
  flex-shrink: 0;
}

/* ----------------------------------------------------------------
   9. SECTION HEADER
   ---------------------------------------------------------------- */
.section-header {
  margin-bottom: var(--space-16);
}

.section-header .eyebrow { margin-bottom: var(--space-4); }

.section-header p {
  margin-top: var(--space-4);
  max-width: 36rem;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered p { margin-left: auto; margin-right: auto; }

/* Decorative underline */
.section-underline {
  width: 2.5rem;
  height: 3px;
  background: linear-gradient(90deg, var(--bronze), var(--bronze-light));
  border-radius: 3px;
  margin-top: var(--space-4);
}

.section-header.centered .section-underline {
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------------------------------------------
   10. SERVICES SECTION
   ---------------------------------------------------------------- */
.services-section {
  background: var(--indigo);
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199,168,90,0.3), transparent);
}

.services-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199,168,90,0.3), transparent);
}

/* Big 2x2 bento grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5px;
  background: rgba(199,168,90,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--twilight);
  padding: var(--space-10) var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background var(--transition-base);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(199,168,90,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover { background: rgba(33,55,94,0.8); }
.service-card:hover::before { opacity: 1; }

/* Accent corner */
.service-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60px; height: 60px;
  background: rgba(199,168,90,0.04);
  border-radius: 0 var(--radius-md) 0 60px;
  transition: background var(--transition-base);
}

.service-card:hover::after { background: rgba(199,168,90,0.08); }

/* Featured card spans full width */
.service-card-featured {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-8) var(--space-10);
  background: rgba(33,55,94,0.5);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background: rgba(199,168,90,0.1);
  border: 1px solid rgba(199,168,90,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bronze);
  flex-shrink: 0;
  transition: background var(--transition-base), transform var(--transition-spring);
}

.service-card:hover .service-icon {
  background: rgba(199,168,90,0.18);
  transform: scale(1.08);
}

.service-icon svg { width: 1.5rem; height: 1.5rem; }

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--linen);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 28rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bronze);
  margin-top: auto;
  transition: gap var(--transition-base);
}

.service-card:hover .service-link { gap: 0.625rem; }

/* ---- Service number marker (editorial top-right) ---- */
.service-num {
  position: absolute;
  top: var(--space-6);
  right: var(--space-8);
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(240,236,228,0.15);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ---- Per-card accent variations ---- */

/* Card 1 — warm bronze icon, left accent line */
.service-card--1 {
  border-left: 2px solid rgba(199,168,90,0.35);
}
.service-card--1 .service-icon {
  background: rgba(199,168,90,0.12);
  border-color: rgba(199,168,90,0.28);
}

/* Card 2 — cool linen icon, no side border, subtle top dot */
.service-card--2 .service-icon {
  background: rgba(240,236,228,0.07);
  border-color: rgba(240,236,228,0.18);
  color: var(--linen);
}

/* Card 3 — stronger bronze, right accent line */
.service-card--3 {
  border-right: 2px solid rgba(199,168,90,0.35);
}
.service-card--3 .service-icon {
  background: rgba(199,168,90,0.14);
  border-color: rgba(199,168,90,0.32);
}

/* Card 4 — deep indigo icon (inverted treatment) */
.service-card--4 .service-icon {
  background: rgba(16,35,82,0.55);
  border-color: rgba(240,236,228,0.12);
  color: var(--bronze-light);
}

/* Card 5 — wide, anchors the grid, bronze-indigo blend */
.service-card--5 {
  border-top: 1px solid rgba(199,168,90,0.20);
}
.service-card--5 .service-icon {
  background: rgba(199,168,90,0.10);
  border-color: rgba(199,168,90,0.22);
}

/* Wide card: horizontal layout */
.service-card--wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-8);
}

.service-card--wide .service-num {
  top: var(--space-6);
  right: var(--space-8);
}

.service-card--wide-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex: 1;
}

.service-card--wide-body h3 { margin: 0; }
.service-card--wide-body p  { max-width: 52rem; }

/* Keep icon vertical alignment on wide card */
.service-card--wide .service-icon { margin-top: 0.25rem; }

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(199,168,90,0.12);
  border: 1px solid rgba(199,168,90,0.2);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bronze-light);
  letter-spacing: 0.04em;
}

/* ----------------------------------------------------------------
   11. WHY SIGMA / FEATURES
   ---------------------------------------------------------------- */
.why-section {
  background: var(--surface-light);
  position: relative;
  overflow: hidden;
  /* Subtle grain texture for depth — same technique as hero */
  isolation: isolate;
}

/* Soft noise layer */
.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* The grid content sits above the decorative layers */
.why-section > .container { position: relative; z-index: 1; }

/* Decorative background glow orbs */
.why-bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Top-left — soft indigo cool wash */
.why-bg-glow--1 {
  width: 560px; height: 560px;
  top: -200px; left: -180px;
  background: radial-gradient(circle, rgba(16,35,82,0.09) 0%, transparent 68%);
}

/* Bottom-right — warm bronze accent */
.why-bg-glow--2 {
  width: 480px; height: 480px;
  bottom: -160px; right: -160px;
  background: radial-gradient(circle, rgba(199,168,90,0.07) 0%, transparent 68%);
}

/* Center-top — very faint twilight indigo for depth */
.why-bg-glow--3 {
  width: 400px; height: 300px;
  top: 10%; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(33,55,94,0.05) 0%, transparent 70%);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
}

.why-image-wrap {
  position: relative;
}

.why-image-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--twilight), var(--indigo));
  position: relative;
  box-shadow: var(--shadow-xl);
}

.why-image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%; /* frames upper body of the consultant */
  display: block;
}

/* Bronze accent frame */
.why-image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(199,168,90,0.2);
  border-radius: var(--radius-xl);
  z-index: 2;
  pointer-events: none;
}

/* Subtle blend overlay — very light, just enough to tie into the palette */
.why-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    175deg,
    rgba(16,35,82,0.08) 0%,
    rgba(16,35,82,0.12) 100%
  );
  border-radius: var(--radius-xl);
  z-index: 1;
  pointer-events: none;
}

/* Offset decorative box */
.why-image-deco {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 8rem; height: 8rem;
  background: var(--bronze);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.3;
}

/* Stats card floating */
.why-stat-card {
  position: absolute;
  bottom: var(--space-6);
  left: calc(-1 * var(--space-8));
  background: var(--ink);
  border: 1px solid rgba(199,168,90,0.2);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-6);
  z-index: 4;
  box-shadow: var(--shadow-lg);
  min-width: 160px;
}

.why-stat-card .stat-num {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--bronze);
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
}

.why-stat-card .stat-label {
  font-size: 0.75rem;
  color: rgba(240,236,228,0.55);
  font-weight: 500;
  margin-top: 2px;
}

/* Feature items */
.why-features {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-item {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-6) 0;
  border-bottom: 1px solid rgba(16,35,82,0.08);
  transition: padding-left var(--transition-base);
}

.feature-item:first-child { padding-top: 0; }
.feature-item:last-child  { border-bottom: none; }
.feature-item:hover       { padding-left: var(--space-3); }

.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: rgba(199,168,90,0.1);
  border: 1px solid rgba(199,168,90,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bronze);
  flex-shrink: 0;
  transition: background var(--transition-base);
}

.feature-item:hover .feature-icon { background: rgba(199,168,90,0.18); }

.feature-icon svg { width: 1.25rem; height: 1.25rem; }

.feature-body h4 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--indigo);
  margin-bottom: var(--space-2);
  letter-spacing: -0.015em;
}

.feature-body p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   12. IMPACT NUMBERS
   ---------------------------------------------------------------- */
.impact-section {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.impact-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(199,168,90,0.06), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(240,236,228,0.04);
  border: 1px solid rgba(240,236,228,0.04);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.impact-item {
  padding: var(--space-10) var(--space-8);
  text-align: center;
  background: rgba(255,255,255,0.01);
  transition: background var(--transition-base);
  position: relative;
}

.impact-item::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--bronze);
  transition: width var(--transition-slow);
}

.impact-item:hover { background: rgba(255,255,255,0.03); }
.impact-item:hover::before { width: 60%; }

.impact-number {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--linen);
  letter-spacing: -0.04em;
  display: block;
  line-height: 1;
  margin-bottom: var(--space-3);
}

.impact-number span { color: var(--bronze); }

.impact-label {
  font-size: 0.8125rem;
  color: rgba(240,236,228,0.45);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ----------------------------------------------------------------
   13. CASE STUDIES / SUCCESS STORIES
   ---------------------------------------------------------------- */
.stories-section {
  background: var(--surface-light);
}

/* Text-only story cards — no images, no metrics */
.story-card--text {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(16,35,82,0.08);
  box-shadow: 0 2px 12px rgba(12,21,25,0.06);
  overflow: visible;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.story-card--text:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(12,21,25,0.12);
}

.story-card--text .story-body {
  padding: var(--space-10) var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.story-card--text .story-body h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0;
}

.story-card--text .story-body p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

/* ----------------------------------------------------------------
   CLIENT VOICES
   ---------------------------------------------------------------- */
.voices-section {
  background: var(--twilight);
  position: relative;
  overflow: hidden;
}

.voices-section::before {
  content: '"';
  position: absolute;
  top: -2rem; left: var(--space-12);
  font-family: var(--font-heading);
  font-size: 18rem;
  font-weight: 700;
  color: rgba(199,168,90,0.04);
  line-height: 1;
  pointer-events: none;
}

.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.voice-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(240,236,228,0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  transition: background var(--transition-base);
}

.voice-card:hover {
  background: rgba(255,255,255,0.07);
}

.voice-stars {
  display: flex;
  gap: 3px;
}

.voice-stars svg {
  width: 1rem; height: 1rem;
  color: var(--bronze);
}

/* Text with clamp + expand */
.voice-text-wrap {
  position: relative;
}

.voice-text {
  font-size: 0.9375rem;
  color: rgba(240,236,228,0.75);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: none;
}

.voice-text-wrap.is-expanded .voice-text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

/* Fade gradient at truncation point */
.voice-text-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2.5rem;
  background: linear-gradient(to bottom, transparent, rgba(33,55,94,0.95));
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.voice-text-wrap.is-expanded::after {
  opacity: 0;
}

.voice-toggle {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bronze);
  cursor: pointer;
  margin-top: 0.25rem;
  letter-spacing: 0.01em;
  text-align: left;
  transition: color var(--transition-fast);
}

.voice-toggle:hover { color: var(--bronze-light); }

.voice-author {
  margin-top: auto;
  border-top: 1px solid rgba(240,236,228,0.07);
  padding-top: var(--space-4);
}

.voice-name {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--linen);
  margin-bottom: 2px;
}

.voice-role {
  font-size: 0.8125rem;
  color: rgba(240,236,228,0.45);
}

/* Responsive */
@media (max-width: 900px) {
  .voices-grid { grid-template-columns: 1fr; }
}

.stories-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-12);
}

.stories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.story-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

.story-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.story-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--twilight), var(--indigo));
}

.story-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.story-card:hover .story-image img { transform: scale(1.05); }

.story-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,21,25,0.6) 0%, transparent 60%);
}

.story-tag {
  position: absolute;
  top: var(--space-4); left: var(--space-4);
  background: rgba(12,21,25,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(199,168,90,0.2);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--bronze-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-body {
  padding: var(--space-8);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.story-body h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.story-body p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.story-metrics {
  display: flex;
  gap: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(16,35,82,0.06);
  margin-top: auto;
}

.story-metric-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--indigo);
  letter-spacing: -0.04em;
  display: block;
  line-height: 1;
}

.story-metric-key {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ----------------------------------------------------------------
   14. TESTIMONIAL
   ---------------------------------------------------------------- */
.testimonial-section {
  background: var(--twilight);
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: '"';
  position: absolute;
  top: -2rem; left: var(--space-12);
  font-family: var(--font-heading);
  font-size: 20rem;
  font-weight: 700;
  color: rgba(199,168,90,0.04);
  line-height: 1;
  pointer-events: none;
}

.testimonial-inner {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 500;
  color: var(--linen);
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin: var(--space-8) 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

.testimonial-avatar {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bronze), var(--bronze-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.testimonial-name {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--linen);
}

.testimonial-role {
  font-size: 0.8125rem;
  color: rgba(240,236,228,0.5);
  margin-top: 1px;
}

/* Stars */
.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-bottom: var(--space-4);
}

.testimonial-stars svg { color: var(--bronze); width: 1.125rem; height: 1.125rem; }

/* ----------------------------------------------------------------
   15. CTA SECTION
   ---------------------------------------------------------------- */
.cta-section {
  background: var(--ink);
  padding-top: var(--space-16);
  padding-bottom: var(--space-24);
}

.cta-card {
  background: linear-gradient(135deg, var(--twilight) 0%, var(--indigo) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-16) var(--space-16);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(199,168,90,0.12);
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -150px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(199,168,90,0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(16,35,82,0.6), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* New CTA content styles */
.cta-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bronze);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.cta-duration {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(240,236,228,0.55);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.cta-body {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(199,168,90,0.12);
  border: 1px solid rgba(199,168,90,0.25);
  border-radius: var(--radius-full);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bronze-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 1;
}

.cta-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--bronze);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.cta-card h2 {
  position: relative;
  z-index: 1;
  color: var(--linen);
  margin-bottom: var(--space-6);
}

.cta-card p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto var(--space-10);
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ----------------------------------------------------------------
   16. FOOTER
   ---------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  padding-top: var(--space-20);
  padding-bottom: 0;
  border-top: 1px solid rgba(199,168,90,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-12);
}

.footer-brand p {
  font-size: 0.9375rem;
  color: rgba(240,236,228,0.5);
  line-height: 1.75;
  max-width: 22rem;
  margin: var(--space-6) 0 var(--space-8);
}

.footer-socials {
  display: flex;
  gap: var(--space-3);
}

.footer-social-btn {
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius-md);
  background: rgba(240,236,228,0.05);
  border: 1px solid rgba(240,236,228,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(240,236,228,0.5);
  transition: all var(--transition-base);
  text-decoration: none;
}

.footer-social-btn:hover {
  background: rgba(199,168,90,0.1);
  border-color: rgba(199,168,90,0.25);
  color: var(--bronze);
}

.footer-social-btn svg { width: 1rem; height: 1rem; }

.footer-col-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  display: block;
  margin-bottom: var(--space-6);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(240,236,228,0.5);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-contact-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-bottom: var(--space-4);
}

.footer-contact-item svg {
  width: 1rem; height: 1rem;
  color: var(--bronze);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item span {
  font-size: 0.9375rem;
  color: rgba(240,236,228,0.55);
  line-height: 1.5;
}

.footer-bottom {
  margin-top: var(--space-16);
  padding: var(--space-6) 0;
  border-top: 1px solid rgba(240,236,228,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(240,236,228,0.3);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom-links a {
  font-size: 0.8125rem;
  color: rgba(240,236,228,0.3);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* ----------------------------------------------------------------
   17. SCROLL ANIMATIONS
   ---------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }

/* ----------------------------------------------------------------
   18. RESPONSIVE — TABLET
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --space-24: 5rem; --space-20: 4rem; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-text .eyebrow { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card-featured { flex-direction: column; }

  .why-grid { grid-template-columns: 1fr; gap: var(--space-12); }
  .why-image-wrap { max-width: 400px; margin: 0 auto; }

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

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

  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }

  .cta-card { padding: var(--space-12) var(--space-8); }
}

/* ----------------------------------------------------------------
   19. RESPONSIVE — MOBILE
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
  :root { --space-24: 4rem; --space-16: 3rem; }

  .container { padding-left: var(--space-6); padding-right: var(--space-6); }

  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-hamburger { display: flex; }

  .hero { min-height: 100svh; }
  .hero-inner { padding: var(--space-12) 0; }
  .hero-stats { flex-wrap: wrap; gap: var(--space-6); }

  .trust-inner { flex-direction: column; gap: var(--space-6); }
  .trust-logos { justify-content: center; gap: var(--space-6); }
  .trust-divider { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: var(--space-8); }

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

  .stories-header { flex-direction: column; align-items: flex-start; gap: var(--space-4); }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }

  .cta-actions { flex-direction: column; align-items: center; }
  .btn-primary-lg, .btn-outline-light { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; align-items: center; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Per-partner card backgrounds ─────────────────────────────── */
/* Per-partner card backgrounds */
.card-bloomington  { background: #ffffff; border: 1.5px solid rgba(16,82,108,0.10); }
.card-elevate      { background: #ffffff; border: 1.5px solid rgba(0,0,0,0.07); }
.card-initiative   { background: #ebebeb; border: 1.5px solid rgba(0,0,0,0.06); }
.card-dreambuilder { background: #ffffff; border: 1.5px solid rgba(60,90,60,0.10); }
.card-sbdc         { background: #ffffff; border: 1.5px solid rgba(0,0,0,0.07); }


/* ═══════════════════════════════════════════════════════════════
   MISSION / VISION / IMPACT — STACKED SCROLL CARDS
   ═══════════════════════════════════════════════════════════════ */

.mvp-section {
  position: relative;
}

.mvp-card {
  position: sticky;
  top: var(--nav-height, 5rem);
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 6rem;
  will-change: transform;
  transform-origin: top center;
  transition: transform 0.15s linear;
  overflow: hidden;
}

.mvp-card--2,
.mvp-card--3 {
  border-radius: 1.5rem 1.5rem 0 0;
}

.mvp-card--1 {
  background: var(--linen);
  z-index: 10;
}

.mvp-card--2 {
  background: var(--twilight);
  z-index: 11;
  box-shadow: 0 -6px 40px rgba(12, 21, 25, 0.25);
}

.mvp-card--3 {
  background: var(--ink);
  z-index: 12;
  box-shadow: 0 -6px 40px rgba(12, 21, 25, 0.35);
}

.mvp-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
  max-width: 900px;
}

.mvp-meta {
  padding-top: 0.6rem;
}

.mvp-num {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--bronze);
  margin-bottom: 1.25rem;
}

.mvp-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 2rem;
  border: 1px solid rgba(199, 168, 90, 0.45);
  color: var(--bronze);
}

.mvp-heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.75rem;
}

.mvp-body {
  font-size: 1.0625rem;
  line-height: 1.85;
  max-width: 560px;
}

.mvp-card--1 .mvp-heading { color: var(--ink); }
.mvp-card--1 .mvp-body    { color: #4B5563; }

.mvp-card--2 .mvp-heading { color: var(--linen); }
.mvp-card--2 .mvp-body    { color: rgba(240, 236, 228, 0.72); }

.mvp-card--3 .mvp-heading { color: var(--linen); }
.mvp-card--3 .mvp-body    { color: rgba(240, 236, 228, 0.65); }

.mvp-card--1 .mvp-heading::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--bronze);
  margin-top: 1.25rem;
  opacity: 0.6;
}

@media (max-width: 900px) {
  .mvp-inner { grid-template-columns: 1fr; gap: 2rem; max-width: 100%; }
  .mvp-num   { font-size: 2.5rem; }
}

@media (max-width: 640px) {
  .mvp-card {
    min-height: auto;
    padding: 5rem 0 4.5rem;
    border-radius: 1rem 1rem 0 0;
  }
  .mvp-card--1 { border-radius: 0; }
  .mvp-heading { margin-bottom: 1.25rem; }
}


/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE — SERVICES GRID (2+2+1 layout)
   ═══════════════════════════════════════════════════════════════ */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.svc-grid .svc-card {
  /* reset services-page stacked-card styles */
  position: relative;
  top: auto !important;
  z-index: auto !important;
  will-change: auto;
  transform-origin: unset;
  margin-bottom: 0;

  /* grid span: each card takes 2 of 4 columns */
  grid-column: span 2;

  /* card appearance */
  display: block;
  border-radius: 1rem;
  padding: 2.25rem 2rem 2rem;
  min-height: 15rem;
  border-top: 3px solid var(--bronze);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.svc-grid .svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(12,21,25,0.22);
}

/* 5th card centered: columns 2 through 4 in a 4-col grid */
.svc-grid .svc-card:nth-child(5) {
  grid-column: 2 / 4;
}

/* Per-card background colours — light palette tints, dark text */
.svc-grid .svc-card--1 { background: #E8EDF7; }   /* Light Indigo tint */
.svc-grid .svc-card--2 { background: #F0ECE4; }   /* Soft Linen */
.svc-grid .svc-card--3 { background: #F5EDD8; }   /* Light Bronze tint */
.svc-grid .svc-card--4 { background: #DDE5F0; }   /* Cool Indigo tint */
.svc-grid .svc-card--5 { background: #EDE3C8; }   /* Warm Bronze tint */

/* Number badge — deep bronze on all light cards */
.svc-grid .svc-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #8B6020;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* Card title — Ink Black for all cards */
.svc-grid .svc-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0C1519;
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

/* Card body — dark ink, slightly muted */
.svc-grid .svc-body {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(12,21,25,0.70);
  margin: 0;
}

/* Force dark text on ALL homepage cards — overrides services-page linen rules */
.svc-grid .svc-card--1 .svc-title,
.svc-grid .svc-card--2 .svc-title,
.svc-grid .svc-card--3 .svc-title,
.svc-grid .svc-card--4 .svc-title,
.svc-grid .svc-card--5 .svc-title { color: #0C1519 !important; }

.svc-grid .svc-card--1 .svc-body,
.svc-grid .svc-card--2 .svc-body,
.svc-grid .svc-card--3 .svc-body,
.svc-grid .svc-card--4 .svc-body,
.svc-grid .svc-card--5 .svc-body  { color: rgba(12,21,25,0.68) !important; }

/* Responsive — tablet */
@media (max-width: 860px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .svc-grid .svc-card {
    grid-column: span 1;
  }
  .svc-grid .svc-card:nth-child(5) {
    grid-column: 1 / -1;
  }
}

/* Responsive — mobile */
@media (max-width: 520px) {
  .svc-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .svc-grid .svc-card {
    grid-column: 1 / -1;
  }
  .svc-grid .svc-card:nth-child(5) {
    grid-column: 1 / -1;
  }
  .svc-grid .svc-card {
    min-height: auto;
    padding: 1.75rem 1.5rem;
  }
}


/* ═══════════════════════════════════════════════════════════════
   SERVICES PAGE — STACKED SCROLL CARDS
   ═══════════════════════════════════════════════════════════════ */

.svc-section {
  background: #E4DDD4;
  padding: 4.5rem 0 0;
}

.svc-track {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.75rem 9rem;
}

.svc-card {
  position: sticky;
  border-radius: 1.5rem;
  padding: 3.25rem 3rem 3rem;
  margin-bottom: 1.75rem;
  will-change: transform;
  transform-origin: top center;
  transition: transform 0.15s linear;
}

.svc-card:last-child { margin-bottom: 0; }

.svc-card:nth-child(1) { top: 6.5rem;  z-index: 10; }
.svc-card:nth-child(2) { top: 7.25rem; z-index: 11; }
.svc-card:nth-child(3) { top: 8rem;    z-index: 12; }
.svc-card:nth-child(4) { top: 8.75rem; z-index: 13; }
.svc-card:nth-child(5) { top: 9.5rem;  z-index: 14; }

.svc-card--1 { background: #FFFFFF; box-shadow: 0 4px 24px rgba(12,21,25,0.10), 0 1px 6px rgba(12,21,25,0.05); }
.svc-card--2 { background: #102352; box-shadow: 0 6px 32px rgba(12,21,25,0.28); }
.svc-card--3 { background: #FAF8F4; box-shadow: 0 4px 24px rgba(12,21,25,0.10), 0 1px 6px rgba(12,21,25,0.05); }
.svc-card--4 { background: #21375E; box-shadow: 0 6px 32px rgba(12,21,25,0.28); }
.svc-card--5 { background: #0C1519; box-shadow: 0 8px 40px rgba(12,21,25,0.45); }

.svc-card-head {
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(199,168,90,0.2);
}

.svc-num {
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--bronze);
  flex-shrink: 0;
  padding-top: 0.35em;
}

.svc-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0;
}

.svc-card-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.75rem;
  align-items: start;
}

.svc-desc {
  font-size: 0.9375rem;
  line-height: 1.82;
  margin: 0;
}

.svc-list-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 0.875rem;
}

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

.svc-list li {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

.svc-list li::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--bronze);
  flex-shrink: 0;
  position: relative;
  top: 0.1em;
}

.svc-card--1 .svc-title, .svc-card--3 .svc-title    { color: var(--ink); }
.svc-card--1 .svc-desc,  .svc-card--3 .svc-desc     { color: #4B5563; }
.svc-card--1 .svc-list li,.svc-card--3 .svc-list li { color: var(--ink); }
.svc-card--1 .svc-card-head,.svc-card--3 .svc-card-head { border-color: rgba(12,21,25,0.08); }

.svc-card--2 .svc-title, .svc-card--4 .svc-title    { color: var(--linen); }
.svc-card--2 .svc-desc,  .svc-card--4 .svc-desc     { color: rgba(240,236,228,0.72); }
.svc-card--2 .svc-list li,.svc-card--4 .svc-list li { color: rgba(240,236,228,0.78); }

.svc-card--5 .svc-title { color: var(--linen); }
.svc-card--5 .svc-desc  { color: rgba(240,236,228,0.65); }
.svc-card--5 .svc-list li { color: rgba(240,236,228,0.7); }

@media (max-width: 820px) { .svc-track { max-width: 100%; } }

@media (max-width: 768px) {
  .svc-section { padding: 3rem 0 0; }
  .svc-track   { padding: 0 1.25rem 6rem; }
  .svc-card { padding: 2.5rem 1.75rem 2.25rem; border-radius: 1.25rem; margin-bottom: 1.25rem; }
  .svc-card:nth-child(1) { top: 5.5rem; }
  .svc-card:nth-child(2) { top: 6rem; }
  .svc-card:nth-child(3) { top: 6.5rem; }
  .svc-card:nth-child(4) { top: 7rem; }
  .svc-card:nth-child(5) { top: 7.5rem; }
  .svc-card-body { grid-template-columns: 1fr; gap: 1.75rem; }
}

@media (max-width: 480px) {
  .svc-card { padding: 2rem 1.375rem 1.875rem; }
  .svc-title { font-size: 1.25rem; }
}


/* ── Team photo wrap ────────────────────────────────────────── */
.team-photo-wrap {
  aspect-ratio: 5 / 6;
  border-radius: 0.875rem;
  overflow: hidden;
  width: 100%;
}
.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team-photo-placeholder {
  aspect-ratio: 5 / 6;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, var(--twilight), var(--indigo));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bronze);
  font-size: 3rem;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
  width: 100%;
}



/* ================================================================
   TRUSTED PARTNERS & AFFILIATES — Premium 3-Card Carousel
   ================================================================ */

.partners-section {
  background: var(--twilight);
  padding: 0 0 var(--space-20);
  overflow: hidden;
  position: relative;
}

/* ---- Heading band: background image + overlay ---- */
.partners-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Collaboration photo — swap src to assets/images/partners-bg.jpg once saved locally */
  background-image: url('https://images.unsplash.com/photo-1582213782179-e0d53f98f2ca?w=1920&q=75&auto=format&fit=crop');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}

/* Navy overlay — 70% opacity, blends image with brand palette */
.partners-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(16, 35, 82, 0.78) 0%,
    rgba(33, 55, 94, 0.72) 60%,
    rgba(12, 21, 25, 0.80) 100%
  );
  pointer-events: none;
}

/* Content sits above the overlay */
.partners-hero__content {
  position: relative;
  z-index: 1;
  padding-top: var(--space-24);
  padding-bottom: var(--space-16);
}

/* Keep the old radial glow inside the hero band */
.partners-hero::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(199,168,90,0.09) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ---- Stage: full-bleed so side cards can peek out ---- */
.pc-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-12);
  padding: var(--space-4) 0 var(--space-8);
  overflow: hidden;
}

/* ---- Track: contains all positioned cards ---- */
.pc-track {
  position: relative;
  width: 360px;
  height: 320px;
  flex-shrink: 0;
}

/* ---- Each card item ---- */
.pc-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition:
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity   0.5s cubic-bezier(0.4, 0, 0.2, 1),
    filter    0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
  cursor: pointer;
}

/* Position states via JS-assigned data-pos attribute */

/* Active — center, full size, full opacity */
.pc-item[data-pos="0"] {
  transform: translateX(0) scale(1);
  opacity: 1;
  z-index: 3;
  filter: none;
  pointer-events: auto;
}

/* Next — peeking right */
.pc-item[data-pos="1"] {
  transform: translateX(78%) scale(0.82);
  opacity: 0.45;
  z-index: 2;
  filter: brightness(0.7);
  pointer-events: auto;
}

/* Prev — peeking left */
.pc-item[data-pos="-1"] {
  transform: translateX(-78%) scale(0.82);
  opacity: 0.45;
  z-index: 2;
  filter: brightness(0.7);
  pointer-events: auto;
}

/* Two steps away — barely visible, even further */
.pc-item[data-pos="2"] {
  transform: translateX(140%) scale(0.68);
  opacity: 0.15;
  z-index: 1;
  filter: brightness(0.5);
  pointer-events: none;
}

.pc-item[data-pos="-2"] {
  transform: translateX(-140%) scale(0.68);
  opacity: 0.15;
  z-index: 1;
  filter: brightness(0.5);
  pointer-events: none;
}

/* Hidden — off-screen */
.pc-item[data-pos="far"] {
  transform: translateX(200%) scale(0.6);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

/* ---- Card face ---- */
.pc-card {
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  padding: var(--space-6) var(--space-6) var(--space-6);
  box-shadow:
    0 24px 64px rgba(12,21,25,0.45),
    0 4px 16px rgba(12,21,25,0.20),
    0 0 0 1px rgba(199,168,90,0.12);
}

/* ---- Logo container (white bg enforced) ---- */
.pc-logo-wrap {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-4);
}

.pc-logo {
  width: 100%;
  max-width: 240px;
  max-height: 130px;
  object-fit: contain;
  display: block;
}

/* ---- Card body: name only ---- */
.pc-card-body {
  width: 100%;
  text-align: center;
  border-top: 1px solid rgba(16,35,82,0.08);
  padding-top: var(--space-4);
}

.pc-name {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* ---- Arrow buttons ---- */
.pc-arrow {
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(240,236,228,0.05);
  border: 1px solid rgba(199,168,90,0.22);
  color: var(--linen);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0 var(--space-4);
  transition:
    background  var(--transition-base),
    border-color var(--transition-base),
    transform   var(--transition-base);
}

.pc-arrow:hover {
  background: rgba(199,168,90,0.14);
  border-color: rgba(199,168,90,0.50);
  transform: scale(1.08);
}

.pc-arrow:active {
  transform: scale(0.95);
}

/* ---- Dot indicators ---- */
.pc-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-8);
}

.pc-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(240,236,228,0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    background var(--transition-base),
    width      var(--transition-base);
}

.pc-dot.is-active {
  background: var(--bronze);
  width: 24px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .pc-track {
    width: 300px;
    height: 280px;
  }

  .pc-item[data-pos="1"] {
    transform: translateX(72%) scale(0.82);
  }

  .pc-item[data-pos="-1"] {
    transform: translateX(-72%) scale(0.82);
  }

  .pc-arrow {
    width: 40px;
    height: 40px;
    margin: 0 var(--space-2);
  }

  .pc-logo {
    max-width: 160px;
    max-height: 90px;
  }
}

@media (max-width: 480px) {
  .pc-track {
    width: 260px;
    height: 260px;
  }

  .pc-item[data-pos="1"],
  .pc-item[data-pos="-1"] {
    opacity: 0.30;
  }
}
