/* ============================================
   MEMORIAL RIDGE - BOLD MODERN DESIGN
   Inspired by LeftClick's premium aesthetic
   ============================================ */

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

:root {
  /* Brand Colors - Primary Palette */
  --primary: #0F172A;
  --secondary: #FBBF24;
  --secondary-dark: #f59e0b;
  --background: #E3E4E8;

  /* Derived Colors */
  --black: #0F172A;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #E3E4E8;
  --gray-200: #d1d5db;
  --gray-300: #b8bcc4;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-900: #1f2937;

  /* Typography */
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Manrope', sans-serif;

  /* Spacing */
  --section-padding: clamp(80px, 12vw, 160px);
  --container-padding: clamp(20px, 5vw, 80px);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.65, 0.05, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* ===== TYPOGRAPHY - BOLD & DRAMATIC ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* Massive display headings */
.display-xl {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.display-lg {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1;
}

.display-md {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
}

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

p {
  color: var(--gray-600);
  line-height: 1.7;
}

.text-large {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.6;
}

.text-small {
  font-size: 0.875rem;
}

.text-muted {
  color: var(--gray-500);
}

/* Text with highlight underline */
.highlight {
  background: linear-gradient(to bottom, transparent 60%, var(--secondary) 60%);
}

/* Animated highlight for hero title - draws left to right */
.hero__title .highlight {
  background-size: 0% 100%;
  background-repeat: no-repeat;
  animation: highlightDraw 0.8s ease-out forwards;
}

/* First highlight (Accounting) */
.hero__title .highlight:first-of-type {
  animation-delay: 0.3s;
}

/* Second highlight (Professional Services) */
.hero__title .highlight:last-of-type {
  animation-delay: 0.7s;
}

/* Animated highlight for page headers - draws left to right on load */
.page-header h1 .highlight {
  background-size: 0% 100%;
  background-repeat: no-repeat;
  animation: highlightDraw 0.8s ease-out 0.3s forwards;
}

@keyframes highlightDraw {
  0% {
    background-size: 0% 100%;
  }
  100% {
    background-size: 100% 100%;
  }
}

/* Bold emphasis */
.emphasis {
  font-weight: 700;
  color: var(--black);
}

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

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

.container--wide {
  max-width: 1600px;
}

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

.section--white {
  background: var(--white);
}

.section--dark {
  background: var(--black);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--dark p {
  color: var(--gray-400);
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.5s var(--ease-out-expo);
}

.nav__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
}

.nav.scrolled .nav__container {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  padding: 8px 32px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

/* CTA button on far right */
.nav__cta-btn {
  flex-shrink: 0;
}

/* Hide mobile CTA on desktop */
.nav__cta-mobile {
  display: none;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo img {
  height: 32px;
  width: auto;
}

/* Logo swap on scroll */
.nav__logo-scrolled {
  display: none;
}

.nav.scrolled .nav__logo-default {
  display: none;
}

.nav.scrolled .nav__logo-scrolled {
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.nav__link:hover {
  color: var(--black);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.3s var(--ease-out-expo);
  flex-shrink: 0;
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
  background: #1e293b;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s ease;
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 36px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out-expo);
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
}

.btn--primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.3);
  background: #1e293b;
}

.btn--primary:active {
  transform: translateY(-2px) scale(1);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
}

.btn--secondary {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.btn--secondary:hover {
  background: #fcd34d;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(251, 191, 36, 0.4);
}

.btn--secondary:active {
  transform: translateY(-2px) scale(1);
  background: var(--secondary-dark);
}

/* Service page buttons - special styling with confetti on hover */
.btn--service {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
  position: relative;
}

.btn--service:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.3);
  background: #1e293b;
}

.btn--service:active {
  transform: translateY(-2px) scale(1);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
}

/* Confetti container for service buttons - positioned to cover full button */
.btn--service-confetti .confetti-burst {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: visible;
}

/* Individual confetti particles - positioned by JS relative to cursor */
.btn--service-confetti .confetti-piece {
  position: absolute;
  width: 6px;
  height: 6px;
  pointer-events: none;
  animation: confettiStream 1.2s ease-out forwards;
}

.btn--service-confetti .confetti-piece.circle {
  border-radius: 50%;
}

.btn--service-confetti .confetti-piece.rect {
  width: 4px;
  height: 10px;
  border-radius: 2px;
}

.btn--service-confetti .confetti-piece.square {
  border-radius: 1px;
}

/* Continuous streaming confetti animation */
@keyframes confettiStream {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0.3);
  }
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--gray-300);
}

.btn--outline:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.2);
}

.btn--outline:active {
  transform: translateY(-2px);
}

.btn--sm {
  padding: 12px 24px;
  font-size: 0.875rem;
}

.btn--white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn--white:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.btn--large {
  padding: 22px 48px;
  font-size: 1.0625rem;
}

.btn__arrow {
  transition: transform 0.4s var(--ease-out-expo);
}

.btn:hover .btn__arrow {
  transform: translateX(6px);
  animation: arrowBounce 0.6s var(--ease-out-expo);
}

@keyframes arrowBounce {
  0% { transform: translateX(0); }
  50% { transform: translateX(10px); }
  100% { transform: translateX(6px); }
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  background: var(--background);
  position: relative;
  overflow: hidden;
}

/* Base dot grid - subtle, lighter colored */
.hero__dots {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, rgba(180, 185, 195, 0.5) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

/* Interactive highlight layer - vibrant gold dots revealed on hover */
.hero__dots-highlight {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, var(--secondary) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  /* Mask will be set by JS - smaller, more focused radius */
  mask-image: radial-gradient(120px circle at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(120px circle at 50% 50%, black 0%, transparent 100%);
}

.hero__container {
  position: relative;
  z-index: 2;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
}

.hero__content {
  max-width: 680px;
}

/* Hero visual - AI Adoption Ridge */
.hero__visual {
  position: relative;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero badge removed - keeping selector for backwards compatibility */
.hero__badge {
  display: none;
}

.hero__title {
  margin-bottom: 24px;
}

.hero__title-line {
  display: block;
}

.hero__subtitle {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  color: var(--gray-600);
  max-width: 100%;
  margin-bottom: 32px;
  line-height: 1.7;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== SHIMMER BUTTON - Primary CTA Style ===== */
.btn-shimmer {
  --btn-bg: var(--primary);
  --btn-radius: 100px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  background: var(--btn-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--btn-radius);
  cursor: pointer;
  position: relative;
  z-index: 0;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.2);
}

/* Inner backdrop */
.btn-shimmer .btn-shimmer__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-bg);
  border-radius: var(--btn-radius);
}

/* Confetti container for shimmer buttons */
.btn-shimmer .confetti-burst {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 10;
}

/* Individual confetti particles */
.btn-shimmer .confetti-piece {
  position: absolute;
  width: 6px;
  height: 6px;
  pointer-events: none;
  animation: confettiStream 1.2s ease-out forwards;
}

.btn-shimmer .confetti-piece.circle {
  border-radius: 50%;
}

.btn-shimmer .confetti-piece.rect {
  width: 4px;
  height: 10px;
  border-radius: 2px;
}

.btn-shimmer .confetti-piece.square {
  border-radius: 1px;
}

/* Inner highlight glow */
.btn-shimmer .btn-shimmer__highlight {
  position: absolute;
  inset: 0;
  border-radius: var(--btn-radius);
  box-shadow: inset 0 -8px 10px rgba(255, 255, 255, 0.12);
  transition: box-shadow 0.3s var(--ease-out-expo);
  pointer-events: none;
}

/* Button content stays on top */
.btn-shimmer span,
.btn-shimmer svg {
  position: relative;
  z-index: 1;
}

/* Hover state */
.btn-shimmer:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 32px rgba(15, 23, 42, 0.3),
    0 0 20px rgba(251, 191, 36, 0.2);
}

.btn-shimmer:hover .btn-shimmer__highlight {
  box-shadow: inset 0 -6px 10px rgba(255, 255, 255, 0.25);
}

/* Active/pressed state */
.btn-shimmer:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.25);
}

.btn-shimmer:active .btn-shimmer__highlight {
  box-shadow: inset 0 -10px 10px rgba(255, 255, 255, 0.25);
}

/* Arrow animation on hover */
.btn-shimmer .btn__arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease-out-expo);
}

.btn-shimmer:hover .btn__arrow {
  animation: arrowFloat 1.2s ease-in-out infinite;
}

@keyframes arrowFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(3px, -3px); }
}

/* Size variants */
.btn-shimmer--sm {
  padding: 10px 20px;
  font-size: 0.8125rem;
  gap: 8px;
}

.btn-shimmer--lg {
  padding: 18px 36px;
  font-size: 1rem;
  gap: 12px;
}

/* Nav button variant - fits in navbar */
.btn-shimmer--nav {
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.15);
}

.btn-shimmer--nav:hover {
  transform: none;
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.25),
    0 0 16px rgba(251, 191, 36, 0.15);
}

/* Footer variant - white button with gold shadow */
.btn-shimmer--footer {
  --btn-bg: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 24px rgba(251, 191, 36, 0.4);
}

.btn-shimmer--footer .btn-shimmer__bg {
  background: var(--white);
}

.btn-shimmer--footer:hover {
  box-shadow:
    0 12px 36px rgba(251, 191, 36, 0.5),
    0 0 24px rgba(251, 191, 36, 0.3);
}

.btn-shimmer--footer .btn__arrow {
  stroke: var(--primary);
}

/* Trust indicators under CTA */
.hero__trust {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

.hero__trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.hero__trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 32px;
  background: var(--gray-200);
}

.hero__trust-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.hero__trust-label {
  font-size: 0.8125rem;
  color: var(--gray-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== AI MATURITY JOURNEY ANIMATION ===== */
.maturity-journey {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.maturity-journey__logo {
  display: flex;
  align-items: flex-end;
  height: 280px;
  position: relative; /* For confetti positioning */
}

.maturity-journey__m {
  height: 100%;
  width: auto;
  object-fit: contain;
  /* Remove gray background by making it transparent */
  /* The gray (#E3E4E8) matches the page background, but blocks dots */
  /* Using mix-blend-mode: darken only shows darker pixels (the M design) */
  mix-blend-mode: darken;
}

.maturity-journey__stones {
  /* Match the M image height exactly */
  height: 100%;
  width: auto;
  /* Negative margin to butt up against M (M has 11px right padding built in) */
  margin-left: -8px;
}

/* Stone styling - start with no visible stroke */
.maturity-journey__stones .stone {
  stroke: var(--secondary);
  stroke-width: 1;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

/* Active stone - stroke visible, no glow */
.maturity-journey__stones .stone.active {
  stroke-dashoffset: 0;
}

/* Hover effect on stones - subtle */
.maturity-journey__stones .stone:hover {
  opacity: 0.9;
}

.maturity-journey__stones .stone.active:hover {
  opacity: 1;
}

/* Journey circle - the "client" that jumps through stages */
.journey-circle {
  stroke: var(--secondary);
  stroke-width: 1;
  /* Circle always has visible gold outline */
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.3));
  cursor: pointer;
}

/* Smooth leap animation for circle position changes */
/* Using cubic-bezier with overshoot for bouncy arc effect */
.journey-circle.leaping {
  transition: cx 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
              cy 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Slower, smoother return animation */
.journey-circle.returning {
  transition: cx 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              cy 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Confetti celebration at peak - colorful burst from circle */
.confetti-particle {
  position: absolute;
  pointer-events: none;
  animation: confettiBurst 1.2s ease-out forwards;
}

/* Shape variations */
.confetti-particle.circle {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.confetti-particle.rect {
  width: 5px;
  height: 12px;
  border-radius: 2px;
}

.confetti-particle.square {
  width: 7px;
  height: 7px;
  border-radius: 1px;
}

/* Burst animation - particles explode outward from circle position */
@keyframes confettiBurst {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0.5);
  }
}

/* Label area styling */
.maturity-journey__label {
  text-align: center;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
}

.maturity-journey__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  animation: labelFadeIn 0.5s ease forwards;
}

.maturity-journey__desc {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  animation: labelFadeIn 0.5s ease 0.2s forwards;
}

@keyframes labelFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Label transition classes for JS */
.maturity-journey__label.transitioning .maturity-journey__title,
.maturity-journey__label.transitioning .maturity-journey__desc {
  animation: labelFadeOut 0.3s ease forwards;
}

@keyframes labelFadeOut {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* Progress dots */
.maturity-journey__progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.progress-dot:hover {
  background: var(--gray-400);
  transform: scale(1.2);
}

.progress-dot.active {
  background: var(--secondary);
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

.progress-dot.completed {
  background: var(--secondary);
  opacity: 0.6;
}

/* Paused indicator */
.maturity-journey.paused .maturity-journey__progress::after {
  content: 'Click to resume';
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-left: 12px;
  opacity: 0;
  animation: fadeIn 0.3s ease 0.5s forwards;
}

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

/* ===== SECTION HEADERS ===== */
.section-header {
  margin-bottom: 64px;
}

.section-header--center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 20px;
}

.section-header p {
  font-size: 1.125rem;
  max-width: 600px;
}

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

/* ===== NUMBERED GRID (PROBLEM SECTION) ===== */
.numbered-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 64px;
}

.numbered-item {
  position: relative;
}

.numbered-item__header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
}

.numbered-item__number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--gray-200);
  line-height: 1;
}

.numbered-item__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--black);
}

.numbered-item__text {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.numbered-item__text .emphasis,
.feature-item__text .emphasis {
  background: linear-gradient(to bottom, transparent 60%, var(--secondary) 60%);
}

/* ===== TWO COLUMN LAYOUT ===== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.split-section--reverse {
  direction: rtl;
}

.split-section--reverse > * {
  direction: ltr;
}

.split-content h2 {
  margin-bottom: 24px;
}

.split-content p {
  margin-bottom: 16px;
}

.split-content p:last-of-type {
  margin-bottom: 32px;
}

/* ===== SERVICES/CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 32px;
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  border-color: transparent;
}

.service-card__number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 24px;
}

.service-card__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
}

.service-card__text {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 24px;
  line-height: 1.7;
}

.service-card__list {
  list-style: none;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.service-card__list li {
  padding: 8px 0;
  font-size: 0.9375rem;
  color: var(--gray-600);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.service-card__list li::before {
  content: '→';
  color: var(--secondary-dark);
  font-weight: 700;
  flex-shrink: 0;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  transition: gap 0.3s ease;
}

.service-card__link:hover {
  gap: 12px;
}

/* Two-column grid variant for engagement section */
.services-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin: 0 auto;
}

/* Featured service card variant (dark background) */
.service-card--featured {
  background: var(--primary);
  border-color: var(--primary);
}

.service-card--featured .service-card__number {
  color: rgba(255, 255, 255, 0.15);
}

.service-card--featured .service-card__title {
  color: var(--white);
}

.service-card--featured .service-card__text {
  color: rgba(255, 255, 255, 0.8);
}

.service-card--featured .service-card__list {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.service-card--featured .service-card__list li {
  color: rgba(255, 255, 255, 0.8);
}

.service-card--featured .service-card__list li::before {
  color: var(--secondary);
}

.service-card--featured:hover {
  background: #1e293b;
  border-color: #1e293b;
}

/* Four-column grid variant for methodology section */
.services-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

/* Compact service card variant (smaller padding, centered) */
.service-card--compact {
  padding: 32px 24px;
  text-align: center;
}

.service-card--compact .service-card__number {
  font-size: 3rem;
  margin-bottom: 16px;
}

.service-card--compact .service-card__title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card--compact .service-card__text {
  margin-bottom: 0;
}

/* Engagement card variant - ensures buttons align at bottom */
.service-card--engagement {
  display: flex;
  flex-direction: column;
}

.service-card--engagement .service-card__list {
  flex-grow: 1;
  margin-bottom: 24px;
}

.service-card--engagement .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* ===== ENGAGEMENT PATHS ===== */
.engagement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.engagement-path {
  background: var(--gray-50);
  border-radius: 16px;
  padding: 40px 36px;
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}

.engagement-path--featured {
  background: var(--primary);
  border-color: var(--primary);
}

.engagement-path--featured .engagement-path__title,
.engagement-path--featured .engagement-path__text,
.engagement-path--featured .engagement-path__list li {
  color: var(--white);
}

.engagement-path--featured .engagement-path__list li::before {
  color: var(--secondary);
}

.engagement-path__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--black);
}

.engagement-path__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.engagement-path__list {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.engagement-path__list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.engagement-path__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--secondary-dark);
  font-weight: 700;
}

.engagement-path .btn {
  align-self: flex-start;
}

/* Smaller, lighter buttons for engagement section */
.btn--engagement {
  padding: 14px 24px;
  font-size: 0.9375rem;
}

/* ===== WHY US / FEATURES ===== */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-item {
  display: grid;
  grid-template-columns: 60px 200px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-200);
  align-items: start;
}

.feature-item:first-child {
  padding-top: 0;
}

.feature-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feature-item__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-200);
  line-height: 1;
}

.feature-item__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}

.feature-item__text {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===== CALLOUT BOX ===== */
.callout {
  background: var(--primary);
  border-radius: 16px;
  padding: 40px 48px;
  margin-top: 64px;
  position: relative;
  overflow: hidden;
}

.callout p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin: 0;
}

.callout .emphasis {
  color: var(--secondary);
  font-weight: 700;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--black);
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 24px;
}

.cta-content p {
  color: var(--gray-400);
  font-size: 1.125rem;
  margin-bottom: 40px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  padding: 80px 0 40px;
  color: var(--gray-400);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer__logo img {
  height: 32px;
  filter: brightness(0) invert(1);
}

.footer__tagline {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer__column h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  font-size: 0.9375rem;
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer__social a:hover {
  background: var(--secondary);
  color: var(--black);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

/* ===== MINIMAL FOOTER (Homepage) ===== */
.footer-minimal {
  background: var(--primary);
  padding: 80px 0 40px;
}

/* Footer logo above CTA */
.footer-minimal__logo-top {
  text-align: center;
  margin-bottom: 48px;
}

.footer-minimal__logo-top img {
  max-width: 320px;
  height: auto;
}

.footer-minimal__cta {
  text-align: center;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-minimal__cta h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  margin-bottom: 24px;
}

.footer-minimal__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--secondary);
  color: var(--primary);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.3);
}

.footer-minimal__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(251, 191, 36, 0.4);
  background: #fcd34d;
}

.footer-minimal__btn svg {
  transition: transform 0.4s var(--ease-out-expo);
  transform: rotate(-45deg);
}

.footer-minimal__btn:hover svg {
  transform: rotate(-45deg) translate(3px, -3px);
}

/* Legacy link style - kept for backwards compatibility */
.footer-minimal__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--secondary);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s var(--ease-out-expo);
}

.footer-minimal__link:hover {
  gap: 20px;
}

.footer-minimal__link svg {
  transition: transform 0.3s var(--ease-out-expo);
}

.footer-minimal__link:hover svg {
  transform: translateX(4px);
}

.footer-minimal__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
}

.footer-minimal__info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer-minimal__info a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-minimal__info a:hover {
  color: var(--white);
}

.footer-minimal__divider {
  opacity: 0.3;
}

.footer-minimal__social {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-minimal__social:hover {
  background: var(--secondary);
  color: var(--black);
}

.footer-minimal__social svg {
  width: 18px;
  height: 18px;
}

/* Footer minimal without CTA - just bottom bar */
.footer-minimal--no-cta {
  padding: 48px 0;
}

.footer-minimal--no-cta .footer-minimal__bottom {
  padding-top: 0;
}

.footer-minimal__logo {
  text-align: center;
  margin-bottom: 32px;
}

.footer-minimal__logo img {
  max-width: 280px;
  height: auto;
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 180px 0 80px;
  background: var(--background);
}

.page-header h1 {
  margin-bottom: 20px;
}

.page-header p {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  max-width: 600px;
}

/* ===== ABOUT PAGE ===== */
.about-intro {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: start;
}

.about-content h2 {
  margin-bottom: 32px;
}

.about-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.credentials {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.credential {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-100);
  padding: 14px 20px;
  border-radius: 8px;
}

.credential svg {
  width: 20px;
  height: 20px;
  stroke: var(--secondary-dark);
  stroke-width: 2;
  fill: none;
}

.credential span {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--black);
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Hide mobile-only headshot on desktop */
.about-visual--mobile {
  display: none;
}

.about-image {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15);
}

/* Decorative double-line border around headshot */
.about-image::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  border: 2px solid var(--gray-200);
  border-radius: 16px;
}

.about-image::after {
  content: '';
  position: absolute;
  top: -24px;
  left: -24px;
  right: -24px;
  bottom: -24px;
  border: 1px solid var(--gray-200);
  border-radius: 22px;
  opacity: 0.5;
}

/* Founder name under photo */
.founder-name {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin-top: 24px;
}

/* Founder social links */
.founder-socials {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.founder-socials a {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  text-decoration: none;
  transition: all 0.3s ease;
}

.founder-socials a:hover {
  background: var(--secondary);
  color: var(--black);
}

.founder-socials svg {
  width: 20px;
  height: 20px;
}

/* ===== APPROACH/STEPS ===== */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.approach-step {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease-smooth);
}

.approach-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.approach-step__number {
  width: 56px;
  height: 56px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 auto 24px;
}

.approach-step h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.approach-step p {
  font-size: 0.9375rem;
}

/* ===== SERVICE DETAIL PAGES ===== */
.service-detail {
  padding: 80px 0;
}

.service-detail--white {
  background: var(--white);
}

.service-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Hide mobile-only buttons on desktop */
.service-detail__btn-mobile {
  display: none;
}

.service-detail--flipped .service-detail__grid {
  direction: rtl;
}

.service-detail--flipped .service-detail__grid > * {
  direction: ltr;
}

.service-detail__content h2 {
  margin-bottom: 24px;
}

.service-detail__content > p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.service-triggers {
  background: var(--gray-100);
  padding: 28px;
  border-radius: 12px;
  margin-bottom: 32px;
}

.service-detail--white .service-triggers {
  background: var(--gray-50);
}

/* Gray background sections need white triggers box */
.service-detail:not(.service-detail--white) .service-triggers {
  background: var(--white);
}

.service-triggers h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-family: var(--font-body);
}

.service-triggers ul {
  list-style: none;
}

.service-triggers li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.service-triggers li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--secondary-dark);
  font-weight: 700;
}

.deliverables-box {
  background: var(--white);
  padding: 36px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-100);
}

.deliverables-box h3 {
  font-size: 1.25rem;
  margin-bottom: 28px;
}

.deliverable {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-100);
}

.deliverable:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.deliverable:first-child {
  padding-top: 0;
}

.deliverable__number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gray-200);
  line-height: 1;
  flex-shrink: 0;
  min-width: 52px;
}

.deliverable h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  position: relative;
  display: inline;
  isolation: isolate;
}

.deliverable h4::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  right: 0;
  height: 0.3em;
  background: var(--secondary);
  z-index: -1;
  transform: skewX(-3deg);
}

.deliverable p {
  font-size: 0.875rem;
  margin: 0;
}

.deliverables-note {
  font-size: 0.8125rem;
  color: var(--gray-500);
  font-style: italic;
  margin-top: 20px;
  margin-bottom: 0;
  text-align: center;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

/* Centered contact info layout */
.contact-info--centered {
  max-width: 600px;
  margin: 0 auto 60px;
  text-align: center;
}

.contact-info--centered .contact-expect {
  text-align: left;
  display: inline-block;
}

.contact-details--centered {
  display: inline-flex;
  gap: 40px;
  justify-content: center;
}

/* Calendar header */
.calendar-header {
  text-align: center;
  margin-bottom: 40px;
}

.calendar-header h2 {
  margin-bottom: 12px;
}

.calendar-header p {
  color: var(--gray-600);
  font-size: 1.125rem;
}

/* Calendar embed container */
.calendar-embed {
  max-width: 1000px;
  margin: 0 auto;
}

.calendar-embed #my-cal-inline-intro-call {
  min-height: 700px;
  width: 100%;
  overflow: hidden;
}

/* Contact Fallback */
.contact-fallback {
  text-align: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

.contact-fallback p {
  color: var(--gray-500);
  margin-bottom: 16px;
  font-size: 0.9375rem;
}


.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info > p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-expect {
  background: var(--gray-100);
  padding: 28px;
  border-radius: 12px;
  margin-bottom: 32px;
}

.contact-expect h3 {
  font-size: 1rem;
  margin-bottom: 16px;
}

.contact-expect ul {
  list-style: none;
}

.contact-expect li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.contact-expect li svg {
  width: 18px;
  height: 18px;
  stroke: var(--secondary-dark);
  stroke-width: 2.5;
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
}

.contact-details li:last-child {
  border-bottom: none;
}

.contact-details__icon {
  width: 52px;
  height: 52px;
  background: var(--gray-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-details__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--black);
  stroke-width: 2;
  fill: none;
}

.contact-details__label {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.contact-details__value {
  font-weight: 600;
  color: var(--black);
}

.contact-details__value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details__value a:hover {
  color: var(--secondary-dark);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--gray-100);
  padding: 48px;
  border-radius: 20px;
}

.contact-form-wrapper h2 {
  margin-bottom: 8px;
}

.contact-form-wrapper > p {
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--black);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--white);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--black);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--black);
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23525252' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
}

.contact-form .btn,
.contact-form .btn-shimmer {
  width: 100%;
}

.form-note {
  text-align: center;
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ===== WHO WE SERVE - INDUSTRIES LIST ===== */
.industries-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
}

.industry-item {
  background: var(--gray-100);
  padding: 20px 32px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--black);
  transition: all 0.3s ease;
}

.industry-item:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== ANIMATIONS ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__visual {
    /* Show on tablets, stacked below content */
    display: flex;
    order: 2;
    height: 320px;
    margin-top: 32px;
    justify-content: center;
    transform: scale(0.85);
    transform-origin: top center;
  }

  .hero__content {
    order: 1;
    max-width: 700px;
    margin: 0 auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__trust {
    justify-content: center;
  }

  /* Hide adoption ridge on smaller screens */
  .adoption-ridge {
    display: none;
  }

  .maturity-journey__label {
    min-height: 70px;
  }

  .maturity-journey__title {
    font-size: 1.25rem;
  }

  .maturity-journey__desc {
    font-size: 0.875rem;
  }

  .numbered-grid {
    gap: 40px 48px;
  }

  .feature-item {
    grid-template-columns: 50px 1fr;
    gap: 20px;
  }

  .feature-item__title {
    margin-bottom: 8px;
  }
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .services-grid--two {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

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

  .engagement-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .about-grid,
  .split-section,
  .service-detail__grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .service-detail--flipped .service-detail__grid {
    direction: ltr;
  }

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

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    transform: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .nav__links.active {
    display: flex;
  }

  .nav__toggle {
    display: flex;
  }

  /* Hide nav CTA button on mobile - it goes in the hamburger menu */
  .nav__cta-btn {
    display: none;
  }

  /* Show CTA button inside mobile menu */
  .nav__links .nav__cta-mobile {
    display: flex;
    width: 100%;
    margin-top: 8px;
  }

  /* Full-width rectangular button in mobile menu */
  .nav__links .nav__cta-mobile .btn-shimmer {
    width: 100%;
    border-radius: 10px;
    padding: 16px 24px;
  }

  .nav__cta,
  .btn-shimmer--nav {
    width: 100%;
    justify-content: center;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
    padding: 120px 0 60px;
  }

  .hero__grid {
    text-align: left;
  }

  .hero__visual {
    /* Hide on phones - too cramped */
    display: none;
  }

  .hero__cta {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .hero__trust {
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }

  .btn--hero {
    width: auto;
  }

  .hero__trust-item {
    flex: 0 0 auto;
  }

  .hero__trust-item:not(:last-child)::after {
    display: none;
  }

  .numbered-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .services-grid--four {
    grid-template-columns: 1fr;
  }

  .feature-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-item__number {
    font-size: 1.5rem;
  }

  .industries-list {
    gap: 12px;
    margin-top: 32px;
  }

  .industry-item {
    padding: 16px 24px;
    font-size: 1rem;
  }

  .credentials {
    flex-direction: column;
  }

  /* About page: Show headshot after "Meet the Founder" heading on mobile */
  .about-grid {
    display: block; /* Switch to block layout for mobile */
  }

  /* Hide the desktop headshot on mobile */
  .about-grid > .about-visual {
    display: none;
  }

  /* Show the mobile-only headshot after heading */
  .about-visual--mobile {
    display: flex;
    justify-content: flex-start; /* Left-align to match rest of page */
    margin: 24px 0 32px;
    max-width: 200px;
    padding: 24px; /* Account for decorative borders */
  }

  .about-visual--mobile .about-image {
    max-width: 100%;
  }

  .about-content h2 {
    margin-bottom: 0; /* Remove margin since headshot follows */
  }

  /* Services page: Restructure for mobile - content, then deliverables, then button */
  .service-detail__grid {
    display: block;
  }

  .service-detail__content {
    margin-bottom: 0;
  }

  /* Hide the button in its original position on mobile */
  .service-detail__content > .btn {
    display: none;
  }

  /* Show the mobile-only button after deliverables */
  .service-detail__btn-mobile {
    display: block;
    margin-top: 32px;
    justify-content: center; /* Center text in full-width button */
    text-align: center;
  }

  .deliverables-box {
    margin-top: 32px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-minimal__bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-minimal__info {
    flex-direction: column;
    gap: 8px;
  }

  .footer-minimal__divider {
    display: none;
  }

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

  .contact-form-wrapper {
    padding: 32px 24px;
  }

  .contact-details--centered {
    flex-direction: column;
    gap: 0;
  }

  .calendar-embed {
    padding: 16px;
    border-radius: 16px;
  }

  .calendar-embed #my-cal-inline-intro-call {
    min-height: 600px;
  }

  .callout {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 20px;
  }

  .btn--large {
    padding: 18px 32px;
  }

  .page-header {
    padding: 140px 0 60px;
  }
}

/* ===== CASE STUDIES PAGE ===== */
/* Uses existing features-list pattern from about.html */
