/* --- Self-hosted Avenir LT Pro --- */
@font-face {
  font-family: 'Avenir';
  src: url('../fonts/AvenirLTProLight.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir';
  src: url('../fonts/AvenirLTProMedium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir';
  src: url('../fonts/AvenirLTProHeavy.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Nunito Sans removed — system font stack handles fallback. Avenir is self-hosted. */

/* ============================================
   Growing Pies — Design System & Styles
   Based on Figma design tokens
   ============================================ */

/* --- Design Tokens --- */
:root {
  /* Colors */
  --deep-purple: #1E0259;
  --indigo: #3C2CC2;
  --orange: #FF6D40;
  --orange-darker: #F3501F;
  --white: #FFFFFF;
  --off-white: #ECEBED;
  --off-white-darker: #DEDBE1;
  --text-dark: #1E0259;
  --text-light: #FFFFFF;
  --text-muted: #8376a5;

  /* Typography */
  --font-family: 'Avenir', 'Avenir LT Pro', 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --container-max: 1272px;
  --page-max: 1512px;
  --section-padding: 80px;
  --gap-lg: 40px;
  --gap-md: 24px;
  --gap-sm: 16px;
  --gap-xs: 8px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Blog-specific tokens */
  --article-max: 720px;
  --article-wide-max: 960px;
  --article-line-height: 1.7;
  --article-para-spacing: 24px;
  --toc-width: 220px;
}

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

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

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* --- Typography Scale --- */
.h1, h1 { font-size: 72px; font-weight: 800; line-height: 1.0; letter-spacing: -2.16px; }
.h2, h2 { font-size: 48px; font-weight: 800; line-height: 1.05; letter-spacing: -0.96px; }
.h3, h3 { font-size: 40px; font-weight: 800; line-height: 1.1; letter-spacing: -0.8px; }
.h4, h4 { font-size: 32px; font-weight: 800; line-height: 1.1; letter-spacing: -0.64px; }
.h5, h5 { font-size: 24px; font-weight: 800; line-height: 1.2; letter-spacing: -0.24px; }
.h6, h6 { font-size: 20px; font-weight: 800; line-height: 1.3; }
.p1 { font-size: 24px; font-weight: 500; line-height: 1.2; letter-spacing: -0.24px; }
.p2 { font-size: 20px; font-weight: 500; line-height: 1.2; letter-spacing: -0.2px; }
.p3 { font-size: 18px; font-weight: 500; line-height: 1.2; }
.p4 { font-size: 16px; font-weight: 500; line-height: 1.2; }
.p5 { font-size: 14px; font-weight: 500; line-height: 1.1; }
.label { font-size: 24px; font-weight: 800; text-transform: uppercase; letter-spacing: 0; line-height: 1.2; }

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.page-wrapper {
  max-width: var(--page-max);
  margin: 0 auto;
  overflow: hidden;
}

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

.section--lg {
  padding: 120px 0;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-lg { gap: var(--gap-lg); }
.gap-md { gap: var(--gap-md); }
.gap-sm { gap: var(--gap-sm); }
.gap-xs { gap: var(--gap-xs); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
}

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

.text-center { text-align: center; }
.text-white { color: var(--text-light); }
.text-purple { color: var(--deep-purple); }
.text-indigo { color: var(--indigo); }
.text-orange { color: var(--orange); }
.text-muted { color: var(--text-muted); }

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--deep-purple);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  height: 83px;
  display: flex;
  align-items: center;
}

.nav__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 120px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__logo img {
  height: 43px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
  background: var(--deep-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__logo-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  padding: 16px;
  line-height: 1.2;
  transition: border-color 0.2s, color 0.2s;
  border-bottom: 1px solid transparent;
}

.nav__link:hover,
.nav__link--active {
  border-bottom: 1px solid var(--white);
  color: var(--white);
}

/* Nav Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav__dropdown-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.nav__dropdown:hover .nav__dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(30,2,89,0.15);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  margin-top: 8px;
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav__dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.nav__dropdown-item {
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--deep-purple);
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}

.nav__dropdown-item:hover {
  background: var(--off-white);
  color: var(--deep-purple);
}

.nav__dropdown-item--highlight {
  color: var(--indigo);
  font-weight: 600;
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Menu Toggle */
.nav__hamburger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  position: relative;
  transition: 0.3s;
}

.nav__hamburger span::before,
.nav__hamburger span::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

.nav__hamburger span::before { top: -7px; }
.nav__hamburger span::after { top: 7px; }

.nav__hamburger.active span { background: transparent; }
.nav__hamburger.active span::before { top: 0; transform: rotate(45deg); }
.nav__hamburger.active span::after { top: 0; transform: rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--deep-purple);
  z-index: 99;
  padding: 60px 20px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

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

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.mobile-menu__link {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.2px;
  line-height: 1.2;
  padding: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.4);
  transition: opacity 0.2s;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu__link:first-child {
  padding-top: 0;
  border-top: none;
}

.mobile-menu__link:hover {
  opacity: 0.8;
}

.mobile-menu__cta {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.mobile-menu__bottom-logo {
  margin-top: auto;
}

.mobile-menu__bottom-logo img {
  width: 53px;
  height: 86px;
  filter: brightness(0) invert(1);
  opacity: 0.5;
}

/* Mobile Menu Dropdown */
.mobile-menu__dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
}

.mobile-menu__dropdown-toggle svg.mobile-menu__chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.2s;
}

.mobile-menu__dropdown-toggle.active svg.mobile-menu__chevron {
  transform: rotate(180deg);
}

.mobile-menu__submenu {
  display: none;
  flex-direction: column;
  gap: 0;
  padding-left: 16px;
  margin-top: 12px;
}

.mobile-menu__submenu.active {
  display: flex;
}

.mobile-menu__sublink {
  font-size: 17px;
  font-weight: 500;
  color: var(--white);
  opacity: 0.8;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: opacity 0.2s;
}

.mobile-menu__sublink:hover {
  opacity: 1;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-family);
  font-weight: 800;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  line-height: 1.1;
}

.btn--lg {
  font-size: 18px;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.18px;
}

.btn--md {
  font-size: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.14px;
}

.btn--sm {
  font-size: 14px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.14px;
}

/* Solid Orange */
.btn--orange {
  background: var(--orange);
  color: var(--white);
}

.btn--orange:hover {
  background: var(--orange-darker);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(243, 80, 31, 0.3);
}

/* Outlined White */
.btn--outline-white {
  background: rgba(30, 2, 89, 0.3);
  color: var(--white);
  border: 1px solid var(--white);
}

.btn--outline-white:hover {
  background: var(--white);
  color: var(--deep-purple);
}

/* Nav outline button matches Figma: Deep Purple 30% bg */
.nav__cta .btn--outline-white {
  background: rgba(30, 2, 89, 0.3);
}

/* Outlined Dark */
.btn--outline-dark {
  background: rgba(255, 255, 255, 0.3);
  color: var(--deep-purple);
  border: 1px solid var(--deep-purple);
}

.btn--outline-dark:hover {
  background: var(--deep-purple);
  color: var(--white);
}

/* Solid White */
.btn--white {
  background: var(--white);
  color: var(--deep-purple);
  border: none;
}

.btn--white:hover {
  background: transparent;
  color: var(--white);
}

/* Solid Deep Purple */
.btn--purple {
  background: var(--deep-purple);
  color: var(--white);
}

.btn--purple:hover {
  background: var(--indigo);
  transform: translateY(-1px);
}

.btn__icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn__icon svg {
  width: 100%;
  height: 100%;
}

/* --- Hero Section (shared) --- */
.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero--home {
  min-height: 660px;
  background: url('../assets/images/hero-bg.svg') center/cover no-repeat;
}

.hero--home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--deep-purple) 0%, rgba(236,235,237,0) 70%);
  z-index: 1;
  pointer-events: none;
}

.hero--home::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(236,235,237,0) 30%, var(--off-white) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero--page {
  min-height: 660px;
  background: linear-gradient(90deg, var(--white) 0%, var(--orange) 25%, var(--indigo) 65%, var(--off-white) 100%);
}

.hero--case-studies {
  min-height: 449px;
  background: linear-gradient(180deg, var(--deep-purple) 0%, var(--indigo) 100%);
}

.hero--home .hero__title {
  color: var(--white);
}

.hero--home .hero__subtitle {
  color: var(--white);
}

.hero--services {
  min-height: 660px;
  background: linear-gradient(180deg, var(--deep-purple) 0%, var(--indigo) 100%);
}

.hero--services .hero__title {
  color: var(--white);
}

.hero--services .hero__subtitle {
  color: var(--white);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero--case-studies .hero__title {
  color: var(--white);
}

.hero--case-studies .hero__subtitle {
  color: var(--off-white);
  max-width: 659px;
  margin-left: auto;
  margin-right: auto;
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 126px 148px;
  pointer-events: none;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 848px;
}

.hero__content--centered {
  text-align: center;
  max-width: 848px;
  margin: 0 auto;
}

.hero__title {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -2.16px;
  color: var(--deep-purple);
  margin-bottom: 16px;
}

.hero__subtitle {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.24px;
  line-height: 1.2;
  color: var(--deep-purple);
  margin-bottom: 32px;
  max-width: 600px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 576px;
  height: 536px;
  z-index: 1;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Decorative circle for hero */
.hero__circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* Hero decorative blobs */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* Big orange — upper-left (Figma: Ellipse31) */
.hero__blob--1 {
  width: 800px;
  height: 800px;
  background: var(--orange);
  top: -100px;
  left: -400px;
  filter: blur(150px);
}

/* Small orange accent — left (Figma: Ellipse34) */
.hero__blob--2 {
  width: 400px;
  height: 400px;
  background: var(--orange);
  top: 50px;
  left: -100px;
  filter: blur(120px);
}

/* Big indigo — right side (Figma: Ellipse29) */
.hero__blob--3 {
  width: 900px;
  height: 900px;
  background: var(--indigo);
  top: -200px;
  right: -300px;
  filter: blur(180px);
}

/* Small indigo accent — lower-right (Figma: Ellipse35) */
.hero__blob--4 {
  width: 500px;
  height: 500px;
  background: var(--indigo);
  top: 300px;
  right: -150px;
  filter: blur(140px);
}

/* Circular image masking */
.hero__image--circle {
  border-radius: 50%;
  overflow: hidden;
}

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

.crosssell__image--circle {
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
}

.crosssell__image--circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Image purple/blue tint filter */
.image-tint {
  filter: contrast(1.1) saturate(1.2) brightness(0.95);
}

/* --- Value Pillars (Home) --- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: -80px;
  position: relative;
  z-index: 3;
}

.pillar {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  box-shadow: 8px 8px 20px rgba(30, 2, 89, 0.10);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pillar__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--deep-purple);
  letter-spacing: -0.64px;
  line-height: 1.1;
}

.pillar__text {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.2;
}

/* --- Stats Row --- */
.stats {
  display: flex;
  gap: 12px;
}

.stat {
  border-left: 1px solid rgba(30,2,89,0.4);
  padding: 20px;
  width: 240px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat__number {
  font-size: 40px;
  font-weight: 800;
  color: var(--deep-purple);
  letter-spacing: -0.8px;
  line-height: 1.1;
}

.stat__label {
  font-size: 18px;
  font-weight: 800;
  color: var(--deep-purple);
  text-transform: uppercase;
  letter-spacing: 0.18px;
  line-height: 1.1;
}

/* --- Check List --- */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.check-item__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: var(--indigo);
}

.check-item__icon svg {
  width: 100%;
  height: 100%;
}

.check-item__text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

/* --- Flip Cards Section --- */
.flip-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.flip-card {
  border-radius: var(--radius-md);
  min-height: 315px;
  position: relative;
}

.flip-card__label {
  font-size: 14px;
  font-weight: 800;
  color: var(--deep-purple);
  text-transform: uppercase;
  letter-spacing: 0.14px;
  line-height: 1.1;
}

.flip-card__text {
  font-size: 24px;
  font-weight: 800;
  color: var(--deep-purple);
  line-height: 1.2;
  letter-spacing: -0.24px;
}

.flip-card__action {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 800;
  color: var(--indigo);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.14px;
  justify-content: flex-end;
}

/* Flip card 3D animation */
.flip-card {
  perspective: 1000px;
  cursor: pointer;
}

.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 315px;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.flip-card.is-flipped .flip-card__inner {
  transform: rotateY(180deg);
}

.flip-card__front,
.flip-card__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  border-radius: var(--radius-md);
}

.flip-card__front {
  background: var(--white);
  box-shadow: 8px 8px 20px rgba(30, 2, 89, 0.10);
}

.flip-card__back {
  background: var(--deep-purple);
  color: var(--white);
  transform: rotateY(180deg);
  justify-content: center;
}

.flip-card__back .flip-card__label {
  color: rgba(255,255,255,0.7);
}

.flip-card__back .flip-card__text {
  color: var(--white);
}

.flip-card--highlight {
  background: var(--indigo);
}

.flip-card--highlight .flip-card__label {
  color: var(--white);
}

.flip-card--highlight .flip-card__text {
  color: var(--white);
}

.flip-card--highlight .flip-card__icon svg {
  color: var(--white);
}

/* --- Case Study Cards --- */
.case-studies-carousel {
  display: flex;
  gap: 60px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
  scrollbar-width: none;
}

.case-studies-carousel::-webkit-scrollbar {
  display: none;
}

.case-card {
  flex: 0 0 800px;
  background: linear-gradient(160deg, var(--off-white-darker) 15%, var(--indigo) 85%);
  border-radius: var(--radius-md);
  padding: 104px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 48px;
  overflow: hidden;
  position: relative;
}

/* Orange gradient for card 2 */
.case-card:nth-child(2) {
  background: linear-gradient(160deg, var(--off-white-darker) 15%, var(--orange) 85%);
}

.case-card__tag {
  display: inline-flex;
  padding: 16px;
  background: rgba(60, 44, 194, 0.10);
  border-radius: var(--radius-sm);
  font-size: 18px;
  font-weight: 800;
  color: var(--indigo);
  text-transform: uppercase;
  letter-spacing: 0.18px;
  line-height: 1.1;
  width: fit-content;
}

.case-card__title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.96px;
  color: var(--deep-purple);
}

.case-card__desc {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.case-card__metrics {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-card__metric {
  display: flex;
  align-items: center;
  gap: 20px;
}

.case-card__metric-icon {
  width: 24px;
  height: 24px;
  color: var(--white);
  flex-shrink: 0;
}

.case-card__metric-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.24px;
  line-height: 1.2;
}

.case-card .btn--outline-dark {
  background: rgba(30,2,89,0.3);
  border-color: var(--white);
  color: var(--white);
}

.case-card .btn--outline-dark:hover {
  background: rgba(30,2,89,0.5);
}

.case-card__tag--orange {
  background: rgba(255,109,64,0.1);
  color: var(--orange-darker);
}

.carousel-nav {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 60px;
}

.carousel-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--deep-purple);
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.carousel-btn:hover {
  background: var(--deep-purple);
  color: var(--white);
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

/* --- How We Work Steps --- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--off-white-darker);
}

.step:last-child {
  border-bottom: none;
}

.step__label {
  font-size: 18px;
  font-weight: 800;
  color: var(--indigo);
}

.step__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--deep-purple);
}

.step__text {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.2px;
}

/* --- Services List --- */
.service-row {
  display: flex;
  align-items: stretch;
}

.service-row__left {
  width: 636px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow: hidden;
  position: relative;
}

.service-row:nth-child(odd) .service-row__left {
  background: var(--indigo);
}

.service-row:nth-child(even) .service-row__left {
  background: var(--orange);
}

.service-row__right {
  flex: 1;
  padding: 120px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.service-row:nth-child(odd) .service-row__right {
  background: var(--off-white-darker);
}

.service-row:nth-child(even) .service-row__right {
  background: var(--off-white);
}

.service-row__number {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.64px;
  line-height: 1.15;
}

.service-row:nth-child(odd) .service-row__number {
  color: var(--indigo);
}

.service-row:nth-child(even) .service-row__number {
  color: var(--orange);
}

.service-row__name {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  text-align: center;
  line-height: 1.1;
  letter-spacing: -0.8px;
  max-width: 436px;
}

.service-row__headline {
  font-size: 40px;
  font-weight: 800;
  color: var(--deep-purple);
  line-height: 1.1;
  letter-spacing: -0.8px;
}

.service-row__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-row__desc {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.2px;
}

/* Services Hero */
.services-hero {
  background: var(--off-white);
  padding: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.services-hero__text {
  width: 600px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.services-hero__image {
  width: 576px;
  height: 536px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* --- Accordion --- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.accordion-item {
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--white);
  box-shadow: 8px 8px 20px rgba(30, 2, 89, 0.10);
}

.accordion-item + .accordion-item {
  margin-top: 14px;
}

.accordion-item--active {
  border-color: var(--indigo);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  cursor: pointer;
  user-select: none;
}

.accordion-header__left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.accordion-header__number {
  font-size: 24px;
  font-weight: 800;
  color: var(--indigo);
  letter-spacing: -0.24px;
  line-height: 1.2;
}

.accordion-header__title {
  font-size: 40px;
  font-weight: 800;
  color: var(--indigo);
  line-height: 1.1;
  letter-spacing: -0.8px;
}

.accordion-header__icon {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
  color: var(--deep-purple);
}

.accordion-item--active .accordion-header__icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-item--active .accordion-body {
  max-height: 1000px;
}

.accordion-body__content {
  padding: 0 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.accordion-body__subtitle {
  font-size: 32px;
  font-weight: 800;
  color: var(--deep-purple);
  line-height: 1.15;
  letter-spacing: -0.64px;
  max-width: 998px;
}

.accordion-body__text {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.2px;
}

.accordion-body__highlight {
  font-size: 24px;
  font-weight: 800;
  color: var(--deep-purple);
  line-height: 1.2;
  letter-spacing: -0.24px;
}

/* --- CTA Card (white, inline) --- */
.cta-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 8px 8px 20px rgba(30, 2, 89, 0.10);
  padding: 80px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.cta-card__label {
  font-size: 24px;
  font-weight: 800;
  color: var(--indigo);
  text-transform: uppercase;
  line-height: 1.2;
}

.cta-card__title {
  font-size: 40px;
  font-weight: 800;
  color: var(--deep-purple);
  line-height: 1.1;
  letter-spacing: -0.8px;
}

.cta-card__text {
  font-size: 24px;
  font-weight: 800;
  color: var(--deep-purple);
  line-height: 1.2;
  letter-spacing: -0.24px;
  max-width: 866px;
}

.cta-card__subtext {
  font-size: 20px;
  font-weight: 500;
  color: var(--deep-purple);
  line-height: 1.2;
  letter-spacing: -0.2px;
  max-width: 904px;
}

/* --- Team Grid --- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.team-card {
  background: var(--deep-purple);
  border-radius: 16px;
  padding: 40px;
  height: 432px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.team-card__header {
  display: flex;
  align-items: center;
  gap: 24px;
}

.team-card__photo {
  width: 148px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--indigo);
  flex-shrink: 0;
}

.team-card__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.team-card__name {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.64px;
  line-height: 1.15;
}

.team-card__role {
  font-size: 18px;
  font-weight: 800;
  color: var(--off-white-darker);
  text-transform: uppercase;
  letter-spacing: 0.18px;
  line-height: 1.1;
}

.team-card__bio {
  font-size: 16px;
  font-weight: 500;
  color: var(--off-white);
  line-height: 1.2;
}

/* --- Team Section (About Page) --- */
.team-header {
  background: var(--indigo);
  padding: 120px;
  text-align: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.team-cards-section {
  background: var(--indigo);
  padding: 0 120px 120px;
}

.team-cta {
  background: var(--indigo);
  border-radius: 16px;
  padding: 96px 40px;
  text-align: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
  margin-top: 20px;
}

/* --- Partner Capabilities --- */
.capabilities {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.capability {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 8px 8px 20px rgba(30, 2, 89, 0.10);
}

.capability:last-child {
  border-bottom: none;
}

.capability__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--indigo);
}

.capability__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.capability__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--deep-purple);
}

.capability__desc {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  opacity: 0.7;
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--off-white);
  padding: 120px;
}

.cta-section__grid {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(var(--off-white-darker) 1px, transparent 1px),
    linear-gradient(90deg, var(--off-white-darker) 1px, transparent 1px);
  background-size: 126px 148px;
  pointer-events: none;
}

.cta-section__inner {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 80px 32px;
  text-align: center;
  max-width: var(--container-max);
  margin: 0 auto;
  box-shadow: 8px 8px 20px rgba(30, 2, 89, 0.10);
}

.cta-section__label {
  font-size: 14px;
  font-weight: 800;
  color: var(--indigo);
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* text-transform: uppercase now in base .btn */

.cta-section__title {
  font-size: 40px;
  font-weight: 800;
  color: var(--deep-purple);
  line-height: 1.1;
  letter-spacing: -0.8px;
  margin-bottom: 24px;
}

.cta-section__text {
  font-size: 24px;
  font-weight: 800;
  color: var(--deep-purple);
  letter-spacing: -0.24px;
  line-height: 1.2;
  max-width: 646px;
  margin: 0 auto 8px;
}

.cta-section__subtext {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 32px;
  max-width: 815px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

/* --- Contact Form --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form__label {
  font-size: 14px;
  font-weight: 800;
  color: var(--deep-purple);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-form__input {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  background: var(--off-white);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
  outline: none;
  width: 100%;
}

.contact-form__input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.contact-form__input:focus {
  border-color: var(--indigo);
  background: var(--white);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__submit {
  align-self: flex-start;
  width: auto;
}

.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-form__success {
  text-align: center;
  padding: 40px 0;
}

@media (max-width: 600px) {
  .contact-form__row {
    grid-template-columns: 1fr;
  }
  .contact-form__submit {
    width: 100%;
  }
}

/* --- Contact Page --- */
.hero--contact {
  min-height: 360px;
  background: linear-gradient(180deg, #1E0259 0%, #3C2CC2 100%);
  display: flex;
  align-items: center;
}

.contact-page__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
}

.contact-page__sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  order: 1;
}

.contact-page__form {
  order: 0;
}

.contact-page__card {
  background: var(--white);
  box-shadow: 8px 8px 20px rgba(30, 2, 89, 0.10);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-page__card-icon {
  display: flex;
  align-items: center;
  width: 32px;
  height: 32px;
}

.contact-page__card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--deep-purple);
  letter-spacing: -0.2px;
}

.contact-page__card-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .contact-page__grid {
    grid-template-columns: 1fr;
  }
  .contact-page__sidebar {
    order: -1;
  }
  .contact-page__form {
    order: 0;
  }
}

/* --- Footer --- */
.footer {
  background: var(--deep-purple);
  color: var(--white);
  padding: 0;
}

.footer__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 80px 120px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 340px;
}

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

.footer__tagline {
  font-size: 16px;
  font-weight: 500;
  color: var(--off-white);
  line-height: 1.2;
}

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

.footer__social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.footer__social-link:hover {
  background: var(--white);
  color: var(--deep-purple);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 340px;
}

.footer__nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.2px;
  line-height: 1.2;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.4);
  padding-top: 24px;
  transition: opacity 0.2s;
}

.footer__nav-link:first-child {
  padding-top: 0;
  border-top: none;
}

.footer__nav-link + .footer__nav-link {
  border-top: 1px solid rgba(255,255,255,0.4);
}

.footer__nav-link:hover {
  opacity: 0.8;
}

.footer__nav-link svg {
  width: 24px;
  height: 24px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 340px;
}

.footer__contact-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__contact-title {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18px;
  line-height: 1.1;
}

.footer__contact-info {
  font-size: 16px;
  font-weight: 500;
  color: var(--off-white);
  line-height: 1.2;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.4);
  background: var(--deep-purple);
  padding: 20px 120px;
  height: 62px;
  display: flex;
  align-items: center;
  max-width: var(--page-max);
  margin: 0 auto;
}

.footer__copyright {
  font-size: 16px;
  font-weight: 500;
}

/* --- Clients Logo Bar --- */
.logo-bar {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 24px 0;
}

.logo-bar img {
  height: 32px;
  width: auto;
  filter: grayscale(100%);
  transition: filter 0.2s;
}

.logo-bar img:hover {
  filter: none;
}

/* --- Client Logos Marquee --- */
.logos-section {
  padding-top: 80px;
  padding-bottom: 40px;
  overflow: hidden;
}

.logos-section .label {
  margin-bottom: 60px;
}

.marquee-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.marquee-track--reverse {
  animation: marquee-scroll-reverse 30s linear infinite;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-scroll-reverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.marquee-track img {
  height: 48px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.marquee-track img:hover {
  opacity: 1;
}

/* --- Visibility Section --- */
.visibility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  padding: 120px;
  max-width: var(--page-max);
  margin: 0 auto;
}

.visibility__left {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 600px;
  flex-shrink: 0;
}

.visibility__title {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -2.16px;
  color: var(--deep-purple);
}

.visibility__right {
  position: relative;
  flex-shrink: 0;
}

.visibility__illustration {
  width: 576px;
  height: 536px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

.visibility__illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--off-white-darker);
  mix-blend-mode: luminosity;
}

.visibility__ellipse {
  position: absolute;
  width: 576px;
  height: 536px;
  top: 0;
  left: 0;
  z-index: -1;
}

/* --- How We Work Zigzag --- */
.steps-zigzag {
  position: relative;
  padding: 0 120px 120px;
  max-width: var(--page-max);
  margin: 0 auto;
}

.steps-zigzag__grid {
  position: relative;
  min-height: 1300px;
}

.step-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  width: 605px;
  box-shadow: 8px 8px 20px rgba(30, 2, 89, 0.10);
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: absolute;
}

.step-card--1 { left: 0; top: 0; }
.step-card--2 { right: 0; top: 250px; }
.step-card--3 { left: 0; top: 500px; }
.step-card--4 { right: 0; top: 774px; }
.step-card--5 { left: 0; top: 1024px; }

.step-card__label {
  font-size: 18px;
  font-weight: 800;
  color: var(--indigo);
  text-transform: uppercase;
  letter-spacing: 0.18px;
  line-height: 1.1;
}

.step-card__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--deep-purple);
  letter-spacing: -0.64px;
  line-height: 1.15;
}

.step-card__text {
  font-size: 20px;
  font-weight: 500;
  color: var(--deep-purple);
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.step-arrow {
  position: absolute;
  width: 200px;
  height: 195px;
  z-index: 1;
}

/* Arrows 1 & 3: down-right (native SVG direction, no transform) */
.step-arrow--1 { left: 50%; top: 92px; }
.step-arrow--3 { left: 50%; top: 604px; }

/* Arrows 2 & 4: down-left (mirror horizontally) */
.step-arrow--2 { left: 34%; top: 342px; transform: scaleX(-1); }
.step-arrow--4 { left: 34%; top: 865px; transform: scaleX(-1); }

/* --- Section Headers --- */
.section-header {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 48px;
}

.section-header__label {
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--indigo);
  letter-spacing: 0;
  line-height: 1.2;
}

.section-header__title {
  font-size: 72px;
  font-weight: 800;
  color: var(--deep-purple);
  line-height: 1.0;
  letter-spacing: -1.44px;
  max-width: 948px;
  margin-left: auto;
  margin-right: auto;
}

.section-header__subtitle {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: -0.24px;
  line-height: 1.2;
  max-width: 805px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Two Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.two-col--narrow-left {
  grid-template-columns: 492px 1fr;
}

.two-col--narrow-right {
  grid-template-columns: 1fr 492px;
}

/* --- Case Study Detail --- */
.case-detail {
  background: var(--off-white);
  padding: 120px;
}

.case-detail__header {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.case-detail__logo-area {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.case-detail__tag-row {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.case-detail__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(60, 44, 194, 0.1);
  color: var(--indigo);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18px;
  padding: 16px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.case-detail__tag--orange {
  background: rgba(255, 109, 64, 0.1);
  color: var(--orange-darker);
}

.case-detail__tag-line {
  flex: 1;
  height: 1px;
  background: var(--deep-purple);
}

.case-detail__tag-number {
  font-size: 24px;
  font-weight: 800;
  color: var(--deep-purple);
  letter-spacing: -0.24px;
  flex-shrink: 0;
}

.case-detail__logo-box {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--off-white-darker);
}

.case-detail__logo-box img {
  display: block;
  max-width: 220px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.case-detail__metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-detail__metric {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 24px;
  font-weight: 800;
  color: var(--deep-purple);
  letter-spacing: -0.24px;
  line-height: 1.2;
}

.case-detail__right {
  flex: 1 1 700px;
  max-width: 700px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.case-detail__intro {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.case-detail__title {
  font-size: 48px;
  font-weight: 800;
  color: var(--deep-purple);
  line-height: 1.05;
  letter-spacing: -0.96px;
}

.case-detail__desc {
  font-size: 20px;
  font-weight: 500;
  color: var(--deep-purple);
  line-height: 1.2;
  letter-spacing: -0.2px;
}

.case-detail__section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-detail__section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--deep-purple);
  line-height: 1.15;
  letter-spacing: -0.64px;
}

.case-detail__section-text {
  font-size: 20px;
  font-weight: 500;
  color: var(--deep-purple);
  line-height: 1.2;
  letter-spacing: -0.2px;
}

.case-detail__section-text ul {
  list-style: disc;
  padding-left: 30px;
}

.case-detail__section-text ul li {
  margin-bottom: 4px;
}

.case-detail__callout {
  background: rgba(60, 44, 194, 0.1);
  border-radius: 12px;
  padding: 32px 24px;
  font-size: 24px;
  font-weight: 800;
  color: var(--indigo);
  line-height: 1.2;
  letter-spacing: -0.24px;
}

.case-detail__callout--orange {
  background: rgba(255, 109, 64, 0.1);
  color: var(--orange-darker);
}

/* --- How We Operate Numbers --- */
.operate-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.operate-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--off-white-darker);
}

.operate-item:last-child {
  border-bottom: none;
}

.operate-item__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--deep-purple);
}

.operate-item__text {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
  opacity: 0.8;
}

/* --- Meet You CTA (About) --- */
.meet-cta {
  background: var(--deep-purple);
  border-radius: var(--radius-md);
  padding: 64px;
  text-align: center;
  color: var(--white);
}

.meet-cta__title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
}

.meet-cta__text {
  font-size: 20px;
  font-weight: 500;
  opacity: 0.8;
  margin-bottom: 32px;
}

/* --- Cross-sell Section --- */
.crosssell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.crosssell__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.crosssell__image {
  width: 100%;
  max-width: 576px;
}

.crosssell__image img {
  width: 100%;
  border-radius: var(--radius-md);
}

/* --- Engagement Section --- */
.engagement {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.engage-card {
  background: var(--indigo);
  border-radius: 16px;
  padding: 24px 32px;
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
}

/* --- About Page Styles --- */
.hero--about {
  position: relative;
}

.about-divider {
  border: none;
  border-top: 1px solid var(--deep-purple);
  width: 100%;
  margin: 0;
}

.about-bullets {
  list-style: disc;
  padding-left: 30px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.2px;
  color: var(--text-dark);
}

.about-bullets li {
  margin-bottom: 8px;
}

.about-bullets li:last-child {
  margin-bottom: 0;
}

/* --- Background Decorations --- */
.bg-purple {
  background: var(--deep-purple);
  color: var(--white);
}

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

.bg-off-white {
  background: var(--off-white);
}

.bg-off-white-darker {
  background: var(--off-white-darker);
}

.bg-indigo {
  background: var(--indigo);
  color: var(--white);
}

/* --- Services Hero Illustration --- */
.hero--services {
  position: relative;
}

.hero--services .hero__illustration {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
}

/* --- Step Illustrations --- */
.step__illustration {
  max-width: 200px;
  border-radius: 12px;
  margin-top: 12px;
}

/* --- Responsive --- */
@media (max-width: 1200px) {
  .hero__title { font-size: 56px; }
  .section-header__title { font-size: 48px; }
  .case-card__title { font-size: 36px; }
  .hero__image { width: 450px; height: 420px; }
}

@media (max-width: 1024px) {
  .hero__blob {
    display: none;
  }

  .hero__image--circle {
    width: 350px;
    height: 350px;
  }

  .service-row {
    flex-direction: column;
  }

  .service-row__left {
    width: 100%;
    min-height: 200px;
  }

  .service-row__right {
    padding: 60px 40px;
  }

  .services-hero {
    flex-direction: column;
    gap: 40px;
    padding: 80px 40px;
  }

  .services-hero__text {
    width: 100%;
  }

  .services-hero__image {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 576 / 536;
  }

  .two-col, .two-col--narrow-left, .two-col--narrow-right {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .case-detail__header {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .crosssell {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .engagement {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-header {
    padding: 80px 40px;
  }

  .team-cards-section {
    padding: 0 40px 80px;
  }

  .case-detail {
    padding: 60px 40px;
  }

  .case-detail__header {
    flex-direction: column;
    gap: 40px;
  }

  .case-detail__right {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }

  .case-detail__logo-box img {
    max-width: 180px;
    max-height: 60px;
  }

  .hero__image {
    display: none;
  }

  .hero--services .hero__illustration {
    display: none;
  }

  .pillars {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .visibility {
    flex-direction: column;
    padding: 60px 24px;
  }

  .visibility__left {
    width: 100%;
  }

  .visibility__illustration {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 576/536;
    margin: 0 auto;
  }

  .visibility__right {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .steps-zigzag {
    padding: 0 24px 60px;
  }

  .steps-zigzag__grid {
    position: static;
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .step-card {
    position: static;
    width: 100%;
  }

  .step-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 48px;
  }

  .nav {
    height: 64px;
  }

  .nav__inner {
    padding: 0 20px;
  }

  .nav__logo img {
    height: 36px;
  }

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
    width: 32px;
    height: 32px;
  }

  .hero__title { font-size: 40px; letter-spacing: -1px; }
  .section-header__title { font-size: 40px; letter-spacing: -0.8px; }
  .h1, h1 { font-size: 40px; }
  .h2, h2 { font-size: 32px; }
  .h3, h3 { font-size: 28px; }
  .h4, h4 { font-size: 24px; }

  .hero__subtitle { font-size: 18px; }
  .hero { min-height: auto; padding: 60px 0; }
  .hero--home { min-height: auto; padding: 80px 0 60px; }

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

  .team-card {
    height: auto;
  }

  .team-header {
    padding: 64px 20px;
  }

  .team-cards-section {
    padding: 0 20px 64px;
  }

  .team-cta {
    padding: 48px 20px;
  }

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

  .footer__inner {
    flex-direction: column;
    padding: 80px 20px;
    gap: 40px;
  }

  .footer__brand,
  .footer__nav,
  .footer__contact {
    width: 100%;
    height: auto;
  }

  .case-studies-carousel {
    flex-direction: column;
    gap: 24px;
  }

  .case-card {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 40px 24px;
  }

  .case-card__title {
    font-size: 28px;
  }

  .flip-cards {
    grid-template-columns: 1fr;
  }

  .stat {
    width: 100%;
  }

  .stats {
    flex-direction: column;
    gap: 16px;
  }

  .visibility__title {
    font-size: 40px;
  }

  .footer__bottom {
    padding: 20px;
  }

  .accordion-header {
    padding: 20px 24px;
  }

  .accordion-header__title {
    font-size: 20px;
  }

  .accordion-body__content {
    padding: 0 24px 24px;
  }

  .service-row__left,
  .service-row__right {
    padding: 32px 20px;
  }

  .service-row__left {
    min-height: 160px;
  }

  .service-row__name {
    font-size: 28px;
  }

  .service-row__headline {
    font-size: 28px;
  }

  .services-hero {
    padding: 64px 20px;
  }

  .services-hero__image {
    max-width: 300px;
  }

  .cta-section {
    padding: 40px 20px;
  }

  .cta-section__inner {
    padding: 40px 24px;
    margin: 0;
  }

  .cta-section__title {
    font-size: 28px;
  }

  .cta-card {
    padding: 40px 20px;
    margin-top: 80px !important;
  }

  .cta-card__title {
    font-size: 28px;
  }

  .cta-card__text {
    font-size: 20px;
  }

  .cta-card__subtext {
    font-size: 16px;
  }

  .accordion-body__subtitle {
    font-size: 24px;
  }

  .accordion-body__content {
    gap: 32px;
  }

  .team-card__name {
    font-size: 24px;
  }

  .case-detail {
    padding: 40px 20px;
  }

  .case-detail__title {
    font-size: 28px;
  }

  .case-detail__right {
    gap: 32px;
  }

  .case-detail__metric {
    font-size: 18px;
  }

  .case-detail__callout {
    font-size: 18px;
    padding: 20px 16px;
  }

  .case-detail__section-title {
    font-size: 24px;
  }

  .meet-cta {
    padding: 40px 24px;
  }

  .meet-cta__title {
    font-size: 28px;
  }

  .section--lg {
    padding: 64px 0;
  }

  .accordion-body__subtitle {
    font-size: 20px;
  }

  .accordion-body__text {
    font-size: 16px;
  }

  .accordion-body__highlight {
    font-size: 18px;
  }

  .cta-section__label {
    font-size: 18px;
  }

  .cta-section__text {
    font-size: 20px;
  }

  .cta-section .flex {
    flex-direction: column;
  }

  .cta-section .btn {
    width: 100%;
    text-align: center;
  }

  .carousel-btn {
    display: none;
  }

  /* text-transform: uppercase now in base .btn */
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .btn--lg {
    padding: 16px 24px;
    font-size: 16px;
  }
}

/* ============================================
   SEO vs AI Search Comparison Section
   ============================================ */
.compare {
  background: var(--deep-purple);
  padding: var(--section-padding) 0;
}

.compare__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 120px;
}

.compare__header {
  text-align: center;
  margin-bottom: 64px;
}

.compare__title {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.96px;
  margin-bottom: 20px;
}

.compare__subtitle {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto;
}

/* Comparison Table Grid */
.compare__table {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 48px;
}

.compare__col-head {
  padding: 20px 28px;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.2px;
}

.compare__col-head--label {
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
}

.compare__col-head--seo {
  background: var(--indigo);
}

.compare__col-head--ai {
  background: var(--orange);
}

.compare__cell {
  padding: 18px 28px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.45;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.compare__cell--label {
  font-size: 13px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
}

.compare__cell--seo {
  background: rgba(60, 44, 194, 0.08);
}

.compare__cell--ai {
  background: rgba(255, 109, 64, 0.08);
}

/* Market Stats Row */
.compare__stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.compare__stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.compare__stat strong {
  color: var(--orange);
  font-weight: 800;
}

/* Bottom CTA */
.compare__bottom {
  text-align: center;
  padding-top: 8px;
}

.compare__bottom-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.35;
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================
   Methodology Cards
   ============================================ */
.methodology {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.method-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 48px 40px;
  box-shadow: 8px 8px 20px rgba(30, 2, 89, 0.08);
}

.method-card__badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  color: var(--white);
}

.method-card__badge--seo {
  background: var(--indigo);
}

.method-card__badge--ai {
  background: var(--orange);
}

.method-card__title {
  font-size: 28px;
  font-weight: 800;
  color: var(--deep-purple);
  line-height: 1.2;
  letter-spacing: -0.56px;
  margin-bottom: 32px;
}

.method-card__steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.method-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.method-step__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  margin-top: 1px;
}

.method-step__num--seo { background: var(--indigo); }
.method-step__num--ai { background: var(--orange); }

.method-step__text { flex: 1; }

.method-step__name {
  font-size: 17px;
  font-weight: 800;
  color: var(--deep-purple);
  line-height: 1.3;
}

.method-step__desc {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 4px;
}

/* ============================================
   Diagnostic CTA Cards
   ============================================ */
.diagnostic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.diagnostic__card {
  border-radius: var(--radius-md);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.diagnostic__card--ai {
  background: var(--orange);
  color: var(--white);
}

.diagnostic__card--seo {
  background: var(--indigo);
  color: var(--white);
}

.diagnostic__label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.75;
}

.diagnostic__card-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.56px;
}

.diagnostic__card-text {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  opacity: 0.9;
}

.diagnostic__card .btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* ============================================
   Responsive: Comparison + Methodology
   ============================================ */
@media (max-width: 1024px) {
  .compare__inner {
    padding: 0 40px;
  }

  .compare__table {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .compare__col-head {
    display: none;
  }

  .compare__cell--label {
    margin-top: 20px;
    padding: 14px 20px 8px;
    border-bottom: none;
    background: none;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
  }

  .compare__cell--label:first-of-type {
    margin-top: 0;
  }

  .compare__cell--seo,
  .compare__cell--ai {
    border-radius: 10px;
    margin-bottom: 6px;
    border-bottom: none;
  }

  .compare__cell--seo::before,
  .compare__cell--ai::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    opacity: 0.55;
  }

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

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

@media (max-width: 768px) {
  .compare__inner {
    padding: 0 20px;
  }

  .compare__title {
    font-size: 32px;
  }

  .compare__subtitle {
    font-size: 17px;
  }

  .compare__stats {
    flex-direction: column;
    align-items: stretch;
  }

  .compare__stat {
    text-align: center;
  }

  .compare__bottom-text {
    font-size: 20px;
  }

  .method-card {
    padding: 32px 24px;
  }

  .method-card__title {
    font-size: 24px;
  }

  .diagnostic__card {
    padding: 32px 24px;
  }

  .diagnostic__card-title {
    font-size: 24px;
  }
}

/* ============================================
   Blog & Article Styles
   ============================================ */

/* --- Blog Hero --- */
.blog-hero {
  background: var(--off-white);
  padding: 80px 0 48px;
  text-align: center;
}

.blog-hero .label {
  font-size: 24px;
  font-weight: 800;
  color: var(--indigo);
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 16px;
}

.blog-hero__title {
  font-size: 48px;
  font-weight: 800;
  color: var(--deep-purple);
  letter-spacing: -0.96px;
  line-height: 1.05;
  max-width: 700px;
  margin: 0 auto 16px;
}

.blog-hero__subtitle {
  font-size: 20px;
  font-weight: 500;
  color: var(--deep-purple);
  letter-spacing: -0.2px;
  line-height: 1.2;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Blog Featured Post --- */
.blog-featured {
  max-width: var(--container-max);
  margin: 0 auto 64px;
  padding: 0 24px;
}

.blog-featured__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 8px 8px 20px rgba(30, 2, 89, 0.10);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.blog-featured__image {
  display: block;
  aspect-ratio: 16/10;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--off-white-darker);
}

.blog-featured__content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-meta__category {
  background: rgba(60, 44, 194, 0.10);
  color: var(--indigo);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.blog-meta__sep {
  color: var(--text-muted);
  font-size: 14px;
}

.blog-meta__time {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.blog-featured__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--deep-purple);
  letter-spacing: -0.64px;
  line-height: 1.15;
  transition: color 0.2s;
}

.blog-featured__card:hover .blog-featured__title {
  color: var(--indigo);
}

.blog-featured__excerpt {
  font-size: 18px;
  font-weight: 500;
  color: var(--deep-purple);
  line-height: 1.4;
  letter-spacing: -0.18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-featured__date {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.blog-featured__readmore {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--indigo);
  letter-spacing: 0.14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  text-decoration: none;
}

/* --- Blog Category Filters --- */
.blog-filters {
  max-width: var(--container-max);
  margin: 0 auto 48px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-filters__pill {
  background: transparent;
  border: 1px solid var(--off-white-darker);
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14px;
  color: var(--deep-purple);
  cursor: pointer;
  transition: all 0.2s;
}

.blog-filters__pill:hover {
  background: var(--off-white-darker);
  border-color: var(--off-white-darker);
}

.blog-filters__pill.active {
  background: var(--deep-purple);
  color: var(--white);
  border-color: var(--deep-purple);
}

/* --- Blog Post Grid --- */
.blog-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 8px 8px 20px rgba(30, 2, 89, 0.10);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 12px 28px rgba(30, 2, 89, 0.15);
}

.blog-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--off-white-darker);
}

.blog-card__content {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.blog-card__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--deep-purple);
  letter-spacing: -0.24px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__excerpt {
  font-size: 16px;
  font-weight: 500;
  color: var(--deep-purple);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--off-white);
}

.blog-card__date {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.blog-card__arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-purple);
  transition: all 0.2s;
}

.blog-card:hover .blog-card__arrow {
  background: var(--indigo);
  color: var(--white);
}

/* --- Blog Load More --- */
.blog-load-more {
  text-align: center;
  padding: 48px 0;
}

/* --- Article Hero --- */
.article-hero {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  position: relative;
}

.article-hero__image-wrap {
  width: 100%;
  aspect-ratio: 2.4 / 1;
  max-height: 520px;
  overflow: hidden;
  position: relative;
}

.article-hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero__image-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent, var(--off-white));
  pointer-events: none;
}

/* --- Article Meta --- */
.article-meta {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-meta__title {
  font-size: 48px;
  font-weight: 800;
  color: var(--deep-purple);
  letter-spacing: -0.96px;
  line-height: 1.05;
}

.article-meta__info {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--off-white-darker);
}

.article-meta__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-meta__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.article-meta__author-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--deep-purple);
}

.article-meta__author-role {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.article-meta__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--off-white-darker);
  flex-shrink: 0;
}

.article-meta__date,
.article-meta__readtime {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

/* --- Social Share Bar --- */
.article-share {
  max-width: var(--article-max);
  margin: 0 auto 32px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-share__label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.article-share__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--off-white-darker);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-purple);
  cursor: pointer;
  transition: all 0.2s;
}

.article-share__btn:hover {
  background: var(--deep-purple);
  border-color: var(--deep-purple);
  color: var(--white);
}

.article-share__btn--copied {
  background: var(--indigo);
  border-color: var(--indigo);
  color: var(--white);
}

/* Sticky mobile share bar */
.article-share--sticky {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--off-white-darker);
  padding: 12px 20px;
  z-index: 90;
  justify-content: center;
  gap: 16px;
}

.article-share--sticky .article-share__btn {
  width: 44px;
  height: 44px;
}

/* --- Article Body --- */
.article-body {
  max-width: var(--article-max);
  margin: 0 auto;
  padding: 0 24px 80px;
}

.article-body p {
  font-size: 18px;
  font-weight: 500;
  color: var(--deep-purple);
  line-height: var(--article-line-height);
  letter-spacing: -0.18px;
  margin-bottom: var(--article-para-spacing);
}

.article-body h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--deep-purple);
  letter-spacing: -0.64px;
  line-height: 1.15;
  margin-top: 56px;
  margin-bottom: 20px;
}

.article-body h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--deep-purple);
  letter-spacing: -0.24px;
  line-height: 1.2;
  margin-top: 40px;
  margin-bottom: 16px;
}

.article-body h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--deep-purple);
  line-height: 1.3;
  margin-top: 32px;
  margin-bottom: 12px;
}

.article-body strong,
.article-body b {
  font-weight: 800;
}

.article-body a {
  color: var(--indigo);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s;
}

.article-body a:hover {
  color: var(--orange);
}

.article-body ul {
  margin-bottom: 24px;
  padding-left: 0;
  list-style: none;
}

.article-body ul li {
  font-size: 18px;
  font-weight: 500;
  line-height: var(--article-line-height);
  padding-left: 28px;
  margin-bottom: 8px;
  position: relative;
  color: var(--deep-purple);
}

.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--indigo);
}

.article-body ol {
  margin-bottom: 24px;
  padding-left: 0;
  list-style: none;
  counter-reset: article-counter;
}

.article-body ol li {
  font-size: 18px;
  font-weight: 500;
  line-height: var(--article-line-height);
  padding-left: 36px;
  margin-bottom: 8px;
  position: relative;
  counter-increment: article-counter;
  color: var(--deep-purple);
}

.article-body ol li::before {
  content: counter(article-counter);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--indigo);
  width: 24px;
  text-align: center;
}

.article-body blockquote {
  border-left: 3px solid var(--indigo);
  padding: 4px 0 4px 24px;
  margin: 32px 0;
}

.article-body blockquote p {
  font-size: 20px;
  font-weight: 800;
  color: var(--deep-purple);
  line-height: 1.5;
  letter-spacing: -0.2px;
  margin-bottom: 0;
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--off-white-darker);
  margin: 48px 0;
  width: 100%;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 16px;
}

.article-body th {
  background: var(--deep-purple);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
  letter-spacing: 0.5px;
}

.article-body td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--off-white-darker);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--deep-purple);
}

.article-body tr:nth-child(even) td {
  background: rgba(236, 235, 237, 0.5);
}

.article-body img {
  width: 100%;
  border-radius: 12px;
  margin: 32px 0;
  box-shadow: 0 4px 16px rgba(30, 2, 89, 0.08);
}

.article-body figure {
  margin: 32px 0;
}

.article-body figcaption {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

/* --- Inline CTA Callout --- */
.article-callout {
  background: rgba(60, 44, 194, 0.06);
  border-left: 3px solid var(--indigo);
  border-radius: 0 12px 12px 0;
  padding: 28px 32px;
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-callout--orange {
  background: rgba(255, 109, 64, 0.06);
  border-left-color: var(--orange);
}

.article-callout__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--deep-purple);
  line-height: 1.3;
}

.article-callout__desc {
  font-size: 16px;
  font-weight: 500;
  color: var(--deep-purple);
  line-height: 1.5;
}

.article-callout__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--indigo);
  letter-spacing: 0.14px;
  text-decoration: none;
  transition: gap 0.2s;
}

.article-callout__link:hover {
  gap: 12px;
}

.article-callout--orange .article-callout__link {
  color: var(--orange);
}

/* --- Email Capture --- */
.email-capture {
  background: var(--deep-purple);
  border-radius: var(--radius-md);
  padding: 64px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.email-capture__icon {
  width: 48px;
  height: 48px;
  color: var(--orange);
}

.email-capture__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.64px;
  line-height: 1.15;
}

.email-capture__subtitle {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  max-width: 500px;
}

.email-capture__form {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 520px;
}

.email-capture__input {
  flex: 1;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 500;
  color: var(--deep-purple);
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.email-capture__input::placeholder {
  color: var(--text-muted);
}

.email-capture__input:focus {
  outline: none;
  border-color: var(--orange);
}

.email-capture__privacy {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
}

/* Inline variant */
.email-capture--inline {
  max-width: var(--article-max);
  margin: 48px auto;
  padding: 48px 32px;
}

.email-capture--inline .email-capture__title {
  font-size: 24px;
  letter-spacing: -0.24px;
}

/* Success state */
.email-capture--success .email-capture__form,
.email-capture--success .email-capture__privacy {
  display: none;
}

/* --- End-of-Article CTA --- */
.article-end-cta {
  max-width: var(--article-max);
  margin: 0 auto;
  padding: 0 24px;
}

.article-end-cta__card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 8px 8px 20px rgba(30, 2, 89, 0.10);
  padding: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.article-end-cta__label {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--indigo);
  letter-spacing: 0.14px;
}

.article-end-cta__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--deep-purple);
  letter-spacing: -0.64px;
  line-height: 1.15;
}

.article-end-cta__desc {
  font-size: 18px;
  font-weight: 500;
  color: var(--deep-purple);
  line-height: 1.5;
  max-width: 500px;
}

.article-end-cta__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.article-end-cta__subtext {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

/* --- Related Posts --- */
.article-related {
  background: var(--off-white);
  padding: 80px 0;
}

.article-related__header {
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--indigo);
  letter-spacing: 0;
  margin-bottom: 32px;
}

.article-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* --- Article Bio --- */
.article-bio {
  font-size: 15px;
  font-weight: 500;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: var(--article-max);
  margin: 0 auto 48px;
  padding: 0 24px;
}

/* --- Blog Responsive --- */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-featured__card {
    grid-template-columns: 1fr;
  }

  .blog-featured__image {
    aspect-ratio: 16/9;
    max-height: 300px;
  }

  .blog-featured__content {
    padding: 32px;
  }

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

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

  .blog-hero__title {
    font-size: 36px;
  }

  .blog-hero {
    padding: 60px 0 32px;
  }

  .blog-filters {
    gap: 6px;
  }

  .blog-filters__pill {
    padding: 8px 14px;
    font-size: 13px;
  }

  .email-capture {
    padding: 40px 24px;
  }

  .email-capture__form {
    flex-direction: column;
  }

  .email-capture__form .btn {
    width: 100%;
  }

  .blog-card__content {
    padding: 20px 16px;
  }

  .blog-card__title {
    font-size: 20px;
  }

  .article-meta__title {
    font-size: 32px;
  }

  .article-meta__info {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .article-meta__dot {
    display: none;
  }

  .article-body p {
    font-size: 17px;
  }

  .article-body h2 {
    font-size: 28px;
    margin-top: 40px;
  }

  .article-body h3 {
    font-size: 22px;
  }

  .article-callout {
    padding: 20px 24px;
  }

  .article-share {
    justify-content: flex-start;
  }

  .article-related__grid {
    grid-template-columns: 1fr;
  }

  .article-hero__image-wrap {
    aspect-ratio: 16/9;
  }

  .article-share--sticky {
    display: flex;
  }

  .article-end-cta__card {
    padding: 32px 24px;
  }

  .article-end-cta__title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .blog-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .blog-featured__content {
    padding: 24px 16px;
  }
}
