/* ============================================
   LINKLOCAL - Design System
   Japanese Craftsmanship + Scandinavian Clarity
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
  /* Brand Colors */
  --primary-blue: #0C61B5;
  --secondary-blue: #5D95CC;
  --ink: #0B1B2B;
  --warm-accent: #D6B36A;
  
  /* Gray Scale */
  --gray-50: #F8F9FA;
  --gray-100: #E9ECEF;
  --gray-200: #DEE2E6;
  --gray-300: #CED4DA;
  --gray-400: #ADB5BD;
  --gray-500: #6C757D;
  --gray-600: #495057;
  --gray-700: #343A40;
  --gray-800: #212529;
  
  /* Semantic Colors */
  --text-primary: var(--ink);
  --text-secondary: var(--gray-600);
  --text-light: var(--gray-500);
  --border-color: var(--gray-200);
  --bg-white: #FFFFFF;
  --bg-subtle: var(--gray-50);
  
  /* Typography Scale */
  --font-sans: 'Libre Franklin', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
  --text-5xl: 3rem;       /* 48px */
  --text-6xl: 3.75rem;    /* 60px */
  --text-7xl: 4.5rem;     /* 72px */
  
  /* Spacing Scale */
  --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 */
  
  /* Layout */
  --container-max: 1200px;
  --content-max: 720px;
  --nav-height: 80px;
  
  /* Effects */
  --shadow-sm: 0 1px 2px 0 rgba(11, 27, 43, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(11, 27, 43, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(11, 27, 43, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(11, 27, 43, 0.1);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  background: #f5f5f5;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-white);
  overflow-x: hidden;
  max-width: 1440px;
  margin: 0 auto;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.08);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--space-6);
}

h1 {
  font-size: var(--text-5xl);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-4xl);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

p {
  margin-bottom: var(--space-6);
  color: var(--text-secondary);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--secondary-blue);
}

strong {
  font-weight: 600;
  color: var(--text-primary);
}

/* ===== LAYOUT UTILITIES ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-24) 0;
}

.section-lg {
  padding: var(--space-32) 0;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
  border-bottom-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.navbar-logo img {
  height: 36px;
  width: auto;
}

.navbar-brand {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.navbar-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
  position: relative;
}

.navbar-link:hover,
.navbar-link.active {
  color: var(--primary-blue);
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-blue);
  transition: width var(--transition-base);
}

.navbar-link.active::after,
.navbar-link:hover::after {
  width: 100%;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.navbar-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all var(--transition-base);
}

.navbar-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
}

.btn-primary:hover {
  background: var(--secondary-blue);
  border-color: var(--secondary-blue);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: white;
}

.btn-text {
  background: transparent;
  color: var(--primary-blue);
  padding: var(--space-2) var(--space-4);
}

.btn-text:hover {
  color: var(--secondary-blue);
  background: var(--gray-50);
}

/* ===== HERO ===== */
.hero {
  padding: calc(var(--nav-height) + var(--space-32)) 0 var(--space-8);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 900px;
}

.hero-title {
  font-size: var(--text-6xl);
  margin-bottom: var(--space-8);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: var(--text-xl);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--space-10);
  max-width: 720px;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ===== CARDS ===== */
.card {
  background: white;
  border: 1px solid var(--border-color);
  padding: var(--space-8);
  transition: all var(--transition-base);
}

.card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.card-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

.card-minimal {
  background: transparent;
  border: none;
  padding: 0;
}

.card-minimal:hover {
  transform: none;
  box-shadow: none;
}

/* ===== GRID ===== */
.grid {
  display: grid;
  gap: var(--space-8);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* ===== PILLARS ===== */
.pillar-card {
  padding: var(--space-10);
  border: 1px solid var(--border-color);
  position: relative;
  background: white;
  transition: all var(--transition-base);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary-blue);
  transition: height var(--transition-base);
}

.pillar-card:hover::before {
  height: 100%;
}

.pillar-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-lg);
}

.pillar-number {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.pillar-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.pillar-description {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== VALUES LIST ===== */
.values-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.value-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.value-icon {
  width: 8px;
  height: 8px;
  background: var(--primary-blue);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.value-content h4 {
  margin-bottom: var(--space-2);
  font-size: var(--text-lg);
}

.value-content p {
  margin-bottom: 0;
  font-size: var(--text-base);
}

/* ===== QUOTE / CALLOUT ===== */
.quote-block {
  border-left: 4px solid var(--primary-blue);
  padding: var(--space-8) var(--space-10);
  background: var(--bg-subtle);
  margin: var(--space-12) 0;
}

.quote-text {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 0;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding: var(--space-8) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  padding-left: var(--space-12);
  padding-bottom: var(--space-12);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -5px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-blue);
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--primary-blue);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: var(--space-2);
}

.timeline-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.timeline-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ===== FORM ===== */
.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(12, 97, 181, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.6;
}

.form-helper {
  font-size: var(--text-sm);
  color: var(--text-light);
  margin-top: var(--space-2);
  line-height: 1.5;
}

.form-error {
  font-size: var(--text-sm);
  color: #DC2626;
  margin-top: var(--space-2);
}

.form-input.error,
.form-textarea.error {
  border-color: #DC2626;
}

.form-success {
  padding: var(--space-6);
  background: #ECFDF5;
  border: 1px solid #10B981;
  border-radius: 2px;
  color: #065F46;
}

.form-error-message {
  padding: var(--space-6);
  background: #FEF2F2;
  border: 1px solid #DC2626;
  border-radius: 2px;
  color: #991B1B;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border-color);
  padding: var(--space-20) 0 var(--space-8);
  background: var(--bg-subtle);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-20);
  margin-bottom: var(--space-16);
}

.footer-brand {
  max-width: 480px;
}

.footer-brand h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.footer-brand p {
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
  line-height: 1.7;
  font-size: var(--text-base);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-16);
}

.footer-section h4 {
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-6);
  color: var(--ink);
  position: relative;
  padding-bottom: var(--space-2);
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-blue);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: var(--space-4);
}

.footer-section a {
  color: var(--text-secondary);
  font-size: var(--text-base);
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.footer-section a:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .footer-brand {
    max-width: 100%;
  }
}

/* ===== UTILITIES ===== */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-blue);
}

.text-muted {
  color: var(--text-light);
}

.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

/* Word wrapping for long text */
.wrap-text {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Prevent text overflow */
h1, h2, h3, h4, h5, h6 {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Ensure containers don't overflow */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }
  
  .navbar-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    padding: var(--space-6);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition-base);
    pointer-events: none;
  }
  
  .navbar-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .navbar-menu li {
    width: 100%;
    text-align: center;
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .navbar-menu li:last-child {
    border-bottom: none;
  }
  
  .navbar-link::after {
    display: none;
  }
  
  .navbar-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: var(--text-4xl);
    line-height: 1.15;
  }
  
  .hero-subtitle {
    font-size: var(--text-lg);
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  h1 { 
    font-size: var(--text-4xl);
    line-height: 1.2;
  }
  h2 { 
    font-size: var(--text-3xl);
    line-height: 1.25;
  }
  h3 { 
    font-size: var(--text-2xl);
    line-height: 1.3;
  }
  
  .section {
    padding: var(--space-16) 0;
  }
  
  .section-lg {
    padding: var(--space-20) 0;
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  /* Split section fixes for stat blocks */
  .split-content {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  
  .split-visual {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
  
  .stat-block {
    padding: var(--space-6);
  }
  
  .stat-number {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-3);
  }
  
  .stat-label {
    font-size: 0.625rem; /* 10px */
    line-height: 1.3;
  }
  
  /* Process flow mobile */
  .process-flow {
    flex-direction: column;
    gap: var(--space-6);
  }
  
  .process-flow::before {
    display: none;
  }
  
  .process-stage {
    width: 100%;
    min-width: auto;
  }
  
  .process-stage-title {
    font-size: var(--text-lg);
  }
  
  /* Founder section mobile */
  .founder-section {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .founder-image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .founder-stats {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .founder-stats div {
    font-size: var(--text-xs);
  }
  
  /* Industry grid mobile */
  .industry-grid {
    grid-template-columns: 1fr;
  }
  
  /* Contact options mobile */
  .contact-options {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .option-divider {
    display: none;
  }
  
  .option-card {
    padding: var(--space-6);
  }
  
  /* Quote blocks mobile */
  .quote-block {
    padding: var(--space-6) var(--space-6);
    margin: var(--space-8) 0;
  }
  
  .quote-text {
    font-size: var(--text-xl);
    line-height: 1.4;
  }
  
  /* Pillar cards mobile */
  .pillar-card {
    padding: var(--space-8);
  }
  
  .pillar-number {
    font-size: var(--text-4xl);
  }
  
  .pillar-title {
    font-size: var(--text-xl);
  }
  
  /* Example cards mobile */
  .example-cards {
    grid-template-columns: 1fr;
  }
  
  .example-card {
    padding: var(--space-6);
  }
  
  /* FAQ mobile */
  .faq-question {
    font-size: var(--text-base);
  }
  
  /* Timeline mobile improvements */
  .timeline-item {
    padding-left: var(--space-8);
  }
  
  .timeline-marker {
    left: -4px;
    width: 10px;
    height: 10px;
  }
  
  .timeline-year {
    font-size: var(--text-base);
  }
  
  .timeline-title {
    font-size: var(--text-lg);
  }
  
  /* Values list mobile */
  .values-list {
    gap: var(--space-5);
  }
  
  .value-item {
    gap: var(--space-3);
  }
  
  .value-content h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-2);
  }
  
  .value-content p {
    font-size: var(--text-sm);
  }
  
  /* Red flags list mobile */
  .red-flags-list li {
    font-size: var(--text-sm);
    padding-left: var(--space-6);
  }
  
  .red-flags-list li::before {
    font-size: var(--text-base);
    left: 0;
  }
  
  /* Deliverables list mobile */
  .deliverables-list li {
    font-size: var(--text-sm);
    padding-left: var(--space-6);
  }
  
  /* Pricing principle mobile */
  .pricing-principle {
    padding: var(--space-6);
  }
  
  .pricing-principle h4 {
    font-size: var(--text-lg);
  }
  
  /* Trust badges mobile */
  .trust-badges {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-4);
  }
  
  .trust-badge {
    justify-content: center;
    font-size: var(--text-xs);
    padding: var(--space-3) var(--space-4);
  }
}

@media (max-width: 480px) {
  .container,
  .container-narrow {
    padding: 0 var(--space-4);
  }
  
  .pillar-card {
    padding: var(--space-6);
  }
  
  .hero-title {
    font-size: var(--text-3xl);
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: var(--text-base);
    line-height: 1.6;
  }
  
  h1 {
    font-size: var(--text-3xl);
    line-height: 1.2;
  }
  
  h2 {
    font-size: var(--text-2xl);
    line-height: 1.25;
  }
  
  /* Stat blocks on very small screens - stack in single column */
  .split-visual {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    max-width: 280px;
    margin: 0 auto;
  }
  
  .stat-block {
    padding: var(--space-5);
  }
  
  .stat-number {
    font-size: var(--text-3xl);
  }
  
  .stat-label {
    font-size: 0.6875rem; /* 11px */
    line-height: 1.4;
  }
  
  /* Quote text smaller */
  .quote-block {
    padding: var(--space-5);
  }
  
  .quote-text {
    font-size: var(--text-lg);
    line-height: 1.5;
  }
  
  /* Contact options padding */
  .option-card {
    padding: var(--space-5);
  }
  
  .option-card h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
  }
  
  /* Buttons full width on small screens */
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  /* Trust badges smaller text */
  .trust-badge {
    font-size: 0.6875rem; /* 11px */
    padding: var(--space-2) var(--space-3);
  }
  
  /* Founder stats smaller */
  .founder-stats div {
    font-size: 0.6875rem; /* 11px */
    padding: var(--space-2);
  }
  
  /* Example cards */
  .example-card {
    padding: var(--space-5);
  }
  
  .example-label {
    font-size: 0.625rem; /* 10px */
  }
  
  .example-card h4 {
    font-size: var(--text-lg);
  }
  
  /* Timeline insights */
  .timeline-insight {
    padding: var(--space-4);
    font-size: var(--text-sm);
  }
  
  /* Reduce spacing overall */
  .section {
    padding: var(--space-12) 0;
  }
  
  .section-lg {
    padding: var(--space-16) 0;
  }
}

/* ===== STAT BLOCKS ===== */
.split-section {
  background: var(--bg-subtle);
}

.split-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-16);
  align-items: center;
}

.split-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.stat-block {
  background: white;
  border: 1px solid var(--border-color);
  padding: var(--space-10);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.stat-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.stat-block:hover::before {
  transform: scaleX(1);
}

.stat-block:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 600;
  color: var(--primary-blue);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.stat-label {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ===== PROCESS VISUALIZATION ===== */
.process-flow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: var(--space-16) 0;
  position: relative;
}

.process-flow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    var(--primary-blue) 0%, 
    var(--secondary-blue) 50%, 
    var(--warm-accent) 100%);
  z-index: 0;
  transform: translateY(-50%);
}

.process-stage {
  background: white;
  border: 2px solid var(--primary-blue);
  padding: var(--space-8);
  text-align: center;
  min-width: 180px;
  position: relative;
  z-index: 1;
  transition: all var(--transition-base);
}

.process-stage:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--warm-accent);
}

.process-stage-number {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--warm-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
}

.process-stage-title {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0;
}

/* ===== HERO ENHANCEMENTS ===== */
.hero {
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(12, 97, 181, 0.03) 0%, 
    transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-image-container {
  margin-top: var(--space-12);
  max-width: 900px;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 2 / 1;
  background: var(--gray-100);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition-slow);
}

.hero-image:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .hero-image-container {
    aspect-ratio: 16 / 9;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-image-container {
    aspect-ratio: 4 / 3;
    margin-top: var(--space-8);
  }
}

.hero-image-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-12);
  position: relative;
  overflow: hidden;
}

.hero-image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ===== IMAGE PLACEHOLDERS ===== */
.image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--border-color);
}

/* Fallback for missing images */
img[src*="hero-home.jpg"],
img[src*="hero-services.jpg"],
img[src*="hero-process.jpg"],
img[src*="founder.jpg"] {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  min-height: 400px;
}

img[src*="founder.jpg"] {
  min-height: 300px;
}

/* Image loading state */
img {
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

img.loaded,
img:not([src*=".jpg"]) {
  opacity: 1;
}

.founder-section {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-16);
  align-items: start;
}

.founder-image {
  width: 300px;
  height: 300px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .founder-image {
    width: 240px;
    height: 240px;
  }
}

@media (max-width: 480px) {
  .founder-image {
    width: 200px;
    height: 200px;
  }
}

.founder-image img,
.founder-image .image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-photo {
  filter: grayscale(20%);
  transition: filter var(--transition-base);
}

.founder-photo:hover {
  filter: grayscale(0%);
}

.founder-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-color);
}

.founder-stats div {
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== INDUSTRY CARDS ===== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.industry-card {
  padding: var(--space-8);
  border: 1px solid var(--border-color);
  background: white;
  transition: all var(--transition-base);
}

.industry-card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.industry-card h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  color: var(--primary-blue);
}

.industry-card p {
  margin-bottom: 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ===== PRICING SECTION ===== */
.pricing-principle {
  padding: var(--space-8);
  border-left: 3px solid var(--primary-blue);
  background: white;
  margin-bottom: var(--space-8);
}

.pricing-principle:last-child {
  margin-bottom: 0;
}

.pricing-principle h4 {
  margin-bottom: var(--space-4);
  color: var(--ink);
}

.pricing-principle p {
  margin-bottom: var(--space-4);
}

.pricing-principle p:last-child {
  margin-bottom: 0;
}

/* ===== DELIVERABLES LIST ===== */
.deliverables-list {
  list-style: none;
  margin: var(--space-6) 0;
}

.deliverables-list li {
  padding: var(--space-3) 0;
  padding-left: var(--space-8);
  position: relative;
  color: var(--text-secondary);
  line-height: 1.6;
}

.deliverables-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: 600;
}

/* ===== TIMELINE ENHANCEMENTS ===== */
.timeline-item {
  position: relative;
  padding-left: var(--space-12);
  padding-bottom: var(--space-12);
}

.timeline-insight {
  margin-top: var(--space-6);
  padding: var(--space-6);
  background: linear-gradient(135deg, 
    rgba(12, 97, 181, 0.03) 0%, 
    rgba(93, 149, 204, 0.03) 100%);
  border-left: 3px solid var(--warm-accent);
  font-style: italic;
  color: var(--text-secondary);
}

.timeline-insight::before {
  content: '💡 ';
  font-style: normal;
}

/* ===== RED FLAGS SECTION ===== */
.red-flags-list {
  list-style: none;
}

.red-flags-list li {
  padding: var(--space-4) 0;
  padding-left: var(--space-8);
  position: relative;
  color: var(--text-secondary);
  line-height: 1.6;
}

.red-flags-list li::before {
  content: '❌';
  position: absolute;
  left: 0;
  font-size: var(--text-lg);
}

/* ===== EXAMPLE CARDS ===== */
.example-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.example-card {
  padding: var(--space-8);
  background: white;
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.example-card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-lg);
}

.example-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warm-accent);
  margin-bottom: var(--space-3);
  font-weight: 600;
}

.example-card h4 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
  color: var(--ink);
}

.example-card p {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

/* ===== CONTACT OPTIONS ===== */
.contact-options {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-bottom: var(--space-16);
}

.option-card {
  text-align: center;
  padding: var(--space-10);
  border: 2px dashed var(--border-color);
  background: white;
  transition: all var(--transition-base);
}

.option-card:hover {
  border-color: var(--primary-blue);
  border-style: solid;
  box-shadow: var(--shadow-md);
}

.option-card h4 {
  margin-bottom: var(--space-4);
}

.option-card p {
  margin-bottom: var(--space-6);
  color: var(--text-secondary);
}

.option-divider {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== FAQ SECTION ===== */
.faq-list {
  margin-top: var(--space-12);
}

.faq-item {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-question {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-3);
  font-size: var(--text-lg);
}

.faq-answer {
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.7;
}

/* ===== TRUST BADGES ===== */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
  margin: var(--space-12) 0;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: white;
  border: 1px solid var(--border-color);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.trust-badge::before {
  content: '✓';
  color: var(--primary-blue);
  font-size: var(--text-lg);
  font-weight: bold;
}

/* ===== TESTIMONIAL ===== */
.testimonial {
  padding: var(--space-12);
  background: white;
  border-left: 4px solid var(--primary-blue);
  margin: var(--space-12) 0;
  box-shadow: var(--shadow-md);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-author {
  font-size: var(--text-sm);
  color: var(--text-light);
}

.testimonial-author strong {
  color: var(--text-primary);
}

/* ===== ENHANCED PILLAR CARDS ===== */
.pillar-card:hover .pillar-number {
  color: var(--warm-accent);
}

/* ===== SECTION BACKGROUNDS ===== */
.section-accent {
  background: linear-gradient(180deg, 
    rgba(214, 179, 106, 0.03) 0%, 
    rgba(255, 255, 255, 0) 100%);
}

.section-pattern {
  background-image: 
    linear-gradient(rgba(12, 97, 181, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 97, 181, 0.02) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* ===== ACCESSIBILITY ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

*:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* ===== LOADING STATE ===== */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary-blue);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
/* ===== Split section: FORCE mobile stacking (place at end of file) ===== */
@media (max-width: 768px) {
  .split-content {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: start;
  }

  .split-visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
  }

  .stat-block {
    padding: var(--space-6);
  }

  .stat-number {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-3);
  }

  .stat-label {
    font-size: 0.75rem; /* 12px */
    line-height: 1.3;
    word-break: break-word;
  }
}

@media (max-width: 480px) {
  .split-visual {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .stat-number {
    font-size: var(--text-3xl);
  }

  .stat-label {
    font-size: 0.6875rem; /* 11px */
  }
}
/* ===== Founder section: FORCE mobile stacking (place at end of file) ===== */
@media (max-width: 768px) {
  .founder-section {
    grid-template-columns: 1fr !important;
    gap: var(--space-8) !important;
    align-items: start;
  }

  .founder-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 1 / 1;          /* keeps it square */
    margin: 0 auto;
  }

  .founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .founder-stats {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}
/* ===== Contact options: FORCE mobile stacking (place at end of file) ===== */
@media (max-width: 768px) {
  .contact-options {
    grid-template-columns: 1fr !important;
    gap: var(--space-8) !important;
  }

  .option-divider {
    display: none !important;
  }

  .option-card {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  /* Optional: stop buttons from looking cramped */
  .option-card .btn {
    width: 100%;
  }
}

