/* ============================================================
   Nirmal Chawla — Portfolio Website
   Design System & Styles
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --clr-primary: #1A3A6B;
  --clr-primary-dark: #0F2647;
  --clr-accent: #0E7490;
  --clr-accent-light: #22D3EE;
  --clr-surface: #F8FAFC;
  --clr-text: #1E293B;
  --clr-muted: #6B7280;
  --clr-white: #FFFFFF;
  --clr-dark: #0B1D3A;
  --clr-card-bg: rgba(255, 255, 255, 0.85);
  --clr-glass: rgba(255, 255, 255, 0.08);
  --clr-glass-border: rgba(255, 255, 255, 0.12);

  /* Typography */
  --ff-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3rem;
  --fs-5xl: 3.5rem;
  --fs-hero: 4rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.4s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--ff-primary);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--clr-text);
  background-color: var(--clr-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

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

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--clr-accent);
}

.section-title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--clr-muted);
  max-width: 640px;
  line-height: 1.8;
}

.section--dark .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out),
    backdrop-filter var(--duration) var(--ease-out);
}

.navbar.scrolled {
  background: rgba(11, 29, 58, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--clr-white);
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--clr-accent-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-accent-light);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--clr-white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  background: var(--clr-accent);
  color: var(--clr-white) !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: var(--fs-sm) !important;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: #0c6680;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(14, 116, 144, 0.4);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--clr-dark) 0%, var(--clr-primary) 50%, #0c3d5a 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, rgba(14, 116, 144, 0.15) 0%, transparent 70%);
  animation: float 12s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, transparent 70%);
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -30px) scale(1.05);
  }
}

/* Grid overlay pattern */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 60% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, black 30%, transparent 80%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  position: relative;
  z-index: 2;
  padding-top: var(--nav-height);
}

.hero-content {
  padding: var(--space-3xl) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  background: var(--clr-glass);
  border: 1px solid var(--clr-glass-border);
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--clr-accent-light);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(8px);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--clr-accent-light);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.1;
  color: var(--clr-white);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--clr-accent-light), var(--clr-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--fs-lg);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: var(--fs-base);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.btn-primary {
  background: var(--clr-accent);
  color: var(--clr-white);
  box-shadow: 0 4px 16px rgba(14, 116, 144, 0.3);
}

.btn-primary:hover {
  background: #0c6680;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 116, 144, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--clr-white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  border-color: var(--clr-accent-light);
  background: rgba(34, 211, 238, 0.08);
  transform: translateY(-2px);
}

/* Hero Image */
.hero-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image-frame {
  position: relative;
  width: 380px;
  height: 460px;
}

.hero-image-frame::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-light), var(--clr-accent));
  background-size: 200% 200%;
  animation: gradient-shift 4s ease-in-out infinite;
  z-index: 0;
}

@keyframes gradient-shift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.hero-image-frame img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  z-index: 1;
}

/* Floating stat cards */
.hero-float-card {
  position: absolute;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  color: var(--clr-white);
  z-index: 3;
  animation: subtle-float 6s ease-in-out infinite;
}

.hero-float-card--top {
  top: 20px;
  right: -30px;
  animation-delay: 0s;
}

.hero-float-card--bottom {
  bottom: 40px;
  left: -30px;
  animation-delay: 3s;
}

@keyframes subtle-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero-float-card .card-value {
  font-size: var(--fs-xl);
  font-weight: 800;
  line-height: 1;
}

.hero-float-card .card-label {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* ============================================================
   SOCIAL PROOF STRIP
   ============================================================ */
.social-proof {
  padding: var(--space-3xl) 0;
  background: var(--clr-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.social-proof .container {
  text-align: center;
}

.social-proof-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: var(--space-xl);
}

.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.logo-strip .logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  transition: opacity 0.3s;
}

.logo-strip .logo-item:hover {
  opacity: 0.7;
}

.logo-strip .logo-item img {
  height: 70px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

/* ============================================================
   IMPACT STATS
   ============================================================ */
.stats {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, var(--clr-primary-dark), var(--clr-primary));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stat-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--clr-glass);
  border: 1px solid var(--clr-glass-border);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.stat-value {
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-value .accent {
  color: var(--clr-accent-light);
}

.stat-label {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.about-story p {
  margin-bottom: var(--space-lg);
  font-size: var(--fs-md);
  color: var(--clr-text);
  line-height: 1.8;
}

.about-story .lead {
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--clr-primary);
}

/* Credentials */
.credentials-grid {
  display: grid;
  gap: var(--space-md);
}

.credential-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--clr-surface);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.credential-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.credential-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  border-radius: 10px;
  flex-shrink: 0;
}

.credential-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--clr-white);
}

.credential-logo {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-white);
  border-radius: 10px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.credential-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.credential-title {
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--clr-text);
  margin-bottom: 2px;
}

.credential-sub {
  font-size: var(--fs-xs);
  color: var(--clr-muted);
}

/* Philosophy */
.philosophy {
  margin-top: var(--space-3xl);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.philosophy-card {
  padding: var(--space-xl);
  background: linear-gradient(135deg, var(--clr-primary-dark), var(--clr-primary));
  border-radius: 14px;
  color: var(--clr-white);
  position: relative;
  overflow: hidden;
}

.philosophy-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 16px;
  font-size: 6rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
}

.philosophy-card p {
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ============================================================
   EXPERTISE SECTION
   ============================================================ */
.expertise {
  background: var(--clr-surface);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.expertise-card {
  background: var(--clr-white);
  border-radius: 16px;
  padding: var(--space-2xl);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.expertise-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.expertise-card:hover::before {
  transform: scaleX(1);
}

.expertise-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(14, 116, 144, 0.1), rgba(34, 211, 238, 0.1));
  border-radius: 14px;
  margin-bottom: var(--space-lg);
}

.expertise-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--clr-accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.expertise-card h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: var(--space-sm);
}

.expertise-card>p {
  font-size: var(--fs-sm);
  color: var(--clr-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.proof-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.proof-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
  color: var(--clr-text);
  line-height: 1.5;
}

.proof-item::before {
  content: '✓';
  color: var(--clr-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   INSIGHTS SECTION
   ============================================================ */
.insights {
  background: var(--clr-white);
}

.insights-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.topic-filters {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.topic-filter {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--clr-muted);
  background: var(--clr-surface);
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.topic-filter:hover,
.topic-filter.active {
  color: var(--clr-accent);
  background: rgba(14, 116, 144, 0.08);
  border-color: rgba(14, 116, 144, 0.2);
}

/* Featured Article */
.featured-article {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-2xl);
  background: linear-gradient(135deg, var(--clr-primary-dark), var(--clr-primary));
  border-radius: 20px;
  padding: var(--space-2xl);
  color: var(--clr-white);
  margin-bottom: var(--space-2xl);
  overflow: hidden;
  position: relative;
}

.featured-article::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 50%;
  height: 150%;
  background: radial-gradient(circle, rgba(14, 116, 144, 0.2) 0%, transparent 70%);
}

.featured-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(34, 211, 238, 0.15);
  color: var(--clr-accent-light);
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-bottom: var(--space-md);
  width: fit-content;
}

.featured-content h3 {
  font-size: var(--fs-2xl);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: var(--space-md);
}

.featured-content p {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-xl);
}

.featured-meta {
  display: flex;
  gap: var(--space-lg);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
}

.featured-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-visual-placeholder {
  width: 100%;
  height: 260px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-4xl);
}

/* Article Cards */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.article-card {
  background: var(--clr-surface);
  border-radius: 14px;
  padding: var(--space-xl);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.article-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(14, 116, 144, 0.08);
  color: var(--clr-accent);
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.article-card h4 {
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  line-height: 1.4;
  color: var(--clr-text);
}

.article-card p {
  font-size: var(--fs-sm);
  color: var(--clr-muted);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.article-meta {
  display: flex;
  gap: var(--space-md);
  font-size: var(--fs-xs);
  color: var(--clr-muted);
}

/* Newsletter CTA */
.newsletter-cta {
  margin-top: var(--space-3xl);
  padding: var(--space-2xl);
  background: linear-gradient(135deg, var(--clr-surface), rgba(14, 116, 144, 0.05));
  border-radius: 16px;
  border: 1px solid rgba(14, 116, 144, 0.12);
  text-align: center;
}

.newsletter-cta h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.newsletter-cta p {
  color: var(--clr-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-lg);
}

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: var(--space-sm);
}

.newsletter-form input {
  flex: 1;
  padding: 12px 18px;
  background: var(--clr-white);
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  font-size: var(--fs-sm);
}

.newsletter-form input:focus {
  border-color: var(--clr-accent);
}

.newsletter-form button {
  padding: 12px 24px;
  background: var(--clr-accent);
  color: var(--clr-white);
  border-radius: 10px;
  font-weight: 600;
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: #0c6680;
}

/* ============================================================
   SPEAKING SECTION
   ============================================================ */
.speaking {
  background: var(--clr-surface);
}

.speaking-intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
  align-items: start;
}

.speaker-bio-card {
  background: linear-gradient(135deg, var(--clr-primary-dark), var(--clr-primary));
  border-radius: 20px;
  padding: var(--space-2xl);
  color: var(--clr-white);
}

.speaker-bio-card h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.speaker-bio-card p {
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-md);
}

.bio-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--clr-accent-light);
  font-size: var(--fs-xs);
  font-weight: 600;
  cursor: pointer;
  margin-top: var(--space-md);
  transition: background 0.3s;
}

.bio-copy-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Topic Cards */
.topics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.topic-card {
  padding: var(--space-xl);
  background: var(--clr-white);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.topic-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.topic-number {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--clr-accent);
  margin-bottom: var(--space-sm);
}

.topic-card h4 {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.topic-card p {
  font-size: var(--fs-xs);
  color: var(--clr-muted);
  line-height: 1.6;
}

/* Speaking Booking Form */
.speaking-booking {
  margin-top: var(--space-3xl);
  padding: var(--space-2xl);
  background: var(--clr-white);
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.speaking-booking h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--space-xl);
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--clr-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  background: var(--clr-surface);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  font-size: var(--fs-sm);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-accent);
}

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

.booking-form .btn {
  margin-top: var(--space-md);
}

/* ============================================================
   WORK / CASE STUDIES SECTION
   ============================================================ */
.work {
  background: var(--clr-dark);
  color: var(--clr-white);
}

.work .section-subtitle {
  color: rgba(255, 255, 255, 0.5);
}

.cases-grid {
  display: grid;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.case-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.case-card:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 116, 144, 0.4);
}

.case-brand {
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.case-brand h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

.case-brand .case-company {
  font-size: var(--fs-xs);
  color: var(--clr-accent-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.case-details {
  padding: var(--space-2xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.case-phase {
  display: flex;
  flex-direction: column;
}

.case-phase-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--clr-accent-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.case-phase-label::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--clr-accent);
}

.case-phase p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.case-metric {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 14px;
  background: rgba(14, 116, 144, 0.15);
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--clr-accent-light);
  margin-top: var(--space-sm);
  width: fit-content;
}

/* ============================================================
   CONNECT SECTION
   ============================================================ */
.connect {
  background: var(--clr-white);
}

.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  margin-top: var(--space-2xl);
}

.connect-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.connect-card {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--clr-surface);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  cursor: pointer;
}

.connect-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.connect-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  border-radius: 12px;
  flex-shrink: 0;
}

.connect-card-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--clr-white);
}

.connect-card h4 {
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: 2px;
}

.connect-card p {
  font-size: var(--fs-xs);
  color: var(--clr-muted);
}

/* Connect Form */
.connect-form-wrapper {
  background: var(--clr-surface);
  border-radius: 20px;
  padding: var(--space-2xl);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.connect-form-wrapper h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--space-xl);
}

.connect-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

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

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--clr-dark);
  color: var(--clr-white);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand .footer-logo {
  font-size: var(--fs-xl);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.footer-brand .footer-logo span {
  color: var(--clr-accent-light);
}

.footer-brand .footer-tagline {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.social-icons {
  display: flex;
  gap: var(--space-md);
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: background 0.3s, transform 0.3s;
}

.social-icon:hover {
  background: var(--clr-accent);
  transform: translateY(-2px);
}

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

.footer-col h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
  color: rgba(255, 255, 255, 0.5);
}

.footer-col a {
  display: block;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-sm);
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--clr-accent-light);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: var(--clr-accent-light);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
}

.cta-banner h2 {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-banner p {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-xl);
  position: relative;
}

.cta-banner .btn {
  position: relative;
  background: var(--clr-white);
  color: var(--clr-primary);
}

.cta-banner .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* Tablet */
@media (max-width: 1279px) {
  :root {
    --fs-hero: 3rem;
    --fs-3xl: 2rem;
    --fs-4xl: 2.5rem;
  }

  .hero .container {
    gap: var(--space-2xl);
  }

  .hero-image-frame {
    width: 300px;
    height: 380px;
  }

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

  .about-grid {
    gap: var(--space-2xl);
  }

  .speaking-intro {
    grid-template-columns: 1fr;
  }

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

  .case-card {
    grid-template-columns: 1fr;
  }

  .case-details {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --fs-hero: 2.2rem;
    --fs-3xl: 1.75rem;
    --fs-4xl: 2rem;
    --fs-2xl: 1.5rem;
    --space-5xl: 5rem;
    --space-4xl: 3.5rem;
  }

  .container {
    padding: 0 var(--space-md);
  }

  /* Mobile Nav */
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--clr-dark);
    flex-direction: column;
    padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl);
    gap: var(--space-md);
    align-items: flex-start;
    transition: right 0.4s var(--ease-out);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: var(--fs-md);
    padding: var(--space-sm) 0;
  }

  .nav-cta {
    margin-top: var(--space-md);
    width: 100%;
    justify-content: center;
    text-align: center;
    display: flex;
  }

  /* Mobile overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .nav-overlay.active {
    display: block;
  }

  /* Hero */
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-image-wrapper {
    order: 0;
    margin-top: var(--space-xl);
  }

  .hero-image-frame {
    width: 220px;
    height: 280px;
  }

  .hero-float-card {
    display: none;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .stat-value {
    font-size: var(--fs-2xl);
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
  }

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

  /* Expertise */
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  /* Insights */
  .featured-article {
    grid-template-columns: 1fr;
  }

  .featured-visual {
    display: none;
  }

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

  .newsletter-form {
    flex-direction: column;
  }

  /* Speaking */
  .topics-grid {
    grid-template-columns: 1fr;
  }

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

  /* Connect */
  .connect-grid {
    grid-template-columns: 1fr;
  }

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

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

/* ---------- Scrollbar (Webkit) ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--clr-surface);
}

::-webkit-scrollbar-thumb {
  background: var(--clr-muted);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--clr-primary);
}