/* ============================================
   EAZWORLD INNOVATIONS LTD - Design System
   ============================================ */

:root {
  --primary-blue: #0A4D9C;
  --primary-blue-light: #1a6bc4;
  --primary-blue-dark: #083a75;
  --burnt-orange: #D96A1D;
  --burnt-orange-light: #e8853d;
  --dark-bg: #0B1020;
  --dark-bg-light: #141b2d;
  --dark-bg-card: #1a2235;
  --white: #FFFFFF;
  --light-gray: #F8FAFC;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, #0d6ebc 50%, var(--burnt-orange) 100%);
  --gradient-dark: linear-gradient(180deg, var(--dark-bg) 0%, #0f1629 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-glow: 0 0 40px rgba(10, 77, 156, 0.3);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', var(--font-sans);
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --header-height: 80px;
  --container-max: 1280px;
  --container-narrow: 960px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
iframe,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  min-width: 0;
  box-sizing: border-box;
}

main,
section,
.header,
.footer,
.page-hero,
.hero,
.cta-section {
  max-width: 100%;
  box-sizing: border-box;
}

.container--narrow { max-width: var(--container-narrow); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 600;
}

.skip-link:focus { top: 16px; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-800);
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--burnt-orange);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--burnt-orange);
}

.section-header { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-header p { margin-top: 16px; font-size: 1.125rem; color: var(--gray-500); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(10, 77, 156, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 77, 156, 0.5);
}

.btn--secondary {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}

.btn--outline {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn--outline:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.btn--dark {
  background: var(--dark-bg);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--gray-800);
  transform: translateY(-2px);
}

.btn--orange {
  background: var(--burnt-orange);
  color: var(--white);
}

.btn--orange:hover {
  background: var(--burnt-orange-light);
  transform: translateY(-2px);
}

.btn-group { display: flex; flex-wrap: wrap; gap: 16px; }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1000;
  height: var(--header-height);
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(11, 16, 32, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  min-width: 0;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--white);
  min-width: 0;
  flex-shrink: 1;
}

.logo img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 50%;
}

.nav { display: flex; align-items: center; gap: 8px; }

.nav__link {
  padding: 8px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav__link:hover, .nav__link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav__item { position: relative; }

.nav__item--mega > .nav__link::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  vertical-align: middle;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: min(720px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  padding: 24px;
  background: rgba(26, 34, 53, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.nav__item--mega:hover .mega-menu,
.nav__item--mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mega-menu__link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.mega-menu__link:hover { background: rgba(255,255,255,0.08); }

.mega-menu__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 77, 156, 0.2);
  border-radius: var(--radius-sm);
  color: var(--burnt-orange);
}

.mega-menu__title {
  font-weight: 600;
  color: var(--white);
  font-size: 0.9375rem;
}

.mega-menu__desc {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-top: 2px;
}

.header__cta { margin-left: 16px; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-base);
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu — off-screen when closed; must not expand document scroll width */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--dark-bg);
  padding: calc(var(--header-height) + 24px) 24px 24px;
  width: 100%;
  max-width: 100%;
  transform: translateX(100%);
  transition: transform var(--transition-slow), visibility var(--transition-slow);
  overflow-y: auto;
  overflow-x: hidden;
  visibility: hidden;
  pointer-events: none;
}

.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__link {
  display: block;
  padding: 16px 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu__sub { padding-left: 16px; }

.mobile-menu__sub .mobile-menu__link {
  font-size: 1rem;
  color: var(--gray-400);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-dark);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__gradient {
  position: absolute;
  width: min(600px, 85vw);
  height: min(600px, 85vw);
  max-width: 100%;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.hero__gradient--1 {
  top: max(-200px, -30vw);
  right: max(-100px, -15vw);
  background: var(--primary-blue);
}

.hero__gradient--2 {
  bottom: max(-200px, -30vw);
  left: max(-100px, -15vw);
  background: var(--burnt-orange);
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero p { font-size: 1.25rem; color: rgba(255,255,255,0.75); margin-bottom: 40px; max-width: 640px; }

.hero__visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 560px;
  opacity: 0.9;
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero__card {
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.hero__card:nth-child(1) { animation-delay: 0.2s; }
.hero__card:nth-child(2) { animation-delay: 0.4s; grid-row: span 2; }
.hero__card:nth-child(3) { animation-delay: 0.6s; }
.hero__card:nth-child(4) { animation-delay: 0.8s; }
.hero__card:nth-child(5) { animation-delay: 1s; }

.hero__card-icon { font-size: 1.5rem; margin-bottom: 8px; }
.hero__card-title { font-size: 0.8125rem; color: rgba(255,255,255,0.6); }
.hero__card-value { font-size: 1.25rem; font-weight: 700; color: var(--white); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sections */
.section { padding: 100px 0; }
.section--gray { background: var(--light-gray); }
.section--dark {
  background: var(--gradient-dark);
  color: var(--white);
}

.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.7); }

/* About Intro */
.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.about-intro__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat-card {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--transition-base);
}

.stat-card:hover { transform: translateY(-4px); }

.stat-card__value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
}

.stat-card__label {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 8px;
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(10,77,156,0.1), rgba(217,106,29,0.1));
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-card h3 { margin-bottom: 12px; font-size: 1.125rem; }
.service-card p { font-size: 0.9375rem; color: var(--gray-500); margin-bottom: 20px; }

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-blue);
}

.service-card__link:hover { gap: 10px; }

/* Why Choose Us */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.feature-item {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.feature-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}

.feature-item__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  font-size: 1.75rem;
}

.feature-item h3 { margin-bottom: 12px; }

/* Featured Project */
.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.project-feature__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.project-feature__image img { width: 100%; }

.project-feature__badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(10, 77, 156, 0.1);
  color: var(--primary-blue);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.project-feature__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.tag {
  padding: 6px 12px;
  background: var(--gray-100);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-full);
}

/* Industries */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.industry-card {
  padding: 28px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.industry-card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.industry-card__icon { font-size: 2rem; margin-bottom: 12px; }
.industry-card h4 { font-size: 0.9375rem; }

/* Tech Stack */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.tech-badge {
  padding: 12px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: all var(--transition-base);
}

.tech-badge:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--burnt-orange);
  transform: scale(1.05);
}

/* CEO Section */
.ceo-section {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.ceo-section__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.ceo-section__image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top center; }

.ceo-section__quote {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--gray-600);
  border-left: 4px solid var(--burnt-orange);
  padding-left: 24px;
  margin: 24px 0;
}

.ceo-section__name { font-size: 1.25rem; font-weight: 700; color: var(--gray-800); }
.ceo-section__title { color: var(--primary-blue); font-weight: 500; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base);
}

.testimonial-card:hover { transform: translateY(-4px); }

.testimonial-card__stars { color: var(--burnt-orange); margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card__text { font-size: 0.9375rem; color: var(--gray-600); margin-bottom: 24px; line-height: 1.7; }

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-card__name { font-weight: 600; color: var(--gray-800); font-size: 0.9375rem; }
.testimonial-card__role { font-size: 0.8125rem; color: var(--gray-500); }

/* CTA Section */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: var(--gradient-primary);
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.9); font-size: 1.125rem; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }

.cta-section .btn--primary {
  background: var(--white);
  color: var(--primary-blue);
  box-shadow: var(--shadow-lg);
}

.cta-section .btn--secondary {
  border-color: rgba(255,255,255,0.5);
}

/* Page Hero */
.page-hero {
  padding: calc(var(--header-height) + 80px) 0 80px;
  background: var(--gradient-dark);
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.125rem; max-width: 640px; margin: 0 auto; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.875rem;
}

.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--burnt-orange); }

/* Footer */
.footer {
  background: var(--dark-bg);
  color: rgba(255,255,255,0.7);
  padding-top: 80px;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand p { margin-top: 16px; font-size: 0.9375rem; line-height: 1.7; }

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer__links li { margin-bottom: 12px; }
.footer__links a { font-size: 0.9375rem; transition: color var(--transition-fast); }
.footer__links a:hover { color: var(--burnt-orange); }

.footer__contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9375rem;
}

.footer__contact li span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer__newsletter input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: var(--white);
  margin-bottom: 12px;
}

.footer__newsletter input::placeholder { color: rgba(255,255,255,0.4); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.875rem;
}

/* Service Detail */
.service-detail { padding: 80px 0; }

.service-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 64px;
}

.service-detail__sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: start;
}

.sidebar-card {
  padding: 32px;
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.sidebar-card h4 { margin-bottom: 16px; }

.sidebar-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9375rem;
}

.sidebar-card ul li:last-child { border-bottom: none; }

.process-steps { counter-reset: step; }

.process-step {
  position: relative;
  padding-left: 64px;
  padding-bottom: 40px;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--white);
  font-weight: 700;
  border-radius: 50%;
}

.process-step::after {
  content: '';
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.process-step:last-child::after { display: none; }

.process-step h4 { margin-bottom: 8px; }
.process-step p { color: var(--gray-500); font-size: 0.9375rem; }

.benefits-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  font-size: 0.9375rem;
}

.benefits-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 77, 156, 0.1);
  color: var(--primary-blue);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary-blue);
  transition: transform var(--transition-base);
}

.faq-item.active .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-answer p {
  padding-bottom: 24px;
  color: var(--gray-500);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer { max-height: 300px; }

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.project-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.project-card__image { aspect-ratio: 16/10; overflow: hidden; }
.project-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.project-card:hover .project-card__image img { transform: scale(1.05); }

.project-card__content { padding: 32px; }
.project-card__category { font-size: 0.8125rem; color: var(--burnt-orange); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.project-card h3 { margin: 8px 0 12px; }
.project-card p { color: var(--gray-500); font-size: 0.9375rem; margin-bottom: 20px; }

/* Case Study */
.case-study-section { padding: 64px 0; }
.case-study-section:nth-child(even) { background: var(--light-gray); }

.case-study-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.screenshot-gallery img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  object-fit: contain;
  background: var(--light-gray);
}

.screenshot-gallery figcaption {
  margin-top: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
  text-align: center;
}

.screenshot-item { margin: 0; }

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}

.result-card {
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.result-card__value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-blue);
}

.result-card__label { font-size: 0.875rem; color: var(--gray-500); margin-top: 8px; }

.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--dark-bg);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all var(--transition-base);
}

.download-link:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
}

/* Insights */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.insight-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.insight-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.insight-card__image {
  aspect-ratio: 16/9;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  overflow: hidden;
}

.insight-card__image--photo {
  background: var(--light-gray);
  padding: 0;
}

.insight-card__image--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insight-card__content { padding: 24px; color: #1e293b; }
.insight-card__category { font-size: 0.75rem; font-weight: 600; color: var(--burnt-orange); text-transform: uppercase; letter-spacing: 0.05em; }
.insight-card h3 { margin: 8px 0 12px; font-size: 1.125rem; color: #0f172a; }
.insight-card p { font-size: 0.875rem; color: #475569; margin-bottom: 16px; }
.insight-card__meta { font-size: 0.8125rem; color: #64748b; }

.category-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.category-filter button {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-fast);
}

.category-filter button.active,
.category-filter button:hover {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

.category-filter a.btn--outline.active,
.category-filter a.btn--outline:hover {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 64px;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--light-gray);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.contact-info__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 1.25rem;
}

.contact-info__label { font-size: 0.8125rem; color: var(--gray-500); }
.contact-info__value { font-weight: 600; color: var(--gray-800); }
.contact-info__value a:hover { color: var(--primary-blue); }

.contact-form {
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  max-width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(10, 77, 156, 0.1);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-success {
  display: none;
  padding: 20px;
  background: #dcfce7;
  color: #166534;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  text-align: center;
  font-weight: 500;
}

.form-success.show { display: block; }

.form-error {
  display: none;
  padding: 20px;
  background: #fef2f2;
  color: #991b1b;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  text-align: center;
  font-weight: 500;
}

.form-error.show { display: block; }

.form-group input.is-invalid,
.form-group textarea.is-invalid,
.form-group select.is-invalid {
  border-color: #dc2626;
}

.form-group input.is-invalid:focus,
.form-group textarea.is-invalid:focus,
.form-group select.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-field-error {
  display: none;
  font-size: 0.8125rem;
  color: #dc2626;
  margin-top: 6px;
}

.form-field-error.show { display: block; }

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.map-container {
  margin-top: 64px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 400px;
  border: 1px solid var(--gray-200);
}

.map-container iframe { width: 100%; height: 100%; border: 0; }

/* About Page */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--primary-blue);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary-blue);
}

.timeline-item__year {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--burnt-orange);
  margin-bottom: 8px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all var(--transition-base);
}

.value-card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
}

.value-card__icon { font-size: 2.5rem; margin-bottom: 16px; }

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.leader-card {
  text-align: center;
  padding: 32px;
  background: var(--light-gray);
  border-radius: var(--radius-lg);
}

.leader-card__image {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}

.leader-card__image img { width: 100%; height: 100%; object-fit: cover; }

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table tr { border-bottom: 1px solid var(--gray-200); }
.info-table td { padding: 16px 0; }
.info-table td:first-child { font-weight: 600; color: var(--gray-800); width: 40%; }
.info-table td:last-child { color: var(--gray-600); }

.content-block { margin-bottom: 48px; }
.content-block h2 { margin-bottom: 16px; }
.content-block p { color: var(--gray-600); margin-bottom: 16px; line-height: 1.8; }

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Article content must always be visible — never hide readable text */
.article-body,
.article-body.reveal,
.article-header,
.article-header.reveal,
.article-toc,
.article-toc.reveal,
main .section .article-layout .reveal {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Light header variant for inner pages */
.header--light.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.header--light .logo { color: var(--gray-800); }
.header--light .nav__link { color: var(--gray-600); }
.header--light .nav__link:hover,
.header--light .nav__link.active { color: var(--primary-blue); background: rgba(10, 77, 156, 0.08); }
.header--light .mobile-toggle span { background: var(--gray-800); }

/* Responsive */
@media (max-width: 1024px) {
  .nav,
  .header__cta { display: none; }
  .mobile-toggle { display: flex; }
  .mega-menu { display: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .about-intro { grid-template-columns: 1fr; }
  .project-feature { grid-template-columns: 1fr; }
  .ceo-section { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .service-detail__grid { grid-template-columns: 1fr; }
  .case-study-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .leadership-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { position: static; margin-bottom: 32px; }

  .about-intro,
  .project-feature,
  .ceo-section,
  .contact-grid,
  .case-study-grid,
  .service-detail__grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .services-grid,
  .features-grid,
  .industries-grid,
  .testimonials-grid,
  .projects-grid,
  .insights-grid,
  .related-articles .insights-grid,
  .footer__grid,
  .contact-grid,
  .leadership-grid,
  .values-grid,
  .screenshot-gallery,
  .about-intro__stats,
  .results-grid {
    grid-template-columns: 1fr;
  }

  .form-row { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero p { font-size: 1.0625rem; }
  .hero__gradient {
    width: 320px;
    height: 320px;
  }
  .hero__gradient--1 { top: -120px; right: -80px; }
  .hero__gradient--2 { bottom: -120px; left: -80px; }

  .page-hero {
    padding: calc(var(--header-height) + 48px) 0 48px;
  }

  .page-hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    overflow-wrap: break-word;
  }

  .page-hero p { font-size: 1rem; }

  .contact-form { padding: 28px 20px; }
  .service-card,
  .feature-item,
  .testimonial-card,
  .value-card,
  .stat-card { padding: 24px 20px; }

  .project-card__content { padding: 24px 20px; }
  .sidebar-card { padding: 24px 20px; }

  .faq-question {
    gap: 16px;
    font-size: 1rem;
    padding: 20px 0;
  }

  .article-body h2 { font-size: 1.5rem; }
  .article-body p { font-size: 1rem; }
  .article-body blockquote {
    padding: 20px;
    margin-left: 0;
    margin-right: 0;
  }

  .article-author {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }

  .map-container { height: 280px; margin-top: 40px; }
  .cta-section { padding: 64px 0; }
  .footer { padding-top: 64px; }
  .footer__grid { gap: 32px; padding-bottom: 48px; }

  .download-link {
    width: 100%;
    justify-content: center;
  }

  .category-filter { gap: 8px; margin-bottom: 32px; }
  .category-filter button {
    padding: 8px 14px;
    font-size: 0.8125rem;
  }

  .tech-badge {
    padding: 10px 16px;
    font-size: 0.875rem;
  }

  .process-step {
    padding-left: 56px;
    padding-bottom: 32px;
  }

  .timeline { padding-left: 32px; }
}

@media (max-width: 480px) {
  :root { --header-height: 72px; }

  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }
  .section-header p { font-size: 1rem; }

  h1 { font-size: clamp(1.875rem, 8vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

  .stat-card__value,
  .result-card__value {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    overflow-wrap: anywhere;
  }

  .hero__badge {
    font-size: 0.8125rem;
    padding: 6px 12px;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .hero__gradient {
    width: 240px;
    height: 240px;
  }

  .info-table,
  .info-table tbody,
  .info-table tr,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table td:first-child {
    width: 100%;
    padding-bottom: 4px;
  }

  .info-table td:last-child {
    padding-top: 0;
    padding-bottom: 20px;
    overflow-wrap: anywhere;
  }

  .contact-info__item { padding: 16px; }
  .contact-info__value { overflow-wrap: anywhere; }

  .article-body ul,
  .article-body ol { margin-left: 16px; }

  .article-body .article-highlight { padding: 16px; }

  .footer__bottom p { overflow-wrap: anywhere; }
}

@media (max-width: 390px) {
  .container { padding: 0 14px; }
  .logo img { height: 40px; width: 40px; }
  .section-label { font-size: 0.8125rem; }
  .btn { padding: 12px 20px; font-size: 0.875rem; }
}

@media (max-width: 375px) {
  .mobile-menu { padding: calc(var(--header-height) + 16px) 16px 16px; }
  .stat-card,
  .result-card { padding: 20px 16px; }
}

@media (max-width: 320px) {
  .container { padding: 0 12px; }
  .service-card,
  .testimonial-card,
  .value-card,
  .insight-card__content,
  .project-card__content { padding: 20px 16px; }
  .contact-form { padding: 20px 16px; }
  .category-filter button { padding: 8px 12px; }
}

/* Prevent grid/flex children from forcing horizontal overflow */
[class*="-grid"] > *,
.about-intro > *,
.project-feature > *,
.ceo-section > *,
.case-study-grid > *,
.service-detail__grid > *,
.contact-grid > *,
.article-layout > *,
.footer__grid > *,
.testimonial-card__author > div:last-child,
.mega-menu__link > div {
  min-width: 0;
}

[class*="-grid"] {
  max-width: 100%;
}

.map-container iframe {
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* Article Pages */
.article-content-section,
main .section:has(.article-body) {
  background: var(--white);
  color: #1e293b;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
  gap: 64px;
  align-items: start;
}

.article-header {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
  color: #1e293b;
}

.article-header .section-label { justify-content: center; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  margin-top: 24px;
  font-size: 0.9375rem;
  color: #475569;
}

.page-hero .article-meta {
  color: rgba(255, 255, 255, 0.9);
}

.article-meta span { display: inline-flex; align-items: center; gap: 6px; }

.article-body {
  max-width: 760px;
  width: 100%;
  color: #000000;
  -webkit-text-fill-color: #000000;
  overflow-wrap: break-word;
}

.article-body h2 {
  font-size: 1.75rem;
  margin: 48px 0 16px;
  color: #000000;
  -webkit-text-fill-color: #000000;
}

.article-body h3 {
  font-size: 1.25rem;
  margin: 32px 0 12px;
  color: #000000;
  -webkit-text-fill-color: #000000;
}

.article-body p {
  color: #1a1a1a;
  -webkit-text-fill-color: #1a1a1a;
  line-height: 1.85;
  margin-bottom: 20px;
  font-size: 1.0625rem;
}

.article-body ul,
.article-body ol {
  margin: 0 0 24px 24px;
  color: #1a1a1a;
  -webkit-text-fill-color: #1a1a1a;
  line-height: 1.85;
}

.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }

.article-body li {
  margin-bottom: 10px;
  color: #1a1a1a;
  -webkit-text-fill-color: #1a1a1a;
}

.article-body li strong,
.article-body p strong {
  color: #000000;
  -webkit-text-fill-color: #000000;
  font-weight: 600;
}

.article-body a {
  color: var(--primary-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-body a:hover {
  color: var(--primary-blue-dark);
}

.article-body blockquote {
  margin: 32px 0;
  padding: 24px 32px;
  background: var(--light-gray);
  border-left: 4px solid var(--burnt-orange);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.125rem;
  font-style: italic;
  color: #1a1a1a;
  -webkit-text-fill-color: #1a1a1a;
  line-height: 1.7;
}

.article-body .article-highlight {
  padding: 24px;
  background: linear-gradient(135deg, rgba(10,77,156,0.08), rgba(217,106,29,0.08));
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  margin: 32px 0;
  color: #1a1a1a;
  -webkit-text-fill-color: #1a1a1a;
}

.article-body .article-highlight h4 {
  color: var(--primary-blue);
  margin-bottom: 12px;
  font-size: 1rem;
  -webkit-text-fill-color: currentColor;
}

.article-body .article-highlight p {
  margin-bottom: 0;
  font-size: 1rem;
  color: #1a1a1a;
  -webkit-text-fill-color: #1a1a1a;
}

.article-toc {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: 24px;
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  color: #1e293b;
}

.article-toc h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
  margin-bottom: 16px;
}

.article-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-toc li { margin-bottom: 10px; }

.article-toc a {
  font-size: 0.875rem;
  color: #334155;
  line-height: 1.5;
  transition: color var(--transition-fast);
}

.article-toc a:hover { color: var(--primary-blue); }

.article-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px;
  margin-top: 48px;
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  color: #1e293b;
}

.article-author__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.article-author__name {
  font-weight: 700;
  color: #0f172a;
}

.article-author__role {
  font-size: 0.875rem;
  color: var(--primary-blue);
}

.related-articles {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--gray-200);
  color: #1e293b;
}

.related-articles h3 {
  text-align: center;
  margin-bottom: 32px;
  color: #0f172a;
}

.related-articles .insights-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.insight-card { cursor: pointer; transition: all var(--transition-base); }
.insight-card:hover { transform: translateY(-4px); }

.insight-card a {
  display: block;
  color: #1e293b;
  text-decoration: none;
}

.insight-card h3 {
  color: #0f172a;
}

.insight-card p {
  color: #475569;
}

.insight-card__read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-top: 8px;
}

/* Israel Adeyemo professional profile */
.profile-page { background: var(--white); }

.profile-hero {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 72px) 0 72px;
  background: var(--gradient-dark);
  color: var(--white);
}

.profile-hero__accent {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.26;
  pointer-events: none;
}

.profile-hero__accent--blue { top: -220px; left: -160px; background: var(--primary-blue-light); }
.profile-hero__accent--orange { right: -180px; bottom: -260px; background: var(--burnt-orange); }

.profile-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 80px;
  align-items: center;
}

.profile-hero__breadcrumb { justify-content: flex-start; margin-bottom: 32px; }
.profile-kicker { display: inline-block; color: var(--burnt-orange-light); font-weight: 700; letter-spacing: 0.04em; margin-bottom: 18px; }
.profile-hero h1 { color: var(--white); font-size: clamp(3rem, 6vw, 5.5rem); margin-bottom: 18px; }
.profile-hero__descriptor { color: rgba(255,255,255,0.92); font-size: 1.125rem; font-weight: 600; letter-spacing: 0.01em; }
.profile-hero__descriptor span { color: var(--burnt-orange-light); margin: 0 5px; }
.profile-hero__intro { max-width: 760px; margin-top: 24px; color: rgba(255,255,255,0.72); font-size: 1.0625rem; line-height: 1.85; }
.profile-hero__actions { margin-top: 34px; }

.profile-portrait { max-width: 430px; justify-self: end; }
.profile-portrait__frame { position: relative; overflow: hidden; border-radius: 34px; border: 1px solid rgba(255,255,255,0.18); box-shadow: 0 28px 80px rgba(0,0,0,0.42); }
.profile-portrait__frame::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 8px rgba(255,255,255,0.04); border-radius: inherit; pointer-events: none; }
.profile-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.profile-portrait__caption { margin: -34px 20px 0; position: relative; padding: 18px 22px; display: flex; flex-direction: column; background: rgba(20,27,45,0.9); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); backdrop-filter: blur(16px); box-shadow: var(--shadow-xl); }
.profile-portrait__caption strong { color: var(--white); }
.profile-portrait__caption span { color: rgba(255,255,255,0.62); font-size: 0.8125rem; margin-top: 3px; }

.profile-about, .profile-capabilities, .profile-leadership, .profile-flagship { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
.profile-about__copy p, .profile-leadership__statement p, .profile-flagship p { color: var(--gray-600); line-height: 1.85; font-size: 1.0625rem; }
.profile-about__copy p + p, .profile-leadership__statement p + p, .profile-flagship p + p { margin-top: 20px; }
.profile-leadership__statement .btn, .profile-flagship .btn { margin-top: 28px; }

.profile-expertise-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.profile-expertise-card { min-height: 250px; padding: 28px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base); }
.profile-expertise-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(10,77,156,0.35); }
.profile-expertise-card > span { display: block; margin-bottom: 32px; color: var(--primary-blue); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.12em; }
.profile-expertise-card h3 { font-size: 1.0625rem; margin-bottom: 12px; }
.profile-expertise-card p { color: var(--gray-500); font-size: 0.9rem; line-height: 1.65; }

.profile-capabilities { align-items: center; }
.profile-capability-list, .profile-industries { display: flex; flex-wrap: wrap; gap: 12px; }
.profile-capability-list li, .profile-industries li { padding: 12px 18px; border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-full); color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.05); font-weight: 600; font-size: 0.9rem; }

.profile-leadership { align-items: center; }
.profile-leadership__pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.profile-leadership__pillars div { padding: 28px; min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--light-gray); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); }
.profile-leadership__pillars strong { color: var(--primary-blue); font-size: 1.125rem; }
.profile-leadership__pillars span { color: var(--gray-500); font-size: 0.875rem; margin-top: 8px; }

.profile-impact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.profile-impact-card { padding: 30px; min-height: 210px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); }
.profile-impact-card--primary { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; background: var(--gradient-primary); border: 0; }
.profile-impact-card strong { display: block; margin-bottom: 16px; color: var(--white); font-size: clamp(3rem, 6vw, 5rem); line-height: 1; }
.profile-impact-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.profile-impact-card p { color: var(--gray-500); font-size: 0.875rem; line-height: 1.65; }
.profile-impact-card--primary h3, .profile-impact-card--primary p { color: var(--white); }

.profile-flagship { align-items: center; }
.profile-flagship__visual { overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); }
.profile-flagship__visual img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.profile-industries { justify-content: center; max-width: 900px; margin: 0 auto; }

.profile-philosophy { text-align: center; }
.profile-philosophy .section-label { justify-content: center; }
.profile-philosophy blockquote { margin-top: 28px; color: var(--gray-600); font-size: clamp(1.125rem, 2.2vw, 1.5rem); line-height: 1.75; }

@media (max-width: 1100px) {
  .profile-hero__grid { gap: 48px; }
  .profile-expertise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-impact-card--primary { grid-row: auto; }
}

@media (max-width: 1024px) {
  .profile-hero { min-height: auto; }
  .profile-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr); }
  .profile-about, .profile-capabilities, .profile-leadership, .profile-flagship { gap: 48px; }
}

@media (max-width: 768px) {
  .profile-hero { padding: calc(var(--header-height) + 48px) 0 64px; }
  .profile-hero__grid, .profile-about, .profile-capabilities, .profile-leadership, .profile-flagship { grid-template-columns: 1fr; }
  .profile-hero__content { text-align: center; }
  .profile-hero__breadcrumb { justify-content: center; }
  .profile-hero__descriptor span { display: block; height: 4px; overflow: hidden; }
  .profile-hero__actions { align-items: center; }
  .profile-portrait { width: min(100%, 420px); justify-self: center; }
  .profile-expertise-grid, .profile-impact-grid { grid-template-columns: 1fr; }
  .profile-expertise-card { min-height: 0; }
  .profile-leadership__pillars { grid-template-columns: 1fr; }
  .profile-leadership__pillars div, .profile-impact-card { min-height: 0; }
  .profile-capabilities { gap: 32px; }
  .profile-capability-list, .profile-industries { justify-content: center; }
}

@media (max-width: 480px) {
  .profile-hero h1 { font-size: clamp(2.4rem, 14vw, 3.5rem); }
  .profile-hero__descriptor { font-size: 1rem; line-height: 1.7; }
  .profile-hero__intro { font-size: 1rem; }
  .profile-portrait__caption { margin-left: 12px; margin-right: 12px; }
  .profile-expertise-card, .profile-impact-card, .profile-leadership__pillars div { padding: 24px 20px; }
  .profile-capability-list li, .profile-industries li { width: 100%; text-align: center; }
}

/* Dynamic blog posts — responsive rich-content safeguards */
.article-layout,
.article-layout > *,
.article-body,
.article-author,
.article-author > * {
  min-width: 0;
}

.article-body > *,
.article-body figure,
.article-body img,
.article-body picture,
.article-body video,
.article-body canvas,
.article-body svg,
.article-body iframe,
.article-body embed,
.article-body object,
.article-body table,
.article-body pre,
.article-body hr {
  max-width: 100%;
}

.article-body img,
.article-body picture,
.article-body video,
.article-body canvas,
.article-body svg {
  height: auto !important;
}

.article-body figure {
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.article-body iframe,
.article-body embed,
.article-body object {
  display: block;
  width: 100% !important;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6,
.article-body p,
.article-body li,
.article-body a,
.article-body strong,
.article-body em,
.article-author__name,
.article-author__role {
  overflow-wrap: anywhere;
  word-break: normal;
}

.article-body ul,
.article-body ol {
  max-width: 100%;
  padding-right: 0;
}

.article-body table {
  display: block;
  width: 100% !important;
  overflow-x: auto;
  border-collapse: collapse;
  -webkit-overflow-scrolling: touch;
}

.article-body pre {
  width: 100%;
  overflow-x: auto;
  white-space: pre;
  -webkit-overflow-scrolling: touch;
}

.article-body :not(pre) > code {
  white-space: normal;
  overflow-wrap: anywhere;
}

.article-body [style*="width"] {
  max-width: 100% !important;
}

.article-body [style*="min-width"] {
  min-width: 0 !important;
}

@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .article-body,
  .article-toc {
    width: 100%;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .article-toc {
    position: static;
  }
}

@media (max-width: 768px) {
  .article-header,
  .article-body,
  .article-toc,
  .related-articles {
    min-width: 0;
    max-width: 100%;
  }

  .article-header h1 {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .article-body h1 {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    line-height: 1.22;
    margin: 40px 0 18px;
  }

  .article-body h2 {
    font-size: clamp(1.5rem, 6vw, 1.875rem);
    line-height: 1.28;
    margin: 40px 0 16px;
  }

  .article-body h3 {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
    line-height: 1.35;
    margin: 30px 0 12px;
  }

  .article-body h4,
  .article-body h5,
  .article-body h6 {
    line-height: 1.4;
    margin: 26px 0 10px;
  }

  .article-body p,
  .article-body li {
    font-size: 1rem;
    line-height: 1.8;
  }

  .article-body p { margin-bottom: 18px; }

  .article-body ul,
  .article-body ol {
    margin: 0 0 22px 20px;
  }

  .article-body blockquote {
    width: 100%;
    margin: 28px 0;
    padding: 20px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .article-body iframe {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .article-author {
    width: 100%;
    padding: 24px 20px;
  }

  .related-articles .insights-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .article-meta {
    gap: 10px 16px;
    font-size: 0.875rem;
  }

  .article-body ul,
  .article-body ol {
    margin-left: 18px;
  }

  .article-body blockquote,
  .article-body .article-highlight {
    padding: 18px 16px;
  }

  .article-author {
    gap: 14px;
    padding: 20px 16px;
  }
}

