/* ============================================================================
   TANDEM THEORY 2026 - Premium Design System
   ============================================================================
   A refined, confident design language for a premium marketing agency.

   Design Principles:
   - Confident restraint over flashy decoration
   - Generous whitespace creates premium feel
   - Typography does the heavy lifting
   - Red accents are strategic, not overwhelming
   - Smooth micro-interactions signal quality

   Typography: Inter (Google Fonts) - clean, professional, highly readable
   ============================================================================ */

/* ----------------------------------------------------------------------------
   Google Font Import
   Inter: Modern, professional, excellent readability at all sizes
   ---------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ----------------------------------------------------------------------------
   Design Tokens / CSS Custom Properties
   Centralized values for consistency and maintainability
   ---------------------------------------------------------------------------- */
:root {
  /* Brand Colors - Strategic use of red */
  --red-primary: #E60000;      /* Slightly refined red - less harsh than pure #FF0000 */
  --red-hover: #CC0000;        /* Deeper red for hover states */
  --red-subtle: rgba(230, 0, 0, 0.08); /* For subtle backgrounds */

  /* Neutrals - Sophisticated slate palette */
  --dark-slate: #0F172A;       /* Near-black for maximum impact */
  --medium-slate: #334155;     /* Primary body text */
  --light-slate: #64748B;      /* Secondary text, captions */
  --border-slate: #E2E8F0;     /* Subtle borders */
  --light-gray: #F8FAFC;       /* Light backgrounds */
  --white: #FFFFFF;

  /* Typography Scale - Based on 1.25 ratio (Major Third) */
  --text-xs: 0.8rem;           /* 12.8px - Fine print */
  --text-sm: 0.875rem;         /* 14px - Captions, labels */
  --text-base: 1rem;           /* 16px - Body text */
  --text-lg: 1.125rem;         /* 18px - Lead paragraphs */
  --text-xl: 1.25rem;          /* 20px - Small headings */
  --text-2xl: 1.563rem;        /* 25px - Section subheads */
  --text-3xl: 1.953rem;        /* 31px - Section heads */
  --text-4xl: 2.441rem;        /* 39px - Page heads */
  --text-5xl: 3.052rem;        /* 49px - Hero text */
  --text-6xl: 3.815rem;        /* 61px - Display */

  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;

  /* Line Heights */
  --leading-tight: 1.15;       /* Headings */
  --leading-snug: 1.3;         /* Subheadings */
  --leading-normal: 1.6;       /* Body text */
  --leading-relaxed: 1.75;     /* Long-form content */

  /* Letter Spacing */
  --tracking-tight: -0.02em;   /* Headings */
  --tracking-normal: 0;
  --tracking-wide: 0.05em;     /* Labels, caps */

  /* Spacing Scale - 8px base unit */
  --space-1: 0.25rem;          /* 4px */
  --space-2: 0.5rem;           /* 8px */
  --space-3: 0.75rem;          /* 12px */
  --space-4: 1rem;             /* 16px */
  --space-5: 1.25rem;          /* 20px */
  --space-6: 1.5rem;           /* 24px */
  --space-8: 2rem;             /* 32px */
  --space-10: 2.5rem;          /* 40px */
  --space-12: 3rem;            /* 48px */
  --space-16: 4rem;            /* 64px */
  --space-20: 5rem;            /* 80px */
  --space-24: 6rem;            /* 96px */
  --space-32: 8rem;            /* 128px */

  /* Section Spacing - Generous for premium feel */
  --section-padding: clamp(4rem, 8vw, 7rem);
  --section-gap: clamp(3rem, 6vw, 5rem);

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --container-wide: 1400px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.16);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: var(--leading-normal);
  color: var(--medium-slate);
  background: var(--white);
}

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

/* ----------------------------------------------------------------------------
   Typography System
   Clear hierarchy creates visual rhythm and guides the eye
   ---------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-bold);
  color: var(--dark-slate);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

h1 {
  font-size: var(--text-5xl);
  font-weight: var(--font-extrabold);
}

h2 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  line-height: var(--leading-snug);
}

h4 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
}

p {
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

/* Lead paragraph styling */
.lead {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--light-slate);
}

strong {
  font-weight: var(--font-semibold);
  color: var(--dark-slate);
}

/* ----------------------------------------------------------------------------
   Layout System
   ---------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

/* Section base styling */
section {
  scroll-margin-top: 100px;
}

/* ----------------------------------------------------------------------------
   Navigation
   Fixed, sleek, professional
   ---------------------------------------------------------------------------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--dark-slate);
  z-index: 1000;
  padding: var(--space-4) 0;
  transition: all var(--duration-normal) var(--ease-out);
}

/* Add subtle shadow when scrolled - can be enhanced with JS */
nav.scrolled {
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.logo:hover {
  opacity: 0.85;
}

.logo img {
  height: 36px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-8);
  align-items: center;
}

nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  transition: color var(--duration-fast) var(--ease-out);
  position: relative;
}

nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red-primary);
  transition: width var(--duration-normal) var(--ease-out);
}

nav a:not(.btn):hover {
  color: var(--white);
}

nav a:not(.btn):hover::after {
  width: 100%;
}

/* ----------------------------------------------------------------------------
   Mobile Navigation Toggle (Hamburger Menu)
   Hidden on desktop, visible on mobile
   ---------------------------------------------------------------------------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}

.hamburger-line:nth-child(1) {
  transform: translateY(-6px);
}

.hamburger-line:nth-child(3) {
  transform: translateY(6px);
}

/* Hamburger to X animation when active */
.nav-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

/* ----------------------------------------------------------------------------
   Buttons
   Confident, tactile, premium feel
   ---------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
}

.btn-primary {
  background: var(--red-primary);
  color: var(--white);
  border-color: var(--red-primary);
}

.btn-primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(230, 0, 0, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark-slate);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Larger button variant for hero */
.btn--lg {
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-base);
}

/* ----------------------------------------------------------------------------
   Hero Section
   Premium, confident, photographic
   ---------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 1;
}

/* Sophisticated multi-layer gradient overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  /* Darker, more dramatic gradient for premium feel */
  background:
    linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.4) 0%,
      rgba(15, 23, 42, 0.3) 40%,
      rgba(15, 23, 42, 0.6) 80%,
      rgba(15, 23, 42, 0.85) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  padding: var(--space-8);
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, var(--text-6xl));
  font-weight: var(--font-extrabold);
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.03em;
}

.hero-content p {
  font-size: clamp(1.125rem, 2.5vw, var(--text-xl));
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-10);
  opacity: 0.92;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);
}

/* ----------------------------------------------------------------------------
   Stats Bar
   High-impact, authoritative proof points
   ---------------------------------------------------------------------------- */
.stats-bar {
  background: var(--dark-slate);
  padding: var(--space-16) 0;
  position: relative;
}

/* Subtle top border accent */
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 600px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0.15) 80%,
    transparent
  );
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: clamp(var(--space-8), 8vw, var(--space-24));
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: var(--font-extrabold);
  color: var(--red-primary);
  display: block;
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  margin-bottom: var(--space-3);
}

.stat-label {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  opacity: 0.7;
}

/* ----------------------------------------------------------------------------
   Story Section (Compact)
   Centered, focused narrative
   ---------------------------------------------------------------------------- */
.story-compact {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.story-compact .container {
  max-width: var(--container-narrow);
  text-align: center;
}

.story-compact h2 {
  margin-bottom: var(--space-8);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
}

.story-compact p {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--medium-slate);
  margin-bottom: var(--space-6);
}

.story-compact p:last-child {
  margin-bottom: 0;
  font-weight: var(--font-semibold);
  color: var(--dark-slate);
}

/* ----------------------------------------------------------------------------
   Three Pillars Section
   Strong visual identity, premium cards
   ---------------------------------------------------------------------------- */
.pillars-section {
  padding: var(--section-padding) 0;
  background: var(--dark-slate);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Subtle decorative element */
.pillars-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(230, 0, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.pillars-section h2 {
  color: var(--white);
  text-align: center;
  margin-bottom: var(--section-gap);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
}

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

.pillar-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-10);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all var(--duration-normal) var(--ease-out);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--space-8);
  right: var(--space-8);
  height: 3px;
  background: var(--red-primary);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.pillar-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.pillar-card h3 {
  color: var(--white);
  margin-bottom: var(--space-4);
  font-size: var(--text-xl);
}

.pillar-card .pillar-subtitle {
  color: var(--red-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.pillar-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

/* ----------------------------------------------------------------------------
   Leadership Section
   Professional grid, subtle hover states
   ---------------------------------------------------------------------------- */
.people-section {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.people-section h2 {
  text-align: center;
  margin-bottom: var(--section-gap);
}

.people-intro {
  text-align: center;
  max-width: 500px;
  margin: 0 auto var(--section-gap);
  font-size: var(--text-lg);
  color: var(--light-slate);
}

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

.leader-card {
  text-align: center;
  transition: transform var(--duration-normal) var(--ease-out);
}

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

.leader-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  background: var(--light-gray);
  filter: grayscale(20%);
  transition: all var(--duration-normal) var(--ease-out);
}

.leader-card:hover .leader-photo {
  filter: grayscale(0%);
  box-shadow: var(--shadow-lg);
}

.leader-card h4 {
  margin-bottom: var(--space-1);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
}

.leader-card .title {
  font-size: var(--text-sm);
  color: var(--light-slate);
}

/* ----------------------------------------------------------------------------
   Services Section (Compact)
   Clean grid, subtle cards
   ---------------------------------------------------------------------------- */
.services-compact {
  padding: var(--section-padding) 0;
  background: var(--light-gray);
}

.services-compact h2 {
  text-align: center;
  margin-bottom: var(--section-gap);
}

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

.service-item {
  background: var(--white);
  padding: var(--space-8);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-slate);
  transition: all var(--duration-normal) var(--ease-out);
}

.service-item:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-2px);
}

.service-item h4 {
  color: var(--dark-slate);
  margin-bottom: var(--space-3);
  font-size: var(--text-lg);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.service-item h4::before {
  content: '';
  width: 3px;
  height: 1em;
  background: var(--red-primary);
  border-radius: 2px;
}

.service-item p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--medium-slate);
}

/* ----------------------------------------------------------------------------
   Clients Section (Compact)
   Understated authority
   ---------------------------------------------------------------------------- */
.clients-compact {
  padding: var(--space-16) 0;
  background: var(--white);
  border-top: 1px solid var(--border-slate);
  border-bottom: 1px solid var(--border-slate);
}

.clients-compact h2 {
  text-align: center;
  margin-bottom: var(--section-gap);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
}

.clients-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-10);
}

.client-item {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--medium-slate);
  transition: color var(--duration-fast) var(--ease-out);
}

.client-item:hover {
  color: var(--dark-slate);
}

/* Client Cards Grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.client-card {
  position: relative;
  background-color: var(--dark-slate);
  background-size: cover;
  background-position: center;
  padding: var(--space-16) var(--space-6);
  border-radius: var(--radius-md);
  text-align: center;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dark overlay for text readability over images */
.client-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.5) 100%);
  z-index: 1;
  transition: opacity var(--duration-normal) var(--ease-out);
}

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

.client-card:hover::before {
  opacity: 0;
}

.client-name {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--white);
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: var(--tracking-tight);
  transition: opacity var(--duration-normal) var(--ease-out);
}

/* Hide client name on hover to show description */
.client-card:hover .client-name {
  opacity: 0;
}

.client-overlay {
  position: absolute;
  inset: 0;
  background: var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.client-overlay p {
  color: var(--white);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin: 0;
}

.client-card:hover .client-overlay {
  opacity: 1;
}

/* ----------------------------------------------------------------------------
   Big 5 Beliefs Section
   Distinctive, foundational, manifesto-like
   ---------------------------------------------------------------------------- */
.big-5-section {
  padding: var(--section-padding) 0;
  background: var(--white);
  position: relative;
}

/* Subtle background texture */
.big-5-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(180deg, var(--light-gray) 0%, var(--white) 20%, var(--white) 80%, var(--light-gray) 100%);
  opacity: 0.5;
  pointer-events: none;
}

.big-5-section > .container {
  position: relative;
  z-index: 1;
}

.big-5-section > .container > h2 {
  text-align: center;
  margin-bottom: var(--space-2);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
}

.big-5-section > .container > p {
  text-align: center;
  max-width: 500px;
  margin: 0 auto var(--section-gap);
  font-size: var(--text-lg);
  color: var(--light-slate);
}

.belief-card {
  display: flex;
  gap: var(--space-8);
  align-items: flex-start;
  padding: var(--space-10) 0;
  border-bottom: 1px solid var(--border-slate);
  max-width: 900px;
  margin: 0 auto;
}

.belief-card:last-child {
  border-bottom: none;
}

.belief-number {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-hover) 100%);
  color: var(--white);
  font-size: var(--text-3xl);
  font-weight: var(--font-extrabold);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(230, 0, 0, 0.25);
}

.belief-content {
  flex: 1;
  padding-top: var(--space-2);
}

.belief-content h3 {
  margin-bottom: var(--space-2);
  font-size: var(--text-2xl);
  color: var(--dark-slate);
}

.belief-content .belief-because {
  display: block;
  color: var(--red-primary);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  font-style: italic;
  margin-bottom: var(--space-3);
}

.belief-content p {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--medium-slate);
}

/* ----------------------------------------------------------------------------
   Beliefs Section (Card Grid Format)
   Clean cards on light background, matching overall design language
   ---------------------------------------------------------------------------- */
.beliefs-section {
  padding: var(--section-padding) 0;
  background: var(--light-gray);
}

.beliefs-section h2 {
  text-align: center;
  margin-bottom: var(--section-gap);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
}

.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-5);
}

.belief-card-new {
  background: var(--white);
  padding: var(--space-6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-slate);
  position: relative;
  transition: all var(--duration-normal) var(--ease-out);
}

/* Red accent bar at top */
.belief-card-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--space-4);
  right: var(--space-4);
  height: 3px;
  background: var(--red-primary);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.belief-card-new:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-4px);
}

.belief-number-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-hover) 100%);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
  box-shadow: 0 4px 12px rgba(230, 0, 0, 0.2);
}

.belief-card-new h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--dark-slate);
  margin-bottom: var(--space-2);
  line-height: var(--leading-snug);
}

.belief-card-new .belief-because {
  display: block;
  color: var(--red-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  font-style: italic;
  margin-bottom: var(--space-3);
}

.belief-card-new p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--medium-slate);
}

/* Beliefs responsive */
@media (max-width: 1200px) {
  .beliefs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .beliefs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .belief-card-new {
    padding: var(--space-5);
  }
}

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

/* ----------------------------------------------------------------------------
   CTA Section
   Compelling but refined
   ---------------------------------------------------------------------------- */
.cta-section {
  padding: var(--section-padding) 0;
  background: var(--dark-slate);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative gradient */
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(230, 0, 0, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--space-4);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
}

.cta-section p {
  font-size: var(--text-lg);
  opacity: 0.85;
  margin-bottom: var(--space-8);
}

.cta-section .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-base);
}

.cta-section .btn-outline:hover {
  background: var(--white);
  color: var(--dark-slate);
  border-color: var(--white);
}

/* ----------------------------------------------------------------------------
   Footer
   Clean, understated
   ---------------------------------------------------------------------------- */
footer {
  background: var(--dark-slate);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-12) 0 var(--space-8);
  text-align: center;
  font-size: var(--text-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-5);
}

.footer-social a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-social a:hover {
  color: var(--red-primary);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  letter-spacing: var(--tracking-wide);
  transition: color var(--duration-fast) var(--ease-out);
}

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

.footer-divider {
  color: rgba(255, 255, 255, 0.3);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--text-xs);
  margin: 0;
}

/* ----------------------------------------------------------------------------
   Privacy Policy Page
   Clean, readable legal content
   ---------------------------------------------------------------------------- */
.policy-page {
  padding: calc(80px + var(--section-padding)) 0 var(--section-padding);
  background: var(--white);
  min-height: 100vh;
}

.policy-page h1 {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  margin-bottom: var(--space-2);
  color: var(--dark-slate);
}

.policy-page .policy-date {
  font-size: var(--text-sm);
  color: var(--light-slate);
  margin-bottom: var(--space-10);
  font-weight: var(--font-medium);
}

.policy-page .lead {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--medium-slate);
  margin-bottom: var(--space-10);
}

.policy-page h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  color: var(--dark-slate);
}

.policy-page p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--medium-slate);
  margin-bottom: var(--space-4);
}

.policy-page address {
  font-style: normal;
  line-height: var(--leading-relaxed);
  color: var(--medium-slate);
  margin-top: var(--space-4);
}

.policy-page address a {
  color: var(--red-primary);
  text-decoration: none;
  font-weight: var(--font-semibold);
}

.policy-page address a:hover {
  text-decoration: underline;
}

/* ----------------------------------------------------------------------------
   Responsive Design
   Mobile-first refinements
   ---------------------------------------------------------------------------- */

/* Tablet and below */
@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    max-width: 600px;
    margin: 0 auto;
  }

  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-10) var(--space-6);
  }

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

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

/* Mobile landscape and below */
@media (max-width: 768px) {
  :root {
    --section-padding: 4rem;
  }

  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-xl); }

  .container {
    padding: 0 var(--space-5);
  }

  /* Mobile Navigation - Hamburger Menu */
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--dark-slate);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px var(--space-8) var(--space-8);
    gap: 0;
    transform: translateX(100%);
    transition: transform var(--duration-slow) var(--ease-out);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
    z-index: 1000;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-menu li:last-child {
    border-bottom: none;
    margin-top: var(--space-6);
  }

  .nav-menu a {
    display: block;
    padding: var(--space-4) 0;
    font-size: var(--text-base);
    letter-spacing: var(--tracking-normal);
    text-transform: none;
  }

  .nav-menu a:not(.btn)::after {
    display: none;
  }

  .nav-menu .btn {
    width: 100%;
    text-align: center;
    padding: var(--space-4) var(--space-6);
  }

  /* Mobile menu overlay */
  nav::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal) var(--ease-out);
    z-index: 999;
    pointer-events: none;
  }

  nav:has(.nav-menu.active)::before {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Hero mobile */
  .hero-content {
    padding: var(--space-6);
  }

  .hero-content h1 {
    font-size: var(--text-4xl);
  }

  .hero-content p {
    font-size: var(--text-base);
  }

  /* Stats bar mobile - stack vertically */
  .stats-row {
    flex-direction: column;
    gap: var(--space-8);
  }

  .stat-number {
    font-size: var(--text-4xl);
  }

  /* Beliefs mobile */
  .belief-card {
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-8) 0;
  }

  .belief-number {
    width: 56px;
    height: 56px;
    font-size: var(--text-2xl);
  }

  .belief-content h3 {
    font-size: var(--text-xl);
  }

  .belief-content p {
    font-size: var(--text-base);
  }

  /* Leadership mobile */
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  /* Services mobile */
  .services-row {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .service-item {
    padding: var(--space-6);
  }

  /* Clients mobile */
  .clients-row {
    gap: var(--space-3) var(--space-6);
  }

  .client-item {
    font-size: var(--text-sm);
  }

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

/* Small mobile */
@media (max-width: 480px) {
  .leadership-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-content h1 {
    font-size: var(--text-3xl);
  }

  .pillar-card {
    padding: var(--space-6);
  }

  /* Smaller mobile menu width */
  .nav-menu {
    width: 100%;
  }

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

/* ----------------------------------------------------------------------------
   Print Styles
   ---------------------------------------------------------------------------- */
@media print {
  nav,
  .cta-section {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: var(--space-8) 0;
  }

  .hero-overlay {
    background: none;
  }

  .hero-content h1,
  .hero-content p {
    color: var(--dark-slate);
    text-shadow: none;
  }
}
