/* ============================================
   3 Degrees North — Redesigned Stylesheet
   Editorial Warmth: bright, airy, professional
   Primary: #EE542F with warm grays & teal accent
   ============================================ */

/* ---- Design Tokens ---- */

:root {
  /* Primary palette derived from #EE542F */
  --primary: #EE542F;
  --primary-dark: #D4441F;
  --primary-darker: #B83518;
  --primary-light: #FFF0EC;
  --primary-glow: rgba(238, 84, 47, 0.12);

  /* Complementary accent */
  --accent: #0EA5A0;
  --accent-light: #E8FAF9;

  /* Neutrals — warm gray spectrum */
  --charcoal: #1E1E20;
  --gray-900: #2D2D30;
  --gray-700: #4A4A50;
  --gray-600: #6B6B73;
  --gray-500: #8E8E96;
  --gray-400: #ABABAF;
  --gray-300: #D1D1D4;
  --gray-200: #E8E8EA;
  --gray-100: #F3F3F4;
  --gray-50: #F9F9FA;
  --white: #FFFFFF;
  --cream: #FDFCFB;

  /* Semantic */
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-muted: var(--gray-500);
  --text-inverse: var(--white);

  --bg-body: var(--cream);
  --bg-card: var(--white);
  --bg-subtle: var(--gray-50);
  --bg-tinted: var(--primary-light);

  --border-light: var(--gray-200);
  --border-subtle: var(--gray-100);

  /* Shadows — warm-tinted */
  --shadow-xs: 0 1px 2px rgba(30, 30, 32, 0.04);
  --shadow-sm: 0 1px 3px rgba(30, 30, 32, 0.06), 0 1px 2px rgba(30, 30, 32, 0.04);
  --shadow-md: 0 4px 12px rgba(30, 30, 32, 0.08), 0 2px 4px rgba(30, 30, 32, 0.04);
  --shadow-lg: 0 12px 32px rgba(30, 30, 32, 0.10), 0 4px 8px rgba(30, 30, 32, 0.04);
  --shadow-xl: 0 24px 48px rgba(30, 30, 32, 0.12), 0 8px 16px rgba(30, 30, 32, 0.06);
  --shadow-primary: 0 8px 24px rgba(238, 84, 47, 0.2);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 960px;
  --header-height: 72px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;

  /* Spacing scale (4px base) */
  --spacing-1: 0.25rem;   /* 4px */
  --spacing-2: 0.5rem;    /* 8px */
  --spacing-3: 0.75rem;   /* 12px */
  --spacing-4: 1rem;      /* 16px */
  --spacing-5: 1.25rem;   /* 20px */
  --spacing-6: 1.5rem;    /* 24px */
  --spacing-8: 2rem;      /* 32px */
  --spacing-10: 2.5rem;   /* 40px */
  --spacing-12: 3rem;     /* 48px */
  --spacing-16: 4rem;     /* 64px */

  /* Typography scale */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
}

/* ---- Reset & Base ---- */

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

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-body);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

#content {
  flex: 1;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

a:hover {
  color: var(--primary-dark);
}

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

h1, h2, h3, h4, h5 {
  font-family: 'DM Sans', 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.625rem; }
h3 { font-size: 1.125rem; }

::selection {
  background: var(--primary-glow);
  color: var(--primary-darker);
}

/* ---- Animations ---- */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(238, 84, 47, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(238, 84, 47, 0); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Entry animation classes (applied via JS) */
.animate-in {
  animation: fadeInUp 0.6s var(--ease-out) forwards;
  opacity: 0;
}

.animate-in-delay-1 { animation-delay: 0.1s; }
.animate-in-delay-2 { animation-delay: 0.2s; }
.animate-in-delay-3 { animation-delay: 0.3s; }
.animate-in-delay-4 { animation-delay: 0.4s; }

/* ---- Header ---- */

.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--duration-normal) ease,
              background var(--duration-normal) ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  position: relative;
  transition: opacity var(--duration-fast) ease;
}

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

.logo {
  height: 32px;
  width: auto;
  /* The logo is white on transparent — we need to make it visible on white background */
  filter: brightness(0) saturate(100%);
  transition: filter var(--duration-fast) ease;
}

/* Primary-colored logo on hover */
.logo-link:hover .logo {
  filter: brightness(0) saturate(100%) invert(33%) sepia(85%) saturate(3000%) hue-rotate(5deg) brightness(98%) contrast(92%);
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav .nav-list {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.main-nav a {
  color: var(--gray-600);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast) ease,
              background var(--duration-fast) ease;
  position: relative;
}

.main-nav a:hover {
  color: var(--charcoal);
  background: var(--gray-50);
}

.main-nav a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

/* Contact CTA in nav */
.nav-cta a {
  background: var(--primary);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.8125rem;
  transition: background var(--duration-fast) ease,
              transform var(--duration-fast) var(--ease-spring),
              box-shadow var(--duration-fast) ease;
}

.nav-cta a:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary);
}

.nav-cta a.active {
  background: var(--primary);
}

.nav-cta a.active::after {
  display: none;
}

.external-icon {
  font-size: 0.7em;
  margin-left: 2px;
  opacity: 0.5;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: background var(--duration-fast) ease;
}

.nav-toggle:hover {
  background: var(--gray-50);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 1px;
  transition: transform 0.3s var(--ease-out),
              opacity 0.3s var(--ease-out);
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* Hamburger → X animation */
.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---- Footer ---- */

.site-footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative gradient line at top of footer */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% 100%;
  animation: gradientShift 6s ease infinite;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.footer-logo {
  height: 28px;
  width: auto;
  opacity: 0.9;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--gray-400);
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.875rem;
  font-weight: 400;
  transition: color var(--duration-fast) ease;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width var(--duration-normal) var(--ease-out);
}

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

.footer-links a:hover::after {
  width: 100%;
}

.footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 2rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* ---- Container ---- */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- Page Hero ---- */

.page-hero {
  background: var(--white);
  padding: 3.5rem 0 3rem;
  margin-bottom: 0;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.5s var(--ease-out) forwards;
}

/* Accent underline on hero heading */
.page-hero h1::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: 0.75rem;
}

.page-hero p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 520px;
  animation: fadeInUp 0.5s var(--ease-out) 0.1s forwards;
  opacity: 0;
}

/* ---- Video Grid ---- */

.video-grid-section {
  padding: 2.5rem 0 3rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.video-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: border-color var(--duration-normal) ease,
              box-shadow var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
}

.video-card:hover {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.video-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.video-card-thumb {
  aspect-ratio: 16 / 9;
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}

.video-card-thumb img,
.video-card-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
  pointer-events: none;
}

.video-card:hover .video-card-thumb img,
.video-card:hover .video-card-thumb video {
  transform: scale(1.04);
}

/* Play overlay */
.video-card-thumb .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 30, 32, 0.15);
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
}

.video-card:hover .play-overlay {
  opacity: 1;
}

.play-icon {
  width: 52px;
  height: 52px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(238, 84, 47, 0.35);
  transition: transform var(--duration-normal) var(--ease-spring),
              box-shadow var(--duration-normal) ease;
}

.video-card:hover .play-icon {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(238, 84, 47, 0.4);
}

.play-icon::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 16px;
  border-color: transparent transparent transparent white;
  margin-left: 3px;
}

/* Duration badge on thumbnail */
.video-card-duration {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.75);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.1875rem 0.5rem;
  border-radius: var(--radius-xs);
  letter-spacing: 0.02em;
  line-height: 1.3;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Card body */
.video-card-body {
  padding: 1.25rem 1.5rem;
}

.video-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  color: var(--charcoal);
  transition: color var(--duration-fast) ease;
}

.video-card:hover .video-card-body h3 {
  color: var(--primary);
}

/* Presenter + date row */
.video-card-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8125rem;
  margin-bottom: 0.625rem;
}

.video-card-presenter {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.video-card-presenter svg {
  color: var(--gray-400);
  flex-shrink: 0;
}

.video-card-date {
  color: var(--text-muted);
  font-size: 0.75rem;
  white-space: nowrap;
}

/* Tags row */
.video-card-tags {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.video-card-tags .tag {
  background: var(--bg-tinted);
  color: var(--primary);
  padding: 0.1875rem 0.625rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* No-thumbnail placeholder */
.video-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-thumb-placeholder .play-icon {
  opacity: 0.6;
}

/* ---- Single Video Page — Cinematic Redesign ---- */

/* Hero zone — light warm backdrop */
.vs-hero {
  background: var(--gray-50);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0 2.5rem;
}

/* Subtle texture — barely visible */
.vs-hero-grain {
  display: none;
}

.vs-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Back nav */
.vs-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.75rem 0.4rem 0.5rem;
  border-radius: var(--radius-full);
  transition: color var(--duration-fast) ease,
              background var(--duration-fast) ease;
}

.vs-back:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.vs-back svg {
  transition: transform var(--duration-normal) var(--ease-out);
}

.vs-back:hover svg {
  transform: translateX(-2px);
}

/* Player frame */
.vs-player {
  position: relative;
  width: 100%;
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl);
  animation: scaleIn 0.5s var(--ease-out) forwards;
}

.vs-player-frame {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
}

.vs-player-frame video,
.vs-player-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Vertical (9:16) video */
.vs-player--vertical {
  max-width: 400px;
}

.vs-player--vertical .vs-player-frame {
  padding-top: 177.78%;
}

/* Unmute prompt */
.btn-unmute {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  background: rgba(0, 0, 0, 0.8);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeInUp 0.4s var(--ease-out) forwards;
  z-index: 10;
  transition: background var(--duration-fast) ease;
}

.btn-unmute:hover {
  background: var(--primary);
}

/* ---- Content zone below hero ---- */

.vs-content {
  background: var(--bg-body);
  position: relative;
  padding: 3rem 0 4rem;
}

/* Removed — no longer needed with light hero */

.vs-content-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- Header cluster ---- */

.vs-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

.vs-category {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  padding: 0.25rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}

.vs-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  max-width: 720px;
}

.vs-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.vs-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-muted);
}

.vs-meta-item svg {
  color: var(--gray-400);
  flex-shrink: 0;
}

.vs-meta-presenter {
  font-weight: 600;
  color: var(--primary);
}

.vs-meta-presenter svg {
  color: var(--primary);
  opacity: 0.6;
}

/* Separator dots */
.vs-meta-item + .vs-meta-item::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gray-300);
  margin-right: 0.5rem;
}

/* ---- Two-column body ---- */

.vs-body {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 3rem;
  align-items: start;
}

.vs-main {
  min-width: 0;
}

/* ---- Description ---- */

.vs-description {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.vs-description p {
  margin-bottom: 1rem;
}

.vs-description p:last-child {
  margin-bottom: 0;
}

/* ---- Transcript Panel ---- */

.vs-transcript {
  margin-top: 2.5rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.vs-transcript-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--gray-50);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: background var(--duration-fast) ease,
              color var(--duration-fast) ease;
}

.vs-transcript-toggle:hover {
  background: var(--gray-100);
  color: var(--primary);
}

.vs-transcript-toggle-left {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.vs-transcript-chevron {
  transition: transform 0.3s var(--ease-out);
  color: var(--gray-400);
}

.vs-transcript-toggle[aria-expanded="true"] .vs-transcript-chevron {
  transform: rotate(180deg);
}

/* Smooth expand/collapse via max-height */
.vs-transcript-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.vs-transcript--open .vs-transcript-body {
  overflow-y: auto;
  border-top: 1px solid var(--border-subtle);
}

.vs-transcript-body p {
  padding: 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 0.625rem;
}

.vs-transcript-body p:first-child {
  padding-top: 1.5rem;
}

.vs-transcript-body p:last-child {
  padding-bottom: 1.5rem;
  margin-bottom: 0;
}

/* Scrollbar for long transcripts */
.vs-transcript--open .vs-transcript-body {
  max-height: 420px;
}

.vs-transcript-body::-webkit-scrollbar {
  width: 5px;
}

.vs-transcript-body::-webkit-scrollbar-track {
  background: transparent;
}

.vs-transcript-body::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 3px;
}

.vs-transcript-body::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* ---- Sidebar ---- */

.vs-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.vs-sidebar-section {
  margin-bottom: 2rem;
}

.vs-sidebar-section:last-child {
  margin-bottom: 0;
}

.vs-sidebar-heading {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

/* Share action buttons */
.vs-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vs-action-btn {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: inherit;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color var(--duration-fast) ease,
              color var(--duration-fast) ease,
              background var(--duration-fast) ease,
              transform var(--duration-fast) var(--ease-spring),
              box-shadow var(--duration-fast) ease;
}

.vs-action-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.vs-action-btn--success {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  background: var(--accent-light) !important;
}

.vs-action-btn svg {
  flex-shrink: 0;
}

/* Tags */
.vs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.vs-tag {
  display: inline-block;
  background: var(--gray-50);
  color: var(--text-secondary);
  padding: 0.3125rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--border-light);
  transition: background var(--duration-fast) ease,
              color var(--duration-fast) ease,
              border-color var(--duration-fast) ease,
              transform var(--duration-fast) var(--ease-spring);
}

.vs-tag:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* ---- Related Videos ---- */

.vs-related {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding: 3rem 0 3.5rem;
}

.vs-related-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.vs-related-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.vs-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* ---- Taxonomy / Category Filter ---- */

.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0;
  padding: 1.5rem 0;
}

.filter-bar a {
  display: inline-block;
  padding: 0.4375rem 1.125rem;
  background: var(--white);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--border-light);
  transition: background var(--duration-fast) ease,
              color var(--duration-fast) ease,
              border-color var(--duration-fast) ease,
              transform var(--duration-fast) var(--ease-spring);
}

.filter-bar a:hover {
  background: var(--gray-50);
  color: var(--charcoal);
  border-color: var(--gray-300);
  transform: translateY(-1px);
}

.filter-bar a.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ---- Home Page / Hero ---- */

.home-hero {
  background: var(--white);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

/* Decorative background pattern */
.home-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}

.home-hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 160, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.home-hero .container {
  position: relative;
  z-index: 1;
}

.home-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.6s var(--ease-out) forwards;
}

.home-hero p {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 0.6s var(--ease-out) 0.1s forwards;
  opacity: 0;
}

/* Section heading on homepage */
.section-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.section-heading h2 {
  font-size: 1.375rem;
}

.section-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background var(--duration-fast) ease,
              color var(--duration-fast) ease,
              transform var(--duration-fast) var(--ease-spring),
              box-shadow var(--duration-fast) ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(238, 84, 47, 0.2);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 2px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
  transform: translateY(-1px);
}

/* ---- Back Link ---- */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  padding: 0.375rem 0;
  transition: color var(--duration-fast) ease,
              gap var(--duration-normal) var(--ease-out);
}

.back-link:hover {
  color: var(--primary);
  gap: 0.75rem;
}

/* ---- Empty State ---- */

.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--text-muted);
}

.empty-state h2 {
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* ---- View All link ---- */

.view-all-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

/* ---- Latest Videos Section ---- */

.latest-videos-section {
  padding: 3.5rem 0 2rem;
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav .nav-list {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 0.75rem 1rem 1.25rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border-light);
    animation: fadeIn 0.2s ease;
  }

  .main-nav .nav-list.open {
    display: flex;
  }

  .main-nav .nav-list li {
    width: 100%;
  }

  .main-nav .nav-list a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
  }

  .main-nav a.active::after {
    display: none;
  }

  .nav-cta {
    margin-top: 0.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-subtle);
  }

  .nav-cta a {
    display: block;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
  }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.375rem; }

  .home-hero {
    padding: 3.5rem 0 3rem;
  }

  .home-hero h1 {
    font-size: 2.25rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  .container {
    padding: 0 1.25rem;
  }

  .header-inner {
    padding: 0 1.25rem;
  }

  /* Related videos — 2 columns on tablet */
  .vs-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vs-related-inner {
    padding: 0 1.25rem;
  }

  /* Video single — stack to single column */
  .vs-hero-inner {
    padding: 0 1.25rem;
  }

  .vs-hero {
    padding: 1rem 0 2rem;
  }

  .vs-back {
    margin-bottom: 1rem;
  }

  .vs-content {
    padding: 2rem 0 3rem;
  }

  .vs-content-inner {
    padding: 0 1.25rem;
  }

  .vs-title {
    font-size: 1.625rem;
  }

  .vs-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .vs-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .vs-sidebar-section {
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .home-hero {
    padding: 3rem 0 2.5rem;
  }

  .home-hero h1 {
    font-size: 1.875rem;
  }

  .video-card-body {
    padding: 1rem 1.25rem;
  }

  .vs-title {
    font-size: 1.375rem;
  }

  .vs-related-grid {
    grid-template-columns: 1fr;
  }

  .vs-sidebar {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .vs-actions {
    flex-direction: row;
  }

  .vs-action-btn {
    flex: 1;
    justify-content: center;
  }
}

/* ---- Tablet tweaks ---- */
@media (min-width: 769px) and (max-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- Large screens ---- */
@media (min-width: 1400px) {
  :root {
    --max-width: 1320px;
  }
}

/* ============================================
   Home Page — Full-Site Landing
   ============================================ */

/* ── Hero ── */

.hp-hero {
  position: relative;
  padding: 7rem 0 6rem;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
}

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

.hp-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.hp-hero-orb--primary {
  width: 500px;
  height: 500px;
  top: -10%;
  right: -5%;
  background: var(--primary);
  animation: heroFloat 12s ease-in-out infinite;
}

.hp-hero-orb--accent {
  width: 400px;
  height: 400px;
  bottom: -20%;
  left: -8%;
  background: var(--accent);
  animation: heroFloat 15s ease-in-out infinite reverse;
}

@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -15px) scale(1.05); }
  66% { transform: translate(-10px, 10px) scale(0.97); }
}

.hp-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: 48px 48px;
  mask-image: radial-gradient(ellipse at 60% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, black 20%, transparent 70%);
}

.hp-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hp-hero-content {
  max-width: 680px;
}

.hp-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.8s var(--ease-out) 0.4s forwards;
  opacity: 0;
}

.hp-hero-visual img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.hp-hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(238, 84, 47, 0.12);
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.5s var(--ease-out) forwards;
}

.hp-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s var(--ease-out) 0.1s forwards;
  opacity: 0;
}

.hp-hero-sub {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 540px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.6s var(--ease-out) 0.2s forwards;
  opacity: 0;
}

.hp-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s var(--ease-out) 0.3s forwards;
  opacity: 0;
}

.hp-hero .btn-primary {
  box-shadow: 0 4px 20px rgba(238, 84, 47, 0.35);
}

.hp-hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
}

.hp-hero .btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

/* ── Shared Section Intro ── */

.hp-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.625rem;
}

.hp-section-intro {
  margin-bottom: 3rem;
}

.hp-section-intro h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.hp-section-intro h2.no-wrap {
  white-space: nowrap;
}

.hp-section-intro p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Services Grid ── */

.hp-services {
  padding: 5rem 0;
  background: var(--bg-body);
}

.hp-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hp-service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 2rem 2.25rem;
  transition: border-color var(--duration-normal) ease,
              box-shadow var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
}

.hp-service-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 3px;
  border-radius: 2px;
  background: var(--svc-color, var(--primary));
}

.hp-service-card:hover {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.hp-service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: color-mix(in srgb, var(--svc-color) 10%, transparent);
  color: var(--svc-color);
}

.hp-service-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  color: var(--charcoal);
}

.hp-service-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.hp-service-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 0 var(--radius-lg) 0 var(--radius-lg);
  opacity: 0.15;
  transition: opacity var(--duration-normal) ease;
}

.hp-service-card:hover .hp-service-img {
  opacity: 0.25;
}

.hp-service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Philosophy Section ── */

.hp-philosophy {
  padding: 5rem 0;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.hp-philosophy-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}

.hp-philosophy-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hp-philosophy-text p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.hp-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.5rem;
  transition: gap var(--duration-normal) var(--ease-out);
}

.hp-inline-link:hover {
  gap: 0.75rem;
  color: var(--primary-dark);
}

.hp-philosophy-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hp-stat-card {
  position: relative;
  background: var(--gray-50);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  text-align: left;
}

.hp-stat-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  bottom: 1rem;
  width: 3px;
  border-radius: 2px;
  background: var(--primary);
}

.hp-stat-number {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.375rem;
}

.hp-stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Capabilities ── */

.hp-capabilities {
  padding: 5rem 0;
  background: var(--bg-body);
}

.hp-cap-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 3rem;
  align-items: start;
  padding: 2.5rem 0 2.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
}

.hp-cap-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 3px;
  border-radius: 2px;
  background: var(--cap-color, var(--accent));
}

.hp-cap-row:first-child {
  padding-top: 0;
}

.hp-cap-row:first-child::before {
  top: 0;
}

.hp-cap-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hp-cap-row:last-child::before {
  bottom: 0;
}

.hp-cap-visual {
  order: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.25rem;
  position: relative;
}

.hp-cap-text {
  order: 1;
}

.hp-cap-badge {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--cap-color) 8%, var(--white));
  color: var(--cap-color);
  border: 1px solid color-mix(in srgb, var(--cap-color) 15%, transparent);
  position: relative;
  z-index: 2;
}

.hp-cap-img {
  width: 200px;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.hp-cap-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-cap-text h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hp-cap-lead {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.hp-cap-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Latest Videos (Home) ── */

.hp-videos {
  padding: 5rem 0;
  background: var(--white);
  border-top: 1px solid var(--border-light);
}

/* ── CTA Banner ── */

.hp-cta {
  padding: 5rem 0;
  background: var(--bg-body);
}

.hp-cta-inner {
  background: var(--charcoal);
  border-radius: var(--radius-xl);
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}

.hp-cta-inner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--primary);
  filter: blur(100px);
  opacity: 0.15;
  pointer-events: none;
}

.hp-cta-text {
  position: relative;
  z-index: 1;
}

.hp-cta-text h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.hp-cta-text p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  max-width: 480px;
}

.hp-cta .btn-primary {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(238, 84, 47, 0.35);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* ── Home Page Responsive ── */

@media (max-width: 992px) {
  .hp-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hp-hero-visual {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hp-hero {
    padding: 5rem 0 4rem;
  }

  .hp-hero-inner {
    gap: 2rem;
  }

  .hp-hero-visual {
    max-width: 300px;
  }

  .hp-hero h1 {
    font-size: 2.25rem;
  }

  .hp-hero-sub {
    font-size: 1rem;
  }

  .hp-services,
  .hp-philosophy,
  .hp-capabilities,
  .hp-videos,
  .hp-cta {
    padding: 3.5rem 0;
  }

  .hp-services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hp-philosophy-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hp-philosophy-cards {
    flex-direction: row;
    gap: 0.75rem;
  }

  .hp-stat-card {
    flex: 1;
    padding: 1.5rem 0.75rem 1.25rem;
    text-align: center;
  }

  .hp-stat-card::before {
    left: 0.75rem;
    right: 0.75rem;
    top: 0;
    bottom: auto;
    width: auto;
    height: 3px;
    border-radius: 0 0 2px 2px;
  }

  .hp-stat-number {
    font-size: 1.5rem;
  }

  .hp-stat-label {
    font-size: 0.75rem;
  }

  .hp-cap-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hp-cap-visual,
  .hp-cap-text {
    order: unset;
  }

  .hp-cap-visual {
    justify-content: flex-start;
  }

  .hp-cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 3rem 2rem;
  }

  .hp-cta-text p {
    max-width: none;
  }

  .hp-section-intro h2 {
    font-size: 1.625rem;
  }

  .hp-section-intro h2.no-wrap {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .hp-hero {
    padding: 4rem 0 3.5rem;
  }

  .hp-hero h1 {
    font-size: 1.875rem;
  }

  .hp-hero-actions {
    flex-direction: column;
  }

  .hp-hero-actions .btn {
    width: 100%;
  }

  .hp-philosophy-cards {
    flex-direction: column;
  }

  .hp-cta-inner {
    padding: 2.5rem 1.5rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hp-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-philosophy-inner {
    grid-template-columns: 1fr 260px;
    gap: 3rem;
  }
}

/* ══════════════════════════════════════
   Services Page
   ══════════════════════════════════════ */

/* ── Hero ── */

.svc-hero {
  position: relative;
  padding: 7rem 0 5rem;
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
}

.svc-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.svc-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: heroFloat 14s ease-in-out infinite alternate;
}

.svc-hero-orb--primary {
  width: 340px;
  height: 340px;
  background: var(--primary);
  top: -10%;
  right: 10%;
}

.svc-hero-orb--accent {
  width: 260px;
  height: 260px;
  background: var(--accent);
  bottom: -15%;
  left: 5%;
  animation-delay: -7s;
}

.svc-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: 48px 48px;
}

.svc-hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  animation: fadeInUp 0.6s ease both;
}

.svc-hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.svc-hero-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 580px;
}

/* ── Services Grid ── */

.svc-overview {
  padding: 5rem 0;
  background: var(--bg-body);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.svc-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem 2.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color var(--duration-normal) ease,
              box-shadow var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
}

.svc-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 3px;
  border-radius: 2px;
  background: var(--svc-color, var(--primary));
}

.svc-card:hover {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.svc-card-header {
  margin-bottom: 1rem;
}

.svc-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: color-mix(in srgb, var(--svc-color) 10%, transparent);
  color: var(--svc-color);
}

.svc-card h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.375rem;
}

.svc-card-summary {
  font-size: 0.9375rem;
  font-weight: 600;
  font-style: italic;
  color: var(--text-secondary);
}

.svc-card-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.svc-card-features {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.svc-card-features li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.svc-card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--svc-color, var(--primary));
  opacity: 0.6;
}

/* ── 3dn.Respond — Benefits ── */

.svc-respond {
  padding: 5rem 0;
  background: var(--white);
  border-top: 1px solid var(--border-light);
}

.svc-respond-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.svc-respond-intro .hp-section-intro {
  text-align: left;
}

.svc-respond-visual {
  width: 280px;
  flex-shrink: 0;
}

.svc-respond-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.15));
}

.svc-respond-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.svc-respond-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg, 16px);
  padding: 2rem;
  position: relative;
  padding-left: 2.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.svc-respond-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md, 0 4px 12px rgba(0,0,0,0.08));
}

.svc-respond-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 3px;
  border-radius: 2px;
  background: var(--svc-color, var(--primary));
}

.svc-respond-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--svc-color) 10%, transparent);
  color: var(--svc-color);
  margin-bottom: 1rem;
}

.svc-respond-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.svc-respond-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.svc-respond-card li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.svc-respond-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--svc-color, var(--primary));
  opacity: 0.6;
}

/* ── 3dn.Respond — Features ── */

.svc-respond-features {
  padding: 5rem 0;
  background: var(--bg-body);
  border-top: 1px solid var(--border-light);
}

.svc-respond-feature {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem 0 2.5rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.svc-respond-feature::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 3px;
  border-radius: 2px;
  background: var(--svc-color, var(--primary));
}

.svc-respond-feature:first-of-type {
  padding-top: 0;
}

.svc-respond-feature:first-of-type::before {
  top: 0;
}

.svc-respond-feature:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.svc-respond-feature:last-of-type::before {
  bottom: 0;
}

.svc-respond-feature-badge {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-xl, 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--svc-color) 8%, var(--white));
  color: var(--svc-color);
  border: 1px solid color-mix(in srgb, var(--svc-color) 15%, transparent);
  justify-self: center;
}

.svc-respond-feature-text h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.svc-respond-feature-text > p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.svc-respond-highlights {
  list-style: none;
  padding: 1rem 0 0;
  margin: 0;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.svc-respond-highlights li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.svc-respond-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--svc-color, var(--primary));
  opacity: 0.6;
}

.svc-respond-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ── Pillars ── */

.svc-pillars {
  padding: 5rem 0;
  background: var(--white);
  border-top: 1px solid var(--border-light);
}

.svc-pillar {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 3rem;
  align-items: start;
  padding: 3rem 0 3rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.svc-pillar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 3px;
  border-radius: 2px;
  background: var(--pillar-color, var(--primary));
}

.svc-pillar:first-of-type {
  padding-top: 0;
}

.svc-pillar:first-of-type::before {
  top: 0;
}

.svc-pillar:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.svc-pillar:last-of-type::before {
  bottom: 0;
}

.svc-pillar-badge {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--pillar-color) 8%, var(--white));
  color: var(--pillar-color);
  border: 1px solid color-mix(in srgb, var(--pillar-color) 15%, transparent);
  justify-self: center;
}

.svc-pillar-lead {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pillar-color, var(--primary));
  margin-bottom: 0.25rem;
}

.svc-pillar-text h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.625rem;
}

.svc-pillar-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.svc-pillar-text p + p {
  margin-top: 0.75rem;
}

.svc-pillar-body {
  color: var(--text-muted);
}

/* ── Services Responsive ── */

@media (max-width: 768px) {
  .svc-hero {
    padding: 5.5rem 0 3.5rem;
  }

  .svc-hero h1 {
    font-size: 2.25rem;
  }

  .svc-hero-orb--primary {
    width: 240px;
    height: 240px;
  }

  .svc-hero-orb--accent {
    width: 180px;
    height: 180px;
  }

  .svc-overview,
  .svc-pillars,
  .svc-respond,
  .svc-respond-features {
    padding: 3.5rem 0;
  }

  .svc-respond-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .svc-respond-intro .hp-section-intro {
    text-align: center;
  }

  .svc-respond-visual {
    max-width: 200px;
    margin: 0 auto;
    order: -1;
  }

  .svc-respond-benefits {
    grid-template-columns: 1fr;
  }

  .svc-respond-feature {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-left: 1.5rem;
  }

  .svc-respond-feature-badge {
    width: 64px;
    height: 64px;
    justify-self: start;
  }

  .svc-respond-feature-badge svg {
    width: 24px;
    height: 24px;
  }

  .svc-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .svc-pillar {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-left: 1.5rem;
  }

  .svc-pillar-badge {
    width: 72px;
    height: 72px;
    justify-self: start;
  }

  .svc-pillar-badge svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .svc-hero h1 {
    font-size: 1.875rem;
  }

  .svc-hero h1 br {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .svc-respond-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-respond-feature {
    grid-template-columns: 100px 1fr;
  }

  .svc-respond-feature-badge {
    width: 80px;
    height: 80px;
  }
}

/* ══════════════════════════════════════
   About Page
   ══════════════════════════════════════ */

/* ── Hero ── */

.about-hero {
  position: relative;
  padding: 8rem 0 5rem;
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.about-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: heroFloat 18s ease-in-out infinite;
}

.about-hero-orb--primary {
  width: 420px;
  height: 420px;
  background: var(--primary);
  top: -120px;
  right: -80px;
  opacity: 0.18;
}

.about-hero-orb--accent {
  width: 320px;
  height: 320px;
  background: var(--accent);
  bottom: -100px;
  left: 10%;
  opacity: 0.12;
  animation-delay: -8s;
}

.about-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: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 10%, transparent 70%);
}

.about-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ── Slot Machine ── */
.slot-cabinet {
  --cab-w: min(90vw, 660px);
  --reel-size: calc(var(--cab-w) * 0.28);
  --reel-gap: calc(var(--cab-w) * 0.03);
  --border-r: 16px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: var(--cab-w);
  padding: 2.5rem 2rem 2rem;
  background: rgba(30, 30, 32, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-r);
  box-shadow:
    0 0 60px rgba(238, 84, 47, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  user-select: none;
  -webkit-user-select: none;
  animation: fadeInUp 0.6s var(--ease-out) 0.15s forwards;
  opacity: 0;
}

.slot-reels {
  display: flex;
  gap: var(--reel-gap);
  position: relative;
}

.slot-viewport {
  width: var(--reel-size);
  height: var(--reel-size);
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  background: #0f0f23;
  box-shadow:
    inset 0 0 20px rgba(0, 0, 0, 0.6),
    0 0 0 2px rgba(238, 84, 47, 0.25);
}

.slot-viewport::before,
.slot-viewport::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 30%;
  z-index: 2;
  pointer-events: none;
}

.slot-viewport::before {
  top: 0;
  background: linear-gradient(to bottom, #0f0f23 0%, transparent 100%);
}

.slot-viewport::after {
  bottom: 0;
  background: linear-gradient(to top, #0f0f23 0%, transparent 100%);
}

.slot-strip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  will-change: transform;
}

.slot-strip img {
  display: block;
  width: 100%;
  height: var(--reel-size);
  object-fit: cover;
  -webkit-user-drag: none;
}

.slot-payline {
  position: absolute;
  top: 50%;
  left: -6px;
  right: -6px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary) 8%, var(--primary) 92%, transparent);
  transform: translateY(-50%);
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(238, 84, 47, 0.5);
}

.slot-spin-btn {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  padding: 0.6rem 2.2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 18px rgba(238, 84, 47, 0.3);
}

.slot-spin-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(238, 84, 47, 0.4);
}

.slot-spin-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.slot-spin-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

/* ── Vision & Values ── */

.about-vision {
  padding: 5rem 0;
  background: var(--bg-body);
}

.about-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-vision-card {
  position: relative;
  padding: 2.5rem;
  padding-left: 2.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--duration-normal) ease, transform var(--duration-normal) ease;
}

.about-vision-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 3px;
  border-radius: 2px;
  background: var(--card-accent, var(--primary));
}

.about-vision-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.about-vision-card h2 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--charcoal);
}

.about-vision-card p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.about-vision-img {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0.1;
  transition: opacity var(--duration-normal) ease, transform var(--duration-normal) ease;
}

.about-vision-card:hover .about-vision-img {
  opacity: 0.18;
  transform: scale(1.05);
}

.about-vision-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Origin Story ── */

.about-origin {
  padding: 5rem 0;
  background: var(--white);
}

.about-origin-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}

.about-origin-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-origin-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-origin-img img {
  width: 100%;
  height: auto;
  display: block;
}

.about-origin-text .hp-label {
  color: var(--accent);
}

.about-origin-text h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0.75rem 0 1.5rem;
  color: var(--charcoal);
}

.about-origin-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.about-origin-text p:last-child {
  margin-bottom: 0;
}

.about-origin-stats {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 0.5rem;
}

.about-stat {
  position: relative;
  padding: 1.25rem 1.5rem;
  padding-left: 1.75rem;
  background: var(--bg-body);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  text-align: left;
}

.about-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 3px;
  border-radius: 2px;
  background: var(--primary);
}

.about-stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.2;
}

.about-stat-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 0.125rem;
}

/* ── Team ── */

.about-team {
  padding: 5rem 0;
  background: var(--bg-body);
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.about-team-card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: box-shadow var(--duration-normal) ease, transform var(--duration-normal) ease;
}

.about-team-card:hover {
  z-index: 2;
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.about-team-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--charcoal);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Gradient overlay at bottom of photo for icon readability */
.about-team-photo:not(.about-team-placeholder)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.about-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s var(--ease-out);
}

.about-team-card:hover .about-team-photo img {
  transform: scale(1.04);
}

.about-team-info {
  padding: 1.5rem 1.75rem 1.75rem;
}

.about-team-info h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.125rem;
}

.about-team-role {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.875rem;
}

.about-team-info p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Placeholder photo */

.about-team-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(circle at 30% 40%, rgba(238, 84, 47, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(14, 165, 160, 0.05) 0%, transparent 50%),
    linear-gradient(145deg, #1e1e20 0%, #2a2a2e 50%, #1e1e20 100%);
}

.about-team-initials {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: 0.08em;
  user-select: none;
}

/* Preference icon strip — overlaps bottom of photo */

.about-pref-icons {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  margin-top: -1.125rem;
  padding: 0 0.75rem 0.375rem;
}

.about-pref-btn {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: rgba(30, 30, 32, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.2s ease,
              border-color 0.2s ease,
              color 0.2s ease;
}

.about-pref-btn:hover {
  transform: scale(1.3);
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.about-pref-btn:focus {
  outline: none;
}

.about-pref-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Tooltip */

.about-pref-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  translate: -50% 6px;
  background: var(--charcoal);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  white-space: normal;
  max-width: 280px;
  width: max-content;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease,
              translate 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  z-index: 10;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.about-pref-tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--charcoal);
}

.about-pref-btn:hover .about-pref-tip,
.about-pref-btn:focus .about-pref-tip {
  opacity: 1;
  translate: -50% 0;
}

.about-pref-tip-q {
  font-size: 0.625rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.about-pref-tip-a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
}

/* ── About Responsive ── */

@media (max-width: 768px) {
  .about-hero {
    padding: 5.5rem 0 3.5rem;
  }

  .slot-cabinet {
    --cab-w: min(90vw, 400px);
    padding: 1.5rem 1rem 1.4rem;
    gap: 1rem;
  }

  .about-hero-orb--primary {
    width: 280px;
    height: 280px;
  }

  .about-hero-orb--accent {
    width: 200px;
    height: 200px;
  }

  .about-vision,
  .about-origin,
  .about-team {
    padding: 3.5rem 0;
  }

  .about-vision-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-vision-card {
    padding: 2rem;
    padding-left: 2.25rem;
  }

  .about-origin-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-origin-img {
    max-width: 300px;
    margin: 0 auto;
  }

  .about-origin-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .about-stat {
    flex: 1 1 140px;
    text-align: center;
    padding-left: 1.5rem;
  }

  .about-stat::before {
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    width: auto;
    height: 3px;
    border-radius: 0 0 2px 2px;
  }

  .about-team-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .about-pref-btn {
    width: 26px;
    height: 26px;
  }

  .about-pref-btn svg {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .slot-cabinet {
    --cab-w: min(92vw, 340px);
  }

  .about-origin-stats {
    flex-direction: column;
  }

  .about-stat {
    flex: none;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .about-origin-inner {
    grid-template-columns: 1fr 240px;
    gap: 3rem;
  }

  .about-team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .about-team-info {
    padding: 1.25rem 1.5rem 1.5rem;
  }
}

/* ==========================
   Contact Page
   ========================== */

/* ── Hero ── */
.ct-hero {
  position: relative;
  background: var(--charcoal);
  padding: 10rem 0 5rem;
  overflow: hidden;
}

.ct-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ct-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: heroFloat 18s ease-in-out infinite;
}

.ct-hero-orb--primary {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -120px;
  right: -80px;
  animation-delay: -4s;
}

.ct-hero-orb--accent {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -100px;
  left: -60px;
  animation-direction: reverse;
}

.ct-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;
}

.ct-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ct-hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  color: var(--white);
  line-height: 1.1;
  margin: 0.75rem 0 1.25rem;
  animation: fadeInUp 0.7s var(--ease-out) both;
}

.ct-hero-sub {
  color: var(--gray-400);
  font-size: 1.125rem;
  max-width: 640px;
  margin: 0 auto;
  animation: fadeInUp 0.7s var(--ease-out) 0.15s both;
}

/* ── Contact Detail Cards ── */
.ct-details {
  padding: 5rem 0 2rem;
}

.ct-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.ct-detail-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 2rem 2.5rem;
  transition: box-shadow var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
}

.ct-detail-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 3px;
  border-radius: 2px;
  background: var(--ct-color, var(--primary));
}

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

.ct-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--ct-color, var(--primary)) 10%, transparent);
  color: var(--ct-color, var(--primary));
  margin-bottom: 1rem;
}

.ct-detail-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.ct-detail-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

.ct-detail-card a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.ct-detail-card a:hover {
  color: var(--ct-color, var(--primary));
}

.ct-location-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 1.5rem;
  text-align: center;
  justify-content: center;
}

.ct-location-note svg {
  flex-shrink: 0;
  color: var(--accent);
}

/* ── Form Section ── */
.ct-form-section {
  padding: 2rem 0 5rem;
}

.ct-form-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
  align-items: start;
}

.ct-form-intro .hp-label {
  margin-bottom: 0.75rem;
}

.ct-form-intro h2 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.ct-form-intro > p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.ct-form-assurance {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ct-assurance-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.ct-assurance-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ── Form ── */
.ct-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.ct-field {
  display: flex;
  flex-direction: column;
}

.ct-field--full {
  margin-bottom: 1.5rem;
}

.ct-field label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
  letter-spacing: 0.01em;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--gray-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.875rem;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  width: 100%;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
  color: var(--gray-400);
}

.ct-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6B73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.ct-field textarea {
  resize: vertical;
  min-height: 120px;
}

.ct-submit {
  width: 100%;
  justify-content: center;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .ct-form-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .ct-hero {
    padding: 8rem 0 3.5rem;
  }

  .ct-hero h1 {
    font-size: 2rem;
  }

  .ct-hero h1 br {
    display: none;
  }

  .ct-hero-orb--primary {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -60px;
  }

  .ct-hero-orb--accent {
    width: 250px;
    height: 250px;
    bottom: -80px;
    left: -40px;
  }

  .ct-details {
    padding: 3rem 0 1.5rem;
  }

  .ct-details-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .ct-form-section {
    padding: 1.5rem 0 3.5rem;
  }

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

  .ct-form-wrap {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .ct-hero h1 {
    font-size: 1.75rem;
  }
}

/* ==========================
   Case Studies — List Page
   ========================== */

/* ── Hero ── */
.cs-hero {
  position: relative;
  background: var(--charcoal);
  padding: 10rem 0 5rem;
  overflow: hidden;
}

.cs-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cs-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: heroFloat 18s ease-in-out infinite;
}

.cs-hero-orb--primary {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -120px;
  right: -80px;
  animation-delay: -4s;
}

.cs-hero-orb--accent {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -100px;
  left: -60px;
  animation-direction: reverse;
}

.cs-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;
}

.cs-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cs-hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  color: var(--white);
  line-height: 1.1;
  margin: 0.75rem 0 1.25rem;
  animation: fadeInUp 0.7s var(--ease-out) both;
}

.cs-hero-sub {
  color: var(--gray-400);
  font-size: 1.125rem;
  max-width: 640px;
  margin: 0 auto;
  animation: fadeInUp 0.7s var(--ease-out) 0.15s both;
}

/* ── Filter Bar ── */
.cs-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.cs-filter-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.cs-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.cs-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ── Grid Section ── */
.cs-grid-section {
  padding: 4rem 0 2rem;
}

.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.cs-grid--related {
  grid-template-columns: repeat(3, 1fr);
}

/* ── Card ── */
.cs-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
}

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

.cs-card-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray-100);
}

.cs-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.cs-card:hover .cs-card-img img {
  transform: scale(1.04);
}

.cs-card-img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  background: var(--gray-50);
}

.cs-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cs-card-category {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.625rem;
  border-radius: 100px;
  width: fit-content;
  margin-bottom: 0.75rem;
}

.cs-card-category--customer {
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--primary);
}

.cs-card-category--technical {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}

.cs-card-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.375rem;
}

.cs-card-subtitle {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

.cs-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: auto;
  padding-top: 1rem;
}

.cs-tag {
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: var(--gray-100);
  color: var(--text-muted);
}

/* ==========================
   Case Studies — Detail Page
   ========================== */

/* ── Detail Hero ── */
.csd-hero {
  position: relative;
  padding: 10rem 0 4rem;
  background: var(--charcoal);
  overflow: hidden;
}

.csd-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--csd-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.csd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,30,32,0.85) 0%, rgba(30,30,32,0.95) 100%);
}

.csd-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.csd-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color var(--duration-fast);
}

.csd-back:hover {
  color: var(--primary);
}

.csd-hero-content .cs-card-category {
  margin-bottom: 1rem;
}

.csd-hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.7s var(--ease-out) both;
}

.csd-hero-sub {
  color: var(--gray-400);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 1.25rem;
  animation: fadeInUp 0.7s var(--ease-out) 0.1s both;
}

.csd-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  animation: fadeInUp 0.7s var(--ease-out) 0.2s both;
}

.csd-hero-tags .cs-tag {
  background: rgba(255,255,255,0.1);
  color: var(--gray-300);
}

/* ── Content Body ── */
.csd-body {
  padding: 4rem 0 2rem;
}

.csd-content {
  max-width: 760px;
  margin: 0 auto;
}

.csd-content h2 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gray-100);
}

.csd-content h2:first-child {
  margin-top: 0;
}

.csd-content h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1875rem;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.csd-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.csd-content ul,
.csd-content ol {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.csd-content li {
  margin-bottom: 0.375rem;
}

.csd-content li strong {
  color: var(--text-primary);
}

.csd-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

.csd-content figure {
  margin: 2rem 0;
}

.csd-content figure img {
  margin: 0;
}

.csd-content figcaption {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.75rem;
}

/* ── Testimonial ── */
.csd-testimonial {
  position: relative;
  max-width: 760px;
  margin: 3rem auto;
  padding: 2.5rem 2.5rem 2.5rem 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

.csd-testimonial::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 3px;
  border-radius: 2px;
  background: var(--primary);
}

.csd-quote-icon {
  color: var(--primary-glow);
  margin-bottom: 0.75rem;
  opacity: 0.6;
}

.csd-testimonial p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1rem;
}

.csd-testimonial footer {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.csd-testimonial footer strong {
  font-size: 0.9375rem;
  color: var(--text-primary);
  font-style: normal;
}

.csd-testimonial footer span {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: normal;
}

/* ── Visit Website ── */
.csd-website {
  max-width: 760px;
  margin: 2rem auto 0;
}

/* ── Related Section ── */
.csd-related {
  padding: 3rem 0 4rem;
  border-top: 1px solid var(--border-light);
}

.csd-related h2 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 2rem;
}

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

@media (max-width: 768px) {
  .cs-hero {
    padding: 8rem 0 3.5rem;
  }

  .cs-hero h1 {
    font-size: 2rem;
  }

  .cs-hero h1 br {
    display: none;
  }

  .cs-hero-orb--primary {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -60px;
  }

  .cs-hero-orb--accent {
    width: 250px;
    height: 250px;
    bottom: -80px;
    left: -40px;
  }

  .cs-grid-section {
    padding: 3rem 0 1.5rem;
  }

  .cs-grid,
  .cs-grid--related {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .cs-filter-bar {
    margin-bottom: 2rem;
  }

  .csd-hero {
    padding: 8rem 0 3rem;
  }

  .csd-hero h1 {
    font-size: 1.75rem;
  }

  .csd-body {
    padding: 2.5rem 0 1.5rem;
  }

  .csd-content h2 {
    font-size: 1.25rem;
    margin-top: 2rem;
  }

  .csd-testimonial {
    padding: 2rem 1.5rem 2rem 2rem;
  }

  .csd-related {
    padding: 2rem 0 3rem;
  }
}

@media (max-width: 480px) {
  .cs-hero h1 {
    font-size: 1.75rem;
  }

  .csd-hero h1 {
    font-size: 1.5rem;
  }
}

/* ============================================
   AI Innovation Package Section
   ============================================ */

/* ── AI Hero ── */

.ai-hero {
  position: relative;
  padding: 7rem 0 5rem;
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
}

.ai-hero--compact {
  padding: 6rem 0 3.5rem;
}

.ai-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ai-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: heroFloat 14s ease-in-out infinite alternate;
}

.ai-hero-orb--primary {
  width: 340px;
  height: 340px;
  background: var(--primary);
  top: -10%;
  right: 10%;
}

.ai-hero-orb--accent {
  width: 260px;
  height: 260px;
  background: var(--accent);
  bottom: -15%;
  left: 5%;
  animation-delay: -7s;
}

.ai-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: 48px 48px;
}

.ai-hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  animation: fadeInUp 0.6s ease both;
}

.ai-hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.ai-hero-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 580px;
  margin-bottom: 2rem;
}

.ai-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── AI Pricing ── */

.ai-pricing {
  padding: 4rem 0;
  background: var(--bg-body);
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

.ai-pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.ai-pricing-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  transition: box-shadow var(--duration-normal) ease, transform var(--duration-normal) ease;
}

.ai-pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.ai-pricing-card--featured {
  border-color: var(--primary);
  background: linear-gradient(to bottom, var(--primary-light), var(--white));
}

.ai-pricing-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.ai-pricing-card--featured .ai-pricing-label {
  color: var(--primary);
}

.ai-pricing-amount {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.1;
}

.ai-pricing-period {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.ai-pricing-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── AI Benefits ── */

.ai-benefits {
  padding: 5rem 0;
  background: var(--white);
}

.ai-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ai-benefit-card {
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.ai-benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--benefit-color, var(--primary));
}

.ai-benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: color-mix(in srgb, var(--benefit-color, var(--primary)) 12%, transparent);
  color: var(--benefit-color, var(--primary));
}

.ai-benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.ai-benefit-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ── AI Deliverables ── */

.ai-deliverables {
  padding: 5rem 0;
  background: var(--bg-body);
}

.ai-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.ai-deliverable {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow var(--duration-normal) ease;
}

.ai-deliverable:hover {
  box-shadow: var(--shadow-md);
}

.ai-deliverable-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: var(--primary-light);
  color: var(--primary);
}

.ai-deliverable h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.375rem;
}

.ai-deliverable p {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* ── AI Products Grid ── */

.ai-products {
  padding: 5rem 0;
  background: var(--white);
  border-top: 1px solid var(--border-light);
}

.ai-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ai-product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: border-color var(--duration-normal) ease,
              box-shadow var(--duration-normal) ease,
              transform var(--duration-normal) ease;
}

.ai-product-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.25rem;
  bottom: 1.25rem;
  width: 3px;
  border-radius: 2px;
  background: var(--product-color, var(--primary));
}

.ai-product-card:hover {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.ai-product-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: color-mix(in srgb, var(--product-color, var(--primary)) 10%, transparent);
  color: var(--product-color, var(--primary));
}

.ai-product-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

.ai-product-summary {
  font-size: 0.875rem;
  font-weight: 600;
  font-style: italic;
  color: var(--product-color, var(--primary));
  margin-bottom: 0.75rem;
}

.ai-product-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
  flex-grow: 1;
}

.ai-product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--product-color, var(--primary));
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.ai-product-link svg {
  transition: transform var(--duration-fast) ease;
}

.ai-product-card:hover .ai-product-link svg {
  transform: translateX(3px);
}

/* ── AI Process ── */

.ai-process {
  padding: 5rem 0;
  background: var(--bg-body);
}

.ai-process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ai-process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  position: relative;
  padding-bottom: 2rem;
}

.ai-process-step:last-child {
  padding-bottom: 0;
}

.ai-process-step::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
}

.ai-process-step:last-child::before {
  display: none;
}

.ai-process-step-marker {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--step-color, var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.ai-process-step-num {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.ai-process-step-content {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
}

.ai-process-step-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  background: color-mix(in srgb, var(--step-color, var(--primary)) 10%, transparent);
  color: var(--step-color, var(--primary));
}

.ai-process-step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.ai-process-step-content p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ── AI Delivery ── */

.ai-delivery {
  padding: 5rem 0;
  background: var(--white);
}

.ai-delivery-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.ai-delivery-text h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.ai-delivery-text > p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.ai-delivery-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ai-delivery-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.ai-delivery-list svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 0.125em;
}

.ai-delivery-visual {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-delivery-icon {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

/* ── AI Products Detail List ── */

.ai-products-detail {
  padding: 5rem 0;
  background: var(--bg-body);
}

.ai-product-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  transition: box-shadow var(--duration-normal) ease;
}

.ai-product-row:last-child {
  margin-bottom: 0;
}

.ai-product-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 4px;
  border-radius: 2px;
  background: var(--product-color, var(--primary));
}

.ai-product-row:hover {
  box-shadow: var(--shadow-md);
}

.ai-product-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.ai-product-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--product-color, var(--primary)) 10%, transparent);
  color: var(--product-color, var(--primary));
  flex-shrink: 0;
}

.ai-product-row h2 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.125rem;
}

.ai-product-tagline {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--product-color, var(--primary));
}

.ai-product-description {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.ai-product-metrics {
  display: flex;
  gap: 2rem;
}

.ai-product-metric {
  text-align: center;
  min-width: 100px;
}

.ai-metric-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--product-color, var(--primary));
  line-height: 1.1;
}

.ai-metric-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ── AI Integration ── */

.ai-integration {
  padding: 5rem 0;
  background: var(--white);
  border-top: 1px solid var(--border-light);
}

.ai-integration-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.ai-integration-text h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.ai-integration-text > p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.ai-integration-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ai-integration-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.ai-integration-list svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 0.125em;
}

.ai-integration-visual {
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-integration-diagram {
  position: relative;
  width: 100%;
  height: 100%;
}

.ai-integration-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  z-index: 2;
}

.ai-integration-nodes {
  position: absolute;
  inset: 0;
}

.ai-integration-nodes span {
  position: absolute;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--node-color, var(--primary));
  background: color-mix(in srgb, var(--node-color, var(--primary)) 10%, white);
  padding: 0.375rem 0.625rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.ai-integration-nodes span:nth-child(1) { top: 5%; left: 50%; transform: translateX(-50%); }
.ai-integration-nodes span:nth-child(2) { top: 25%; right: 0; }
.ai-integration-nodes span:nth-child(3) { top: 60%; right: 0; }
.ai-integration-nodes span:nth-child(4) { bottom: 5%; left: 50%; transform: translateX(-50%); }
.ai-integration-nodes span:nth-child(5) { top: 60%; left: 0; }
.ai-integration-nodes span:nth-child(6) { top: 25%; left: 0; }

/* ── AI Product Single Page ── */

.ai-product-hero {
  position: relative;
  padding: 6rem 0 4rem;
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
}

.ai-product-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  animation: fadeInUp 0.6s ease both;
}

.ai-product-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color var(--duration-fast) ease;
}

.ai-product-back:hover {
  color: var(--white);
}

.ai-product-hero-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: color-mix(in srgb, var(--product-color, var(--primary)) 20%, transparent);
  color: var(--product-color, var(--primary));
}

.ai-product-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.ai-product-hero .ai-product-tagline {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--product-color, var(--primary));
  margin-bottom: 1rem;
}

.ai-product-hero-desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
}

.ai-product-hero-metrics {
  display: flex;
  gap: 2.5rem;
}

.ai-hero-metric {
  text-align: center;
}

.ai-hero-metric-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--product-color, var(--primary));
  line-height: 1.1;
}

.ai-hero-metric-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

/* ── AI Product Outcomes ── */

.ai-product-outcomes {
  padding: 5rem 0;
  background: var(--bg-body);
}

.ai-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.ai-outcome-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  transition: box-shadow var(--duration-normal) ease;
}

.ai-outcome-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: var(--outcome-color, var(--primary));
}

.ai-outcome-card:hover {
  box-shadow: var(--shadow-md);
}

.ai-outcome-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: color-mix(in srgb, var(--outcome-color, var(--primary)) 10%, transparent);
  color: var(--outcome-color, var(--primary));
}

.ai-outcome-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.ai-outcome-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── AI Product Features ── */

.ai-product-features {
  padding: 5rem 0;
  background: var(--white);
}

.ai-feature-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-light);
}

.ai-feature-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.ai-feature-badge {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--feature-color, var(--primary)) 10%, transparent);
  color: var(--feature-color, var(--primary));
  flex-shrink: 0;
}

.ai-feature-text h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.ai-feature-text > p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.ai-feature-highlights {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.5rem;
}

.ai-feature-highlights li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
}

.ai-feature-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--feature-color, var(--primary));
  opacity: 0.6;
}

/* ── AI Technical Capabilities ── */

.ai-product-technical {
  padding: 5rem 0;
  background: var(--bg-subtle);
}

.ai-technical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ai-technical-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.ai-technical-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: var(--charcoal);
  color: var(--white);
}

.ai-technical-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.ai-technical-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── AI Deployment Options ── */

.ai-product-deployment {
  padding: 5rem 0;
  background: var(--white);
}

.ai-deployment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.ai-deployment-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.ai-deployment-card--featured {
  background: linear-gradient(to bottom, var(--primary-light), var(--bg-subtle));
  border-color: var(--primary);
}

.ai-deployment-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.ai-deployment-card > p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.ai-deployment-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ai-deployment-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.ai-deployment-card li svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 0.125em;
}

.ai-deployment-card--featured li svg {
  color: var(--primary);
}

/* ── AI Content Section ── */

.ai-product-content {
  padding: 3rem 0;
  background: var(--bg-body);
}

.ai-product-content > .container {
  max-width: var(--max-width-narrow);
}

/* ── AI Section Responsive ── */

@media (max-width: 1024px) {
  .ai-pricing-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

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

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

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

  .ai-product-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ai-product-metrics {
    justify-content: flex-start;
  }

  .ai-delivery-inner,
  .ai-integration-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ai-delivery-visual,
  .ai-integration-visual {
    order: -1;
    justify-self: center;
  }

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

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

  .ai-feature-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ai-hero {
    padding: 6rem 0 3.5rem;
  }

  .ai-hero h1 {
    font-size: 2.25rem;
  }

  .ai-hero-actions {
    flex-direction: column;
  }

  .ai-benefits-grid,
  .ai-products-grid {
    grid-template-columns: 1fr;
  }

  .ai-deliverables-grid {
    grid-template-columns: 1fr;
  }

  .ai-process-step {
    grid-template-columns: 1fr;
  }

  .ai-process-step-marker {
    display: none;
  }

  .ai-process-step::before {
    display: none;
  }

  .ai-process-step-content::before {
    content: attr(data-step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--step-color, var(--primary));
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
  }

  .ai-outcomes-grid,
  .ai-technical-grid,
  .ai-deployment-grid {
    grid-template-columns: 1fr;
  }

  .ai-feature-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ai-feature-badge {
    width: 52px;
    height: 52px;
  }

  .ai-product-hero h1 {
    font-size: 2rem;
  }

  .ai-product-hero-metrics {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .ai-hero h1 {
    font-size: 1.75rem;
  }

  .ai-pricing-amount {
    font-size: 2.25rem;
  }

  .ai-product-hero h1 {
    font-size: 1.75rem;
  }
}

/* ---- Reduced Motion ---- */
@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;
  }
}

/* ---- Focus Styles ---- */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* ---- Print ---- */
@media print {
  .site-header,
  .site-footer,
  .share-bar,
  .filter-bar,
  .back-link,
  .nav-toggle,
  .vs-back,
  .vs-actions,
  .vs-sidebar {
    display: none !important;
  }

  .vs-hero {
    background: white !important;
    border: none !important;
    padding: 1rem 0 !important;
  }

  body {
    background: white;
    color: black;
  }
}
