/* ===========================================================
   TruWater Advisory — Design System (Bold)
   Committed navy + teal palette. Playfair display + system body.
   Dramatic scale, confident color, intentional asymmetry.
   =========================================================== */

/* ---- FONTS ------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Gloock&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&display=swap');

/* ---- TOKENS ------------------------------------------------ */
:root {
  /* Neutral foundation — cooler, higher contrast */
  --bg:      #f8f9fb;
  --surface: #ffffff;
  --fg:      #0f172a;
  --muted:   #475569;
  --border:  #e2e4e9;
  --border-light: #edf1f0;

  /* Brand — committed navy, vivid teal */
  --navy:    #060f2b;
  --navy-90: #0d1b45;
  --navy-80: #132456;
  --accent:  #0d9488;
  --accent-hover: #0f766e;
  --accent-subtle: #e6f7f5;
  --accent-glow: rgba(13, 148, 136, 0.18);
  --accent-glow-strong: rgba(13, 148, 136, 0.3);

  /* On-dark text tokens */
  --fg-on-dark:       #ffffff;
  --fg-on-dark-soft:  rgba(255, 255, 255, 0.9);
  --muted-on-dark:    rgba(255, 255, 255, 0.65);
  --muted-on-dark-soft: rgba(255, 255, 255, 0.45);
  --caption-on-dark:  rgba(255, 255, 255, 0.5);
  --placeholder-on-dark: rgba(255, 255, 255, 0.35);
  --border-on-dark:   rgba(255, 255, 255, 0.12);
  --border-on-dark-strong: rgba(255, 255, 255, 0.25);
  --border-on-dark-light: rgba(255, 255, 255, 0.08);
  --surface-on-dark:  rgba(255, 255, 255, 0.06);

  /* Accent tokens */
  --accent-border-subtle: rgba(13, 148, 136, 0.12);
  --accent-focus-ring: rgba(13, 148, 136, 0.25);
  --accent-focus-ring-subtle: rgba(13, 148, 136, 0.08);
  --accent-bg-hover: rgba(13, 148, 136, 0.1);

  /* Glass / surface */
  --header-glass-bg: rgba(255, 255, 255, 0.94);

  /* Spacing scale — extended top end */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
  --space-4xl: 10rem;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Iowan Old Style', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* Radius */
  --radius-sm: 2px;
  --radius-md: 6px;

  /* Transitions */
  --ease-out: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-expo: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: 0.7s cubic-bezier(0.22, 1, 0.36, 1);

  /* Z-index scale */
  --z-base: 1;
  --z-sticky: 100;
  --z-overlay: 200;
  --z-modal: 300;
}

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

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

ul { list-style: none; }

/* ---- TYPOGRAPHY SCALE -------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--fg);
  text-wrap: balance;
}

p { text-wrap: pretty; }

.t-display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.t-display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.t-display {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.2;
  text-wrap: balance;
}

.t-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.t-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.t-lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 65ch;
  text-wrap: pretty;
}

.t-body-lg {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 65ch;
  text-wrap: pretty;
}

.t-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}

.t-caption {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.t-mono {
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.t-stat {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* ---- LAYOUT ------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: 880px;
}

.section {
  padding: var(--space-3xl) 0;
}

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

.section-tight {
  padding: var(--space-2xl) 0;
}

.section-dark {
  background: var(--navy);
  color: var(--fg-on-dark);
}

.section-dark .t-display-xl,
.section-dark .t-display-lg,
.section-dark .t-display,
.section-dark .t-heading,
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4, .section-dark h5, .section-dark h6 {
  color: var(--fg-on-dark);
  line-height: 1.25;
}

.section-dark .t-display-xl { line-height: 1.13; }
.section-dark .t-display-lg { line-height: 1.18; }
.section-dark .t-display   { line-height: 1.22; }

.section-dark .t-lead,
.section-dark .t-body {
  color: var(--muted-on-dark);
}

.section-alt {
  background: var(--navy);
  color: var(--fg-on-dark);
}

.section-alt .t-display-xl,
.section-alt .t-display-lg,
.section-alt .t-display,
.section-alt .t-heading,
.section-alt h1, .section-alt h2, .section-alt h3, .section-alt h4, .section-alt h5, .section-alt h6 {
  color: var(--fg-on-dark);
  line-height: 1.25;
}

.section-alt .t-display-xl { line-height: 1.13; }
.section-alt .t-display-lg { line-height: 1.18; }
.section-alt .t-display   { line-height: 1.22; }

.section-alt .t-lead,
.section-alt .t-body {
  color: var(--muted-on-dark);
}

.section-dark .t-body-lg,
.section-alt .t-body-lg {
  color: var(--fg-on-dark-soft);
}

.section-dark .preparing-list li,
.section-alt .preparing-list li {
  color: var(--fg-on-dark-soft);
}

.section-alt .t-eyebrow {
  color: var(--accent);
}

/* Subtle alternate — light but distinct */
.section-muted {
  background: var(--border-light);
}

/* ---- NOISE TEXTURE ----------------------------------------- */
.bg-noise {
  position: relative;
}

.bg-noise::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.bg-noise > * {
  position: relative;
  z-index: 1;
}

/* ---- GRID HELPERS ------------------------------------------ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }


.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

.text-center { text-align: center; }
.text-right { text-align: right; }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.pb-none { padding-bottom: 0 !important; }
.pb-sm { padding-bottom: var(--space-sm) !important; }
.pb-md { padding-bottom: var(--space-md) !important; }
.pb-lg { padding-bottom: var(--space-lg) !important; }
.pb-xl { padding-bottom: var(--space-xl) !important; }
.pb-2xl { padding-bottom: var(--space-2xl) !important; }

.pt-none { padding-top: 0 !important; }
.pt-sm { padding-top: var(--space-sm) !important; }
.pt-md { padding-top: var(--space-md) !important; }
.pt-lg { padding-top: var(--space-lg) !important; }
.pt-xl { padding-top: var(--space-xl) !important; }
.pt-2xl { padding-top: var(--space-2xl) !important; }

/* ---- HEADER ------------------------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--header-glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--ease-out);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.header-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.header-logo-text {
  font-family: 'Gloock', serif;
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.header-logo-sub {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  padding: var(--space-sm) 0;
  position: relative;
  transition: color var(--ease-out);
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--navy);
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: transform var(--ease-out), opacity var(--ease-out);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.desktop-only { display: inline-flex; }
.mobile-only { display: none; }
@media (max-width: 768px) {
  .desktop-only { display: none; }
  .mobile-only { display: block; }
}

/* ---- BUTTONS ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  transition: all var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: #050A2F;
  color: var(--fg-on-dark);
  border: 1.5px solid #050A2F;
}

.btn-primary:hover {
  background: #4B70F5;
  border-color: #4B70F5;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(75, 112, 245, 0.25);
}

.btn-accent {
  background: #4B70F5;
  color: var(--fg-on-dark);
}

.btn-accent:hover {
  background: #5271FF;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(75, 112, 245, 0.35);
}

.btn-outline {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--fg-on-dark);
}

.btn-outline-light {
  border: 1.5px solid var(--border-on-dark-strong);
  color: var(--fg-on-dark);
  background: transparent;
}

.btn-outline-light:hover {
  border-color: var(--fg-on-dark);
  background: var(--border-on-dark-light);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* ---- CARDS ------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--space-xl);
  transition: all var(--ease-out);
}

.card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.card-dark {
  background: var(--navy-90);
  border: 1px solid var(--border-on-dark-light);
  color: var(--fg-on-dark);
}

/* ---- STATS ROW (reworked — bolder, not hero-metric) -------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-xl) var(--space-md);
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

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

.section-dark .stat-number { color: var(--fg-on-dark); }
.section-dark .stat-label { color: var(--muted-on-dark); }

.stats-disclaimer {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  margin-top: var(--space-lg);
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- PROCESS STEPS ----------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

.process-step {
  background: var(--navy-90);
  border: 1px solid var(--border-on-dark-light);
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  position: relative;
  transition: all var(--ease-out);
}

.process-step:hover {
  border-color: #4B70F5;
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.process-step-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: #4B70F5;
  opacity: 0.15;
  position: absolute;
  top: var(--space-sm);
  right: var(--space-lg);
  line-height: 1;
}

.process-step:hover .process-step-num {
  opacity: 0.25;
}

.process-step h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--fg-on-dark);
  position: relative;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--muted-on-dark);
  line-height: 1.6;
}

/* Light theme overrides for Process Steps */
.section:not(.section-dark):not(.section-alt) .process-step {
  background: var(--surface);
  border-color: var(--border);
}

.section:not(.section-dark):not(.section-alt) .process-step h4 {
  color: var(--fg);
}

.section:not(.section-dark):not(.section-alt) .process-step p {
  color: var(--muted);
}

.section:not(.section-dark):not(.section-alt) .process-step:hover {
  border-color: #4B70F5;
  box-shadow: 0 12px 32px rgba(6, 15, 43, 0.05);
}

.process-footer {
  text-align: center;
  margin-top: var(--space-xl);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.process-footer p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--fg);
  font-weight: 500;
}

/* Dark section overrides for process footer if ever used */
.section-alt .process-footer p,
.section-dark .process-footer p {
  color: var(--fg-on-dark-soft);
}

/* ---- TESTIMONIALS ------------------------------------------ */
.testimonial-carousel {
  background: radial-gradient(circle at 10% 20%, rgba(82, 113, 255, 0.04) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(82, 113, 255, 0.05) 0%, transparent 40%),
              #f8fafc;
  padding: var(--space-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonial-carousel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(75, 112, 245, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}

.testimonial-carousel > .container {
  position: relative;
  z-index: 1;
}

.testimonial-carousel .t-display-lg,
.testimonial-carousel .t-display,
.testimonial-carousel .section-header h2 {
  color: var(--fg);
}

.testimonial-track {
  display: flex;
  transition: transform var(--ease-out-quint);
}

.testimonial-slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--space-lg);
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.375rem);
  font-style: italic;
  color: #334155;
  max-width: 800px;
  line-height: 1.65;
  margin-bottom: var(--space-lg);
}

.testimonial-photo {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--space-lg);
  border: 4px solid #4B70F5;
  box-shadow: 0 6px 16px rgba(75, 112, 245, 0.18);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.testimonial-name {
  order: 2;
  font-weight: 700;
  color: #4B70F5;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.testimonial-role {
  order: 1;
  font-size: 0.95rem;
  color: #475569;
  font-weight: 600;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: var(--space-xl);
  position: relative;
  z-index: 2;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(75, 112, 245, 0.2);
  cursor: pointer;
  transition: background var(--ease-out), transform var(--ease-out);
}

.dot.active {
  background: #4B70F5;
  transform: scale(1.25);
}

/* ---- INSIGHT CARDS ----------------------------------------- */
.insight-card {
  border-bottom: 2px solid transparent;
  padding: var(--space-lg);
  background: var(--surface);
  transition: all var(--ease-out);
  display: flex;
  flex-direction: column;
}

.insight-card:hover {
  border-bottom-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.insight-card-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.insight-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--fg);
  margin-bottom: var(--space-md);
}

.insight-card-excerpt {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  flex: 1;
}

/* insight-card has its own white surface — dark section overrides don't apply */

.insight-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--ease-out);
}

.insight-card:hover .insight-card-link {
  color: var(--accent);
}

/* ---- SERVICE CARDS ----------------------------------------- */
.service-card {
  border: 1px solid var(--border);
  padding: var(--space-xl);
  background: var(--surface);
  transition: all var(--ease-out);
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(75, 112, 245, 0.12);
}

.service-card-icon {
  color: var(--accent);
  margin-bottom: var(--space-lg);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--navy);
}

.service-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.service-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  color: var(--fg);
}

/* ---- HOW WE ENGAGE SECTION --------------------------------- */
.section-engagement {
  padding: var(--space-2xl) 0;
  background-color: #0b1538; /* Slightly bluer dark background to distinguish from footer */
  color: var(--fg-on-dark);
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-engagement .t-display,
.section-engagement h2 {
  color: var(--fg-on-dark);
}

.section-engagement .t-lead {
  color: var(--muted-on-dark);
}

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

.engagement-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.04);
  transition: all var(--ease-out);
  display: flex;
  flex-direction: column;
}

.engagement-card:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(82, 113, 255, 0.25);
}

.engagement-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--accent-subtle);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.engagement-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: var(--space-md);
  color: var(--fg-on-dark);
}

.engagement-card p {
  color: var(--muted-on-dark);
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .engagement-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* ---- FOOTER ------------------------------------------------ */
.footer {
  background: var(--navy);
  color: var(--fg-on-dark);
  margin-top: auto;
}

.footer-logo {
  font-family: 'Gloock', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--fg-on-dark);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.01em;
}

.footer-logo-sub {
  display: none;
}

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

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg-on-dark);
  margin-bottom: var(--space-lg);
}

.footer-text {
  color: var(--muted-on-dark);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 360px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.newsletter-form input {
  background: var(--border-on-dark-light);
  border: 1px solid var(--border-on-dark);
  color: var(--fg-on-dark);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color var(--ease-out);
}

.newsletter-form label {
  color: var(--muted-on-dark);
  font-size: 0.875rem;
  font-weight: 500;
}

.newsletter-form input::placeholder {
  color: var(--placeholder-on-dark);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-focus-ring);
}

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

.footer-links a {
  color: var(--muted-on-dark);
  font-size: 0.9375rem;
  transition: color var(--ease-out);
}

.footer-links a:hover {
  color: var(--fg-on-dark);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  color: var(--muted-on-dark);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border-on-dark-light);
  padding: var(--space-lg) 0;
  font-size: 0.8125rem;
  color: var(--muted-on-dark-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ---- HERO VARIANTS ----------------------------------------- */

/* Home hero — navy committed, full bleed */
/* Home hero — navy committed, full bleed with video background */
.hero-home {
  padding: var(--space-4xl) 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg-video,
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(6, 15, 43, 0.75) 0%,
    rgba(6, 15, 43, 0.55) 50%,
    rgba(6, 15, 43, 0.70) 100%
  );
}

.hero-home::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -30%;
  width: 80%;
  height: 180%;
  background: radial-gradient(ellipse at 60% 50%, var(--accent-glow-strong) 0%, transparent 60%);
  pointer-events: none;
  z-index: 2;
}

.hero-home::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at 30% 80%, rgba(13, 148, 136, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

/* Video fallback — hide on reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero-bg-video {
    display: none;
  }
}

.hero-home .hero-title {
  color: var(--fg-on-dark);
  margin-bottom: var(--space-lg);
  text-wrap: wrap;
}

.hero-highlight {
  color: #5271FF; /* Vibrant electric blue accent */
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--muted-on-dark);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  justify-content: center;
}

/* Custom CTA buttons matching reference site and user requests */
.btn-hero-primary {
  background-color: #050A2F;
  color: #ffffff;
  border: 1.5px solid #ffffff;
}

.btn-hero-primary:hover {
  background-color: #4B70F5;
  border-color: #4B70F5;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(75, 112, 245, 0.25);
}

.btn-hero-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid #ffffff;
}

.btn-hero-secondary:hover {
  background-color: #4B70F5;
  border-color: #4B70F5;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(75, 112, 245, 0.25);
}

/* Page hero — same navy, for interior pages */
.page-hero {
  background: var(--navy);
  color: var(--fg-on-dark);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  height: 160%;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero .t-display-xl,
.page-hero .t-display-lg,
.page-hero .t-display {
  color: var(--fg-on-dark);
}

.page-hero .t-lead {
  color: var(--muted-on-dark);
  margin-left: auto;
  margin-right: auto;
}

/* ---- SECTION HEADERS --------------------------------------- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
}

.section-header-left {
  text-align: left;
  max-width: 640px;
  margin: 0 0 var(--space-2xl);
}

/* ---- CTA SECTION ------------------------------------------- */
.cta-section {
  background: var(--navy);
  text-align: center;
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-section .t-display,
.cta-section .t-heading {
  color: var(--fg-on-dark);
  margin-bottom: var(--space-md);
}

.cta-section .t-lead {
  color: var(--muted-on-dark);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

/* ---- DEAL CARDS -------------------------------------------- */
.deal-card {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: var(--space-xl);
  transition: all var(--ease-out);
  display: flex;
  flex-direction: column;
}

.deal-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.deal-card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.deal-sector {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.deal-date {
  font-size: 0.75rem;
  color: var(--muted);
}

.deal-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--fg);
  margin-bottom: var(--space-lg);
  flex: 1;
}

.deal-meta {
  border-top: 1px solid var(--border);
  padding-top: var(--space-md);
}

.deal-meta-row {
  font-size: 0.875rem;
  color: var(--fg);
  margin-bottom: 2px;
}

.deal-meta-row span {
  color: var(--muted);
}

/* ---- TRANSACTION SHOWCASE SLIDER -------------------------- */
.deal-showcase-section {
  background: radial-gradient(circle at 10% 20%, rgba(82, 113, 255, 0.12) 0%, transparent 45%),
              radial-gradient(circle at 90% 80%, rgba(82, 113, 255, 0.10) 0%, transparent 45%),
              var(--navy);
  color: var(--fg-on-dark);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-on-dark);
  border-bottom: 1px solid var(--border-on-dark);
}

.deal-showcase-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.deal-showcase-section > .container {
  position: relative;
  z-index: 1;
}

.deal-showcase-slider-wrapper {
  position: relative;
  width: 100%;
}

.deal-showcase-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.deal-showcase-track {
  display: flex;
  transition: transform var(--ease-out-expo);
  width: 100%;
}

.deal-showcase-slide {
  flex: 0 0 100%;
  width: 100%;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: var(--space-2xl);
  align-items: center;
}

.deal-showcase-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.deal-showcase-tagline {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #5271FF;
  margin-bottom: var(--space-md);
}

.deal-showcase-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--fg-on-dark);
  margin-bottom: var(--space-xl);
  max-width: 680px;
}

.deal-showcase-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

.deal-showcase-meta-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.deal-showcase-meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-on-dark);
  font-weight: 500;
}

.deal-showcase-meta-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg-on-dark);
  line-height: 1.3;
}

.deal-showcase-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-md);
}

/* 3D Offset Card Design */
.deal-showcase-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin-right: 12px;
  margin-bottom: 12px;
}

.deal-showcase-card-wrapper::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: -12px;
  bottom: -12px;
  background: #4B70F5; /* Brand primary blue offset base */
  border-radius: 8px;
  z-index: 1;
}

.deal-showcase-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 2.25rem 1.75rem;
  text-align: center;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  color: #0f172a;
}

/* Seller/Buyer Logos in Card */
.card-logo-seller,
.card-logo-buyer {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-logo-seller img,
.card-logo-buyer img {
  max-height: 42px;
  max-width: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}

.deal-showcase-sublink {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-top: 1.5rem;
  font-weight: 500;
  transition: color var(--ease-out), opacity var(--ease-out);
  z-index: 10;
  text-align: center;
}

.deal-showcase-sublink:hover {
  color: #5271FF;
  text-decoration: underline;
}

.card-acquired-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin: 1.25rem 0;
  font-weight: 500;
}

.card-subsector {
  font-size: 0.8125rem;
  color: #475569;
  font-weight: 500;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

/* Flag Icons Container */
.card-flags {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: 0.5rem;
}

.flag-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  display: inline-block;
  overflow: hidden;
}

.card-date {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

/* Navigation controls */
.deal-showcase-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.slider-nav-btn {
  background: rgba(75, 112, 245, 0.03);
  border: 1.5px solid rgba(75, 112, 245, 0.20);
  color: var(--fg);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--ease-out);
}

.slider-nav-btn:hover {
  background: #4B70F5;
  border-color: #4B70F5;
  color: #ffffff;
  transform: scale(1.05);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(75, 112, 245, 0.2);
  cursor: pointer;
  transition: all var(--ease-out);
}

.slider-dot.active {
  background: #4B70F5;
  transform: scale(1.25);
}

.deal-showcase-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--fg-on-dark);
  text-decoration: none;
  font-weight: 600;
  margin-top: 1.5rem;
  transition: color var(--ease-out);
}

.deal-showcase-link:hover {
  color: #5271FF;
}

/* Dark section dot controls override */
.deal-showcase-section .slider-dot {
  background: rgba(255, 255, 255, 0.3);
}

.deal-showcase-section .slider-dot.active {
  background: #5271FF;
}

.deal-showcase-section .slider-dot:hover {
  background: rgba(255, 255, 255, 0.65);
}

/* Mobile responsive */
@media (max-width: 991px) {
  .deal-showcase-slide {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .deal-showcase-slide {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }
  
  .deal-showcase-left {
    align-items: center;
  }
  
  .deal-showcase-title {
    margin-bottom: var(--space-lg);
  }
  
  .deal-showcase-meta-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    max-width: 500px;
    gap: var(--space-lg);
  }
  
  .deal-showcase-controls {
    margin-top: var(--space-lg);
    justify-content: center;
  }
}

/* ---- CONTACT FORM ------------------------------------------ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: inherit;
  font-size: 1rem;
  color: var(--fg);
  transition: border-color var(--ease-out);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-focus-ring-subtle);
}

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

/* ---- ACCORDION (TEAM BIOS) --------------------------------- */
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  border-top: 1px solid var(--border);
  font-weight: 500;
  color: var(--navy);
  transition: color var(--ease-out);
}

.accordion-trigger:hover {
  color: var(--accent);
}

.accordion-trigger .plus {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  transition: all var(--ease-out);
}

.accordion-trigger:hover .plus {
  border-color: var(--accent);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--ease-out-quint);
}

.accordion-content.open {
  max-height: 500px;
}

.accordion-inner {
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* FAQ accordion — dark section overrides */
.section-dark .faq-item,
.section-alt .faq-item {
  border-bottom-color: var(--border-on-dark);
}

.section-dark .faq-trigger,
.section-alt .faq-trigger {
  color: var(--fg-on-dark);
  border-bottom-color: var(--border-on-dark);
}

.section-dark .faq-trigger:hover,
.section-alt .faq-trigger:hover {
  color: var(--accent);
}

.section-dark .faq-plus,
.section-alt .faq-plus {
  color: var(--muted-on-dark);
  transition: color var(--ease-out), transform 0.3s;
}

.section-dark .faq-trigger:hover .faq-plus,
.section-alt .faq-trigger:hover .faq-plus {
  color: var(--accent);
}

.section-dark .faq-content p,
.section-alt .faq-content p {
  color: var(--muted-on-dark);
}

/* ---- SECTOR CARDS ------------------------------------------ */
.sector-card {
  background: var(--navy-90);
  border: 1px solid var(--border-on-dark-light);
  padding: var(--space-xl);
  transition: all var(--ease-out);
}

.sector-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.sector-card-icon {
  color: var(--accent);
  margin-bottom: var(--space-lg);
}

.sector-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--fg-on-dark);
  margin-bottom: var(--space-md);
}

.sector-card p {
  font-size: 0.9375rem;
  color: var(--muted-on-dark);
  line-height: 1.6;
}

/* ---- PREPARATION SECTION ----------------------------------- */
.preparing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.preparing-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.preparing-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: 1rem;
  color: var(--fg);
  line-height: 1.5;
}

.preparing-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

/* ---- READY SCORECARD --------------------------------------- */
.scorecard-section {
  background: #f8fafc;
  padding: var(--space-xl) 0 var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.scorecard-section > * {
  position: relative;
  z-index: 1;
}

.scorecard-card {
  max-width: 760px;
  margin: 0 auto;
  background: #050A2F;
  border: 1px solid rgba(82, 113, 255, 0.2);
  border-radius: 12px;
  padding: 3.5rem 2.5rem;
  backdrop-filter: blur(8px);
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.scorecard-card:hover {
  border-color: rgba(82, 113, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 
    0 15px 50px rgba(82, 113, 255, 0.12),
    0 10px 45px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.scorecard-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.8vw, 0.875rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  display: block;
}

.scorecard-title {
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  font-weight: 700;
  color: var(--fg-on-dark);
}

.scorecard-lead {
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  line-height: 1.65;
  color: var(--muted-on-dark);
  margin-bottom: 1rem;
  font-weight: 400;
}

.scorecard-disclaimer {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-style: italic;
  color: #5271FF;
  line-height: 1.65;
  margin-bottom: 2.25rem;
  font-weight: 400;
}

.btn-scorecard {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 1.125rem 3.5rem;
  border-radius: 4px;
}

/* ---- TEAM PREVIEW GRID (compact, index page) --------------- */
.team-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.team-preview-card {
  text-align: center;
}

.team-preview-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 2px;
}

.team-preview-role {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: var(--space-md);
}

.team-preview-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  transition: all var(--ease-out);
}

.team-preview-linkedin:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---- TOMBSTONE CARDS (featured deals) --------------------- */
.tombstone-card {
  background: var(--navy-90);
  border: 1px solid var(--border-on-dark-light);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
  transition: border-color var(--ease-out);
  margin-bottom: var(--space-lg);
}

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

.tombstone-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, var(--accent-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--ease-out);
}

.tombstone-card:hover {
  border-color: var(--accent);
}

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

.tombstone-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  color: var(--fg-on-dark);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.tombstone-sector {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.tombstone-summary {
  font-size: 1rem;
  color: var(--muted-on-dark);
  line-height: 1.7;
  max-width: 65ch;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.tombstone-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-on-dark);
  position: relative;
  z-index: 1;
}

.tombstone-meta-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-on-dark);
}

.tombstone-meta-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg-on-dark);
}

/* ---- BUYER LOGO GALLERY ------------------------------------ */
.buyer-logo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: center;
}

.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}

.logo-box img {
  max-width: 100%;
  max-height: 45px;
  object-fit: contain;
}

.logo-box span {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
}

/* ---- PROCESS ROWS (vertical, for about page) --------------- */
.process-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-xl);
  align-items: start;
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--border-on-dark);
}

.process-row:first-child {
  border-top: 1px solid var(--border-on-dark);
}

.process-row-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  opacity: 0.3;
}

.process-row-content h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--fg-on-dark);
  margin-bottom: var(--space-sm);
}

.process-row-content p {
  font-size: 1rem;
  color: var(--muted-on-dark);
  line-height: 1.6;
}

/* ---- EXECUTIVE TEAM (portrait grid + bio accordion) -------- */
.executive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.wider-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.executive-card {
  display: flex;
  flex-direction: column;
}

.portrait-container {
  position: relative;
  overflow: hidden;
  margin-bottom: var(--space-lg);
  aspect-ratio: 3 / 4;
  background: var(--navy-90);
}

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

.name-linkedin {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: 2px;
}

.name-linkedin h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--fg);
}

.section-dark .name-linkedin h3,
.section-alt .name-linkedin h3 {
  color: var(--fg-on-dark);
}

.name-linkedin a {
  display: flex;
  align-items: center;
  color: var(--muted);
  transition: color var(--ease-out);
}

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

.executive-role {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: var(--space-md);
}

.section-dark .executive-role,
.section-alt .executive-role {
  color: var(--muted-on-dark);
}

.read-bio-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: var(--space-md);
  transition: opacity var(--ease-out);
}

.read-bio-btn:hover {
  opacity: 0.8;
}

.bio-accordion {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--ease-out-quint);
}

.bio-accordion.open {
  max-height: 800px;
}

.bio-content p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.section-dark .bio-content p,
.section-alt .bio-content p {
  color: var(--muted-on-dark);
}

.bio-content p:last-child {
  margin-bottom: 0;
}

/* ---- GLOBAL TEAM REDESIGN ---------------------------------- */
.section-global-team {
  padding: var(--space-2xl) 0;
  background-color: var(--bg);
  position: relative;
}

.team-section-subtitle {
  max-width: 700px;
  color: var(--muted);
  margin: 0 auto;
}

.global-team-grid {
  gap: var(--space-md);
  margin-top: var(--space-xl);
  grid-template-columns: repeat(3, 1fr);
  display: grid;
  position: relative;
  z-index: 2;
}

.region-card {
  padding: var(--space-lg);
  cursor: pointer;
  border: 1px solid var(--border);
  background-color: var(--surface);
  flex-direction: column;
  transition: all var(--ease-out);
  display: flex;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.region-card:hover {
  border-color: var(--accent);
}

.region-card.active {
  background-color: var(--navy);
  color: var(--fg-on-dark);
  border-color: var(--navy);
}

.region-header {
  align-items: center;
  display: flex;
}

.region-name-group {
  align-items: center;
  gap: var(--space-sm);
  display: flex;
  width: 100%;
}

.region-icon-wrapper {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  transition: transform var(--ease-out);
}

.region-card.active .region-icon-wrapper {
  color: var(--fg-on-dark);
  transform: rotate(90deg);
}

.region-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: inherit;
}

.member-count {
  color: var(--muted);
  font-size: 0.875rem;
  margin-left: var(--space-xs);
}

.region-card.active .member-count {
  color: var(--muted-on-dark);
}

.region-content {
  max-height: 0;
  transition: max-height var(--ease-out-quint);
  overflow: hidden;
}

.region-content.expanded {
  max-height: 600px;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.region-card.active .region-content.expanded {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.member-list {
  gap: var(--space-md);
  flex-direction: column;
  display: flex;
}

.mini-member-card {
  align-items: center;
  gap: var(--space-md);
  display: flex;
}

.mini-avatar {
  object-fit: cover;
  border: 2px solid var(--accent);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  background-color: var(--border);
}

.mini-member-info {
  flex-direction: column;
  display: flex;
}

.mini-member-info strong {
  font-size: 0.9375rem;
  color: inherit;
}

.mini-member-info span {
  opacity: 0.8;
  font-size: 0.8125rem;
  color: inherit;
}

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

/* ---- INSIGHTS JOURNAL HERO --------------------------------- */
.insights-journal-hero .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

/* ---- FILTER TABS ------------------------------------------- */
.filter-tabs {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.filter-tab {
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all var(--ease-out);
}

.filter-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--fg-on-dark);
}

/* ---- RESPONSIVE ADJUSTMENTS -------------------------------- */
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .buyer-logo-gallery {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    border-bottom: none;
  }

  .stat-item {
    border-bottom: 1px solid var(--border);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

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

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

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

  .team-preview-grid {
    grid-template-columns: 1fr;
  }

  .tombstone-meta {
    grid-template-columns: 1fr;
  }

  .tombstone-card {
    padding: var(--space-xl);
  }

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

  .process-row {
    grid-template-columns: 60px 1fr;
    gap: var(--space-lg);
  }

  .executive-grid,
  .wider-team-grid {
    grid-template-columns: 1fr;
  }

  .region-members {
    grid-template-columns: 1fr;
  }

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

  /* Mobile nav */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--surface);
    padding: calc(2 * var(--space-xl)) var(--space-lg);
    transition: right var(--ease-out-quint);
    z-index: var(--z-overlay);
    box-shadow: -8px 0 40px rgba(0,0,0,0.12);
  }

  .nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

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

  .mobile-menu-btn {
    display: flex;
    position: relative;
    z-index: calc(var(--z-overlay) + 1);
  }
}

/* ---- ANIMATIONS -------------------------------------------- */

/* Hero entrance — one signature moment */
@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-animate {
  animation: heroReveal 0.9s var(--ease-out-expo) both;
}

.hero-animate:nth-child(2) { animation-delay: 0.15s; }
.hero-animate:nth-child(3) { animation-delay: 0.3s; }
.hero-animate:nth-child(4) { animation-delay: 0.45s; }

/* Scroll reveal */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeUp 0.6s var(--ease-out) both;
}

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

  html {
    scroll-behavior: auto;
  }

  .hero-animate,
  .animate-in {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ---- FOUNDER-LED & RECOGNISED EXPERTS ----------------------- */
.founder-led-left {
  display: flex;
  flex-direction: column;
}

.founder-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.founder-checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.6;
}

.founder-checklist li .check-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.founder-callout {
  border-left: 4px solid #4B70F5;
  background-color: #f3f4f6;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.founder-led-right {
  display: flex;
  flex-direction: column;
}

.sector-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--fg-on-dark);
  margin-top: 1rem;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.sector-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.sector-item {
  display: flex;
  align-items: center;
}

.sector-item::before {
  content: '';
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  background-color: #4B70F5; /* brand blue */
  border-radius: 50%;
  margin-right: 14px;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.sector-link {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  font-weight: 400;
  color: var(--fg-on-dark);
  text-decoration: none;
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.85);
  transition: all 0.25s ease;
}

.sector-item:hover::before {
  background-color: #5271FF;
  transform: scale(1.25);
}

.sector-item:hover .sector-link {
  color: #5271FF;
  border-bottom-color: #5271FF;
  transform: translateX(6px);
}

/* Dark section overrides for Founder-Led elements */
.section-alt .founder-checklist li {
  color: var(--muted-on-dark);
}

.section-alt .founder-callout {
  background-color: var(--navy-90);
  border-left-color: #4B70F5;
  color: var(--fg-on-dark);
}

/* ---- RESPONSIVE -------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --space-3xl: 5rem;
    --space-4xl: 6rem;
  }

  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid var(--border);
  }
  .stat-item {
    border-bottom: 1px solid var(--border);
  }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none;
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > *:first-child { grid-column: span 2; }
}

@media (max-width: 768px) {
  :root {
    --space-lg: 1.25rem;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 4rem;
    --space-4xl: 5rem;
  }

  .grid-2, .grid-3, .grid-4,
  .process-grid, .stats-row, .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    border: none;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: var(--space-lg) var(--space-md);
  }
  .stat-item:last-child {
    border-bottom: none;
  }

  .footer-grid > *:first-child { grid-column: span 1; }

  /* Mobile nav */
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    display: none;
    z-index: var(--z-overlay);
  }

  .nav.open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
  }

  .nav-link {
    font-size: 1.25rem;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-home {
    min-height: 70vh;
    padding: var(--space-2xl) 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

/* ---- SOCIALS & FLOATING WHATSAPP -------------------------- */
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: var(--space-lg);
}

.footer-social-icon {
  display: inline-flex;
  transition: transform var(--ease-out), filter var(--ease-out);
}

.footer-social-icon:hover {
  transform: scale(1.1);
}

.footer-social-icon circle {
  transition: fill var(--ease-out);
}

.footer-social-icon:hover circle {
  fill: #4B70F5; /* Brand primary blue */
}

.footer-social-icon path {
  transition: fill var(--ease-out);
}

.footer-social-icon:hover path {
  fill: #FFFFFF;
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  border: 3px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo);
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-width: 2px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* ==========================================================
   TRANSACTIONS PAGE (HERO & FEATURED DEALS REDESIGN)
   ========================================================== */

/* Custom background for Transactions Hero Banner */
.page-hero-transactions {
  background: linear-gradient(rgba(6, 15, 43, 0.72), rgba(6, 15, 43, 0.82)), url('../images/transactions_hero_bg.jpg') no-repeat center;
  background-size: cover;
  padding: 130px 0;
  position: relative;
}

.page-hero-transactions::before {
  display: none; /* Hide default gradient glow to use image background cleanly */
}

/* Transactions Page Featured Rows */
.transactions-featured-row {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: var(--space-3xl);
  align-items: center;
  margin-bottom: 0;
}

/* Alternating blue background sections for deals */
.deal-section-1 {
  background: radial-gradient(circle at 15% 25%, rgba(82, 113, 255, 0.12) 0%, transparent 45%),
              var(--navy); /* #060f2b */
  padding-bottom: var(--space-xl);
}

.deal-section-2 {
  background: radial-gradient(circle at 85% 50%, rgba(82, 113, 255, 0.10) 0%, transparent 45%),
              #0a153c; /* Slightly lighter cobalt-navy shade */
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.deal-section-3 {
  background: radial-gradient(circle at 20% 75%, rgba(82, 113, 255, 0.12) 0%, transparent 45%),
              #0f2052; /* Slightly lighter deep indigo blue shade */
  padding-top: var(--space-xl);
  padding-bottom: var(--space-3xl);
}

@media (max-width: 991px) {
  .transactions-featured-row {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }
  
  .transactions-featured-row .deal-showcase-right {
    display: flex;
    justify-content: center;
  }
}

/* Restructured Team Experience Layout (Closer Spacing & Bigger Logos) */
.experience-group {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--space-xl); /* Reduced gap for closer spacing */
  align-items: center;  /* Vertically align logo grids and list items */
  margin-bottom: var(--space-md); /* Greatly reduced gap between sections */
  border-bottom: none;  /* Removed separating dashed lines */
  padding-bottom: 0;    /* Removed bottom padding */
}

.experience-group:last-child {
  margin-bottom: 0;
}

.experience-logos-side {
  max-width: 100%;
}

.experience-logos-side .logo-box {
  height: 110px; /* Increased height for larger logo boxes */
}

.experience-logos-side .logo-box img {
  max-height: 64px; /* Larger buyer logos */
}

.experience-logos-side .buyer-logo-gallery {
  grid-template-columns: repeat(2, 1fr); /* 2 logos in a row */
  gap: 20px; /* Much closer spacing than global gallery */
}

#experience-section .section-header {
  max-width: 850px; /* Expands width to allow heading to fit on one line */
}

@media (min-width: 992px) {
  #experience-section .section-header h2 {
    white-space: nowrap; /* Ensures "Deal experience of our team at Truwater" stays on one line */
  }
}

@media (max-width: 991px) {
  .experience-group {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .experience-logos-side .buyer-logo-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 576px) {
  .experience-logos-side .buyer-logo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Testimonials Dark Theme Override */
.testimonial-carousel-dark {
  background: radial-gradient(circle at 10% 20%, rgba(82, 113, 255, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 90% 80%, rgba(82, 113, 255, 0.06) 0%, transparent 45%),
              var(--navy) !important; /* Forces dark navy background */
  border-top: 1px solid var(--border-on-dark);
  border-bottom: 1px solid var(--border-on-dark);
}

.testimonial-carousel-dark::before {
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) !important;
  opacity: 0.6;
}

.testimonial-carousel-dark .t-display,
.testimonial-carousel-dark .t-display-lg,
.testimonial-carousel-dark .section-header h2 {
  color: var(--fg-on-dark) !important;
}

.testimonial-carousel-dark .testimonial-text {
  color: var(--fg-on-dark-soft) !important; /* Soft white/gray for quotation */
}

.testimonial-carousel-dark .testimonial-role {
  color: var(--muted-on-dark) !important; /* Muted gray for role description */
}

.testimonial-carousel-dark .testimonial-name {
  color: #5271FF !important; /* Bright electric blue for author name */
}

.testimonial-carousel-dark .dot {
  background: rgba(255, 255, 255, 0.3) !important;
}

.testimonial-carousel-dark .dot.active {
  background: #5271FF !important;
}

.testimonial-carousel-dark .dot:hover {
  background: rgba(255, 255, 255, 0.65) !important;
}

/* ---- PROCESS LIGHT BACKGROUND & ONE-LINE OVERRIDES ---- */
#our-approach .section-header {
  max-width: 900px;
}

#our-approach .section-header h2 {
  white-space: nowrap;
}

@media (max-width: 991px) {
  #our-approach .section-header h2 {
    white-space: normal;
  }
}

/* ---- PROCESS TIMELINE METHODOLOGY (for about page) ---------- */
.process-timeline {
  position: relative;
  padding: var(--space-xl) 0;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 40px; /* center of the 80px marker column */
  top: 36px; /* center of first marker */
  bottom: 36px; /* center of last marker */
  width: 2px;
  background: #e2e4e9; /* soft default border line */
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-xl);
  position: relative;
  margin-bottom: var(--space-2xl);
  align-items: start;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface); /* light surface */
  border: 2.5px solid #e2e4e9; /* soft default border */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2; /* sits above the timeline line */
  margin: 0 auto;
  transition: all var(--ease-out);
}

.timeline-number {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #050A2F; /* deep navy accent text */
  transition: all var(--ease-out);
}

.timeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--space-xl);
  transition: all var(--ease-out);
  position: relative;
  z-index: 2;
}

.timeline-card h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #050A2F; /* deep navy accent text */
  margin-bottom: var(--space-xs);
  transition: all var(--ease-out);
}

.timeline-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Hover States */
.timeline-step:hover .timeline-marker {
  border-color: #5271FF; /* electric blue highlight */
  box-shadow: 0 0 0 4px rgba(82, 113, 255, 0.12);
}

.timeline-step:hover .timeline-number {
  color: #5271FF;
}

.timeline-step:hover .timeline-card {
  border-color: #5271FF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5, 10, 47, 0.04);
}

.timeline-step:hover .timeline-card h4 {
  color: #5271FF;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .timeline-step {
    grid-template-columns: 50px 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
  }
  
  .timeline-line {
    left: 25px; /* center of 50px column */
    top: 24px; /* center of mobile marker */
    bottom: 24px;
  }
  
  .timeline-marker {
    width: 40px;
    height: 40px;
    border-width: 2px;
  }
  
  .timeline-number {
    font-size: 0.95rem;
  }
  
  .timeline-card {
    padding: var(--space-lg);
  }
  
  .timeline-card h4 {
    font-size: 1.15rem;
  }
}

/* ---- PREMIUM INLINE CTA SECTION ---------------------------- */
.premium-inline-cta {
  background: #0d1b45; /* slightly lighter dark blue for distinct section separation */
  color: var(--fg-on-dark);
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border-on-dark);
  border-bottom: 1px solid var(--border-on-dark);
  position: relative;
  overflow: hidden;
}

.premium-inline-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 30%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(82, 113, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.premium-inline-cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2xl);
}

.premium-inline-cta .cta-text-side {
  max-width: 760px;
}

.premium-inline-cta .t-heading {
  color: var(--fg-on-dark);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.premium-inline-cta .t-body {
  color: var(--muted-on-dark);
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0;
}

.premium-inline-cta .cta-button-side {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .premium-inline-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-lg);
  }
  
  .premium-inline-cta .cta-button-side {
    width: 100%;
  }
  
  .premium-inline-cta .cta-button-side .btn {
    width: 100%;
    text-align: center;
  }
}



