/* ========================================
   FRACTIONAL REVOPS - SHARED STYLES
   ======================================== */

:root {
  --teal: #5ECEB4; --teal-dark: #3DAE94; --coral: #F2917C; --coral-dark: #E07460;
  --navy: #2A3356; --navy-deep: #1C2340; --navy-light: #3D4A72;
  --white: #FFFFFF; --off-white: #F8F7F4;
  --gray-50: #F5F4F1; --gray-100: #ECEAE5; --gray-200: #D8D5CE;
  --gray-400: #9B9890; --gray-500: #7A776F; --gray-600: #5A5850;
  --gray-800: #2D2B26; --gray-900: #1A1918;
  --ff: 'Inter', system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--ff); color: var(--gray-900); background: var(--white); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
section { padding: 100px 0; }
.eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--teal); margin-bottom: 16px; }
.section-title { font-size: clamp(32px, 5vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 20px; }
.section-sub { font-size: 17px; line-height: 1.65; color: var(--gray-600); max-width: 620px; }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- NAV ---- */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,0.06); }
nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.nav-logo span { color: var(--teal); }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--gray-600); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-cta { padding: 10px 24px; background: var(--navy); color: white !important; border-radius: 8px; font-size: 13px; font-weight: 600; transition: all 0.2s; }
.nav-cta:hover { background: var(--navy-deep); transform: translateY(-1px); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: all 0.3s; }
.mobile-menu { display: none; position: fixed; top: 64px; left: 0; right: 0; background: white; padding: 16px 32px 24px; border-bottom: 1px solid var(--gray-100); box-shadow: 0 8px 24px rgba(0,0,0,0.08); z-index: 99; }
.mobile-menu a { display: block; padding: 12px 0; font-size: 15px; font-weight: 500; color: var(--gray-600); border-bottom: 1px solid var(--gray-50); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--navy); }
.mobile-menu.open { display: block; }

/* ---- BUTTONS ---- */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 16px 32px; background: var(--navy); color: white; font-size: 15px; font-weight: 600; border-radius: 10px; transition: all 0.25s; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(42,51,86,0.2); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 16px 32px; background: transparent; color: var(--navy); font-size: 15px; font-weight: 600; border-radius: 10px; border: 1.5px solid var(--gray-200); transition: all 0.25s; cursor: pointer; }
.btn-secondary:hover { border-color: var(--navy); transform: translateY(-2px); }

/* ---- HERO ---- */
.hero { padding: 160px 0 100px; background: var(--white); position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(94,206,180,0.08) 0%, transparent 70%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; max-width: 740px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--navy-light); background: var(--gray-50); padding: 8px 16px; border-radius: 100px; margin-bottom: 28px; }
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.hero h1 { font-size: clamp(42px, 6vw, 64px); font-weight: 900; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 24px; color: var(--navy); }
.hero h1 em { font-style: normal; background: linear-gradient(135deg, var(--teal), var(--coral)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 18px; line-height: 1.7; color: var(--gray-600); max-width: 600px; margin-bottom: 40px; }
.hero-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* ---- STATS ---- */
.stats-bar { padding: 48px 0; background: var(--navy); color: white; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-item { text-align: center; }
.stat-number { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; background: linear-gradient(135deg, var(--teal), var(--coral)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 8px; font-weight: 500; }

/* ---- ABOUT ---- */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-top: 48px; }
.about-photo-text { display: flex; flex-direction: column; gap: 28px; }
.headshot-wrapper { width: 160px; height: 160px; border-radius: 50%; overflow: hidden; border: 3px solid var(--gray-100); box-shadow: 0 8px 24px rgba(0,0,0,0.08); flex-shrink: 0; }
.headshot-wrapper img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-text { font-size: 17px; line-height: 1.75; color: var(--gray-600); }
.about-text p + p { margin-top: 16px; }
.about-highlights { display: flex; flex-direction: column; gap: 12px; }
.highlight-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; background: var(--gray-50); border-radius: 12px; border: 1px solid var(--gray-100); transition: all 0.2s; }
.highlight-item:hover { border-color: var(--teal); transform: translateX(4px); }
.highlight-icon { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, rgba(94,206,180,0.15), rgba(242,145,124,0.1)); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.highlight-text { font-size: 14px; font-weight: 500; color: var(--gray-800); line-height: 1.5; }
.highlight-sub { font-size: 12px; color: var(--gray-500); margin-top: 2px; }

/* ---- LOGO BANNER ---- */
.logo-banner { padding: 40px 0; background: var(--gray-50); border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); overflow: hidden; position: relative; }
.logo-banner::before, .logo-banner::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.logo-banner::before { left: 0; background: linear-gradient(to right, var(--gray-50), transparent); }
.logo-banner::after { right: 0; background: linear-gradient(to left, var(--gray-50), transparent); }
.logo-banner .eyebrow { text-align: center; margin-bottom: 20px; }
.logo-track { display: flex; gap: 60px; animation: scroll-logos 30s linear infinite; width: max-content; }
.logo-track img { height: 32px; opacity: 0.5; filter: grayscale(100%); transition: all 0.3s; object-fit: contain; }
.logo-track img:hover { opacity: 1; filter: grayscale(0%); }
.logo-track .logo-text { height: 32px; display: flex; align-items: center; font-size: 18px; font-weight: 700; color: var(--gray-400); letter-spacing: -0.01em; white-space: nowrap; transition: color 0.3s; }
.logo-track .logo-text:hover { color: var(--navy); }
@keyframes scroll-logos { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---- SERVICES ---- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.service-card { padding: 32px 28px; border-radius: 16px; transition: all 0.3s; }
.service-card:hover { transform: translateY(-4px); }
.service-num { font-size: 13px; font-weight: 700; color: var(--teal); margin-bottom: 16px; letter-spacing: 0.05em; }
.service-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.01em; line-height: 1.25; }
.service-desc { font-size: 14px; line-height: 1.65; margin-bottom: 20px; }
.service-items { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.service-items li { font-size: 13px; padding-left: 16px; position: relative; line-height: 1.5; }
.service-items li::before { content: ''; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); opacity: 0.6; }

.services-startups { background: var(--gray-50); }
.services-startups .service-card { background: var(--white); border: 1px solid var(--gray-100); }
.services-startups .service-card:hover { border-color: var(--teal); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.services-startups .service-desc { color: var(--gray-600); }
.services-startups .service-items li { color: var(--gray-600); }
.services-startups .service-title { color: var(--navy); }

.services-pe { background: var(--navy); color: white; }
.services-pe .eyebrow { color: var(--teal); }
.services-pe .section-title { color: white; }
.services-pe .section-sub { color: rgba(255,255,255,0.6); }
.services-pe .service-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
.services-pe .service-card:hover { background: rgba(255,255,255,0.08); border-color: var(--teal); }
.services-pe .service-desc { color: rgba(255,255,255,0.55); }
.services-pe .service-items li { color: rgba(255,255,255,0.7); }

/* ---- PROJECTS / TRACK RECORD ---- */
.projects { background: var(--white); }
.projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.project-card { padding: 28px; border-radius: 14px; background: var(--gray-50); border: 1px solid var(--gray-100); transition: all 0.3s; }
.project-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.project-tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 6px; margin-bottom: 14px; }
.tag-pe { background: rgba(94,206,180,0.12); color: var(--teal-dark); }
.tag-crm { background: rgba(42,51,86,0.08); color: var(--navy); }
.tag-process { background: rgba(242,145,124,0.12); color: var(--coral-dark); }
.tag-bi { background: rgba(94,206,180,0.08); color: var(--teal-dark); }
.tag-ops { background: rgba(42,51,86,0.06); color: var(--navy-light); }
.project-title { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; letter-spacing: -0.01em; line-height: 1.3; }
.project-desc { font-size: 14px; line-height: 1.6; color: var(--gray-600); margin-bottom: 14px; }
.project-result { font-size: 13px; font-weight: 600; color: var(--teal-dark); }
.project-card-featured { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 36px; background: var(--navy); color: white; border-color: var(--navy); }
.project-card-featured:hover { border-color: var(--teal); }
.project-card-featured .project-title { color: white; }
.project-card-featured .project-desc { color: rgba(255,255,255,0.65); }
.project-card-featured .project-result { color: var(--teal); }
.project-card-featured .project-tag { background: rgba(94,206,180,0.2); color: var(--teal); }
.project-metrics { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.project-metric { display: flex; align-items: baseline; gap: 10px; }
.project-metric-val { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; background: linear-gradient(135deg, var(--teal), var(--coral)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.project-metric-lbl { font-size: 13px; color: rgba(255,255,255,0.55); }

/* ---- APPROACH / PILLARS ---- */
.approach { background: var(--gray-50); }
.pillars-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 48px; }
.pillar { padding: 24px 18px; border-radius: 12px; text-align: center; background: var(--white); border: 1px solid var(--gray-100); transition: all 0.3s; }
.pillar:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.pillar-num { font-size: 36px; font-weight: 900; line-height: 1; margin-bottom: 10px; background: linear-gradient(135deg, var(--teal), var(--coral)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; opacity: 0.25; }
.pillar-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.pillar-desc { font-size: 12px; line-height: 1.5; color: var(--gray-500); }

/* ---- OUTCOMES ---- */
.outcomes { background: var(--white); }
.outcomes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }
.outcome-card { padding: 24px; border-radius: 12px; background: var(--gray-50); border: 1px solid var(--gray-100); transition: all 0.2s; }
.outcome-card:hover { border-color: var(--teal); }
.outcome-title { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.outcome-desc { font-size: 13px; line-height: 1.55; color: var(--gray-500); }

/* ---- TECH ECOSYSTEM ---- */
.ecosystem { background: var(--gray-50); }
.eco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 48px; }
.eco-card { padding: 22px 20px; border-radius: 12px; background: var(--white); border: 1px solid var(--gray-100); transition: all 0.25s; }
.eco-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.eco-card-title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.eco-card-desc { font-size: 12px; line-height: 1.55; color: var(--gray-500); }

/* ---- REVIEWS ---- */
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.review-card { padding: 32px; border-radius: 14px; background: var(--gray-50); border: 1px solid var(--gray-100); transition: all 0.3s; }
.review-card:hover { border-color: var(--teal); transform: translateY(-3px); }
.review-quote { font-size: 16px; line-height: 1.7; color: var(--gray-800); font-style: italic; margin-bottom: 20px; }
.review-author { font-size: 14px; font-weight: 600; color: var(--navy); }
.review-role { font-size: 13px; color: var(--gray-500); margin-top: 2px; }
.review-empty { grid-column: span 2; text-align: center; padding: 80px 32px; border-radius: 14px; background: var(--gray-50); border: 2px dashed var(--gray-200); }
.review-empty p { font-size: 17px; color: var(--gray-500); margin-bottom: 8px; }
.review-empty a { color: var(--teal-dark); font-weight: 600; }

/* ---- ARTICLES ---- */
.articles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.article-card { border-radius: 14px; background: var(--gray-50); border: 1px solid var(--gray-100); overflow: hidden; transition: all 0.3s; }
.article-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.article-img { height: 180px; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.article-img .placeholder-icon { font-size: 48px; opacity: 0.3; }
.article-body { padding: 24px; }
.article-category { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal-dark); margin-bottom: 10px; }
.article-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.3; letter-spacing: -0.01em; }
.article-excerpt { font-size: 14px; line-height: 1.6; color: var(--gray-600); margin-bottom: 14px; }
.article-meta { font-size: 12px; color: var(--gray-400); }
.article-card-featured { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
.article-card-featured .article-img { height: auto; min-height: 240px; }

/* ---- PROOF ---- */
.proof { background: var(--navy); color: white; text-align: center; }
.proof .eyebrow { color: var(--teal); }
.proof-number { font-size: 80px; font-weight: 900; letter-spacing: -0.04em; margin: 32px 0 8px; background: linear-gradient(135deg, var(--teal), var(--coral)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.proof-label { font-size: 18px; color: rgba(255,255,255,0.7); font-weight: 500; }

/* ---- CTA ---- */
.cta-section { padding: 120px 0; background: var(--off-white); text-align: center; }
.cta-section .section-title { margin-left: auto; margin-right: auto; }
.cta-section .section-sub { margin: 0 auto 40px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- PAGE HEADER (for subpages) ---- */
.page-header { padding: 140px 0 60px; background: var(--navy); color: white; }
.page-header .eyebrow { color: var(--teal); }
.page-header .section-title { color: white; }
.page-header .section-sub { color: rgba(255,255,255,0.6); }

/* ---- FOOTER ---- */
footer { padding: 40px 0; background: var(--gray-900); color: var(--gray-400); font-size: 13px; }
footer .container { display: flex; justify-content: space-between; align-items: center; }
footer a { color: var(--gray-400); transition: color 0.2s; }
footer a:hover { color: var(--teal); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  section { padding: 72px 0; }
  .container { padding: 0 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid .pillar:last-child { grid-column: span 2; }
  .eco-grid, .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card-featured { grid-column: span 1; grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-empty { grid-column: span 1; }
  .articles-grid { grid-template-columns: 1fr; }
  .article-card-featured { grid-column: span 1; grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 120px 0 80px; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .pillars-grid, .eco-grid, .outcomes-grid { grid-template-columns: 1fr; }
  .pillars-grid .pillar:last-child { grid-column: span 1; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 32px; }
  footer .container { flex-direction: column; gap: 12px; text-align: center; }
  .headshot-wrapper { width: 120px; height: 120px; }
  .page-header { padding: 120px 0 48px; }
}
