/* ============================================
   TOG SAMPHEL — PORTFOLIO DESIGN SYSTEM
   Modern Light Theme | Tech Blue Primary
   Matching United Case Study aesthetic
   ============================================ */

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

body:not(.js-ready) .animate-on-scroll {
  opacity: 1 !important;
  transform: none !important;
}

/* --- Custom Properties --- */
:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;

  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --purple-500: #a855f7;
  --violet-500: #8b5cf6;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --white: #ffffff;
  --success: #10b981;
  --success-light: #d1fae5;

  --gradient-primary: linear-gradient(135deg, var(--blue-600), var(--indigo-600));
  --gradient-hero: linear-gradient(135deg, var(--blue-600) 0%, var(--indigo-500) 50%, var(--purple-500) 100%);
  --gradient-subtle: linear-gradient(135deg, var(--blue-50) 0%, var(--white) 50%, var(--blue-50) 100%);
  --gradient-card: linear-gradient(135deg, var(--white) 0%, var(--blue-50) 100%);
  --gradient-dark: linear-gradient(135deg, var(--gray-900) 0%, var(--blue-900) 100%);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.1);
  --shadow-blue: 0 8px 32px rgba(37, 99, 235, 0.18);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --section-py: 100px;
  --container-max: 1140px;
  --container-px: 24px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: var(--blue-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--blue-700);
}

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

/* --- Section --- */
.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section--alt {
  background: var(--gray-50);
}

.section--gradient {
  background: var(--gradient-subtle);
}

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

.section--dark .section-label {
  color: var(--blue-300);
  border-color: rgba(96, 165, 250, 0.3);
  background: rgba(96, 165, 250, 0.1);
}

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

.section--dark .section-subtitle {
  color: var(--gray-300);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue-600);
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-full);
  background: var(--blue-50);
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-500);
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.text-gradient {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   NAV — Light Frosted Glass (Apple-style)
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.4s ease,
    box-shadow 0.4s ease;
}

/* Subtle gradient accent line at bottom */
.nav::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(99, 102, 241, 0.15) 20%,
      rgba(59, 130, 246, 0.25) 50%,
      rgba(99, 102, 241, 0.15) 80%,
      transparent 100%);
  opacity: 1;
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav--hidden {
  transform: translateY(-100%);
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  font-size: 17px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  transition: all 0.3s ease;
  position: relative;
}

.nav__brand a {
  color: inherit !important;
  text-decoration: none;
}

.nav__brand:hover {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav__links li {
  position: relative;
}

.nav__links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
  transition: color 0.3s ease, background 0.3s ease;
  letter-spacing: 0.01em;
  padding: 8px 14px;
  border-radius: 8px;
  display: block;
  position: relative;
  overflow: hidden;
}

/* Gradient underline on hover */
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--gradient-hero);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__links a:hover {
  color: var(--gray-900);
}

.nav__links a.active {
  color: var(--gray-900);
}

/* --- Hamburger Button --- */
.nav__menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1002;
  border-radius: 10px;
}

.nav__menu-icon,
.nav__menu-icon::before,
.nav__menu-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  left: 11px;
}

.nav__menu-icon {
  top: 21px;
}

.nav__menu-icon::before {
  content: '';
  top: -7px;
  width: 16px;
}

.nav__menu-icon::after {
  content: '';
  top: 7px;
  width: 18px;
}

/* Hamburger hover — bars extend to equal width */
.nav__menu-btn:hover .nav__menu-icon::before,
.nav__menu-btn:hover .nav__menu-icon::after {
  width: 22px;
}

/* X morphing */
.nav__menu-btn.is-active .nav__menu-icon {
  background: transparent;
}

.nav__menu-btn.is-active .nav__menu-icon::before {
  top: 0;
  width: 22px;
  transform: rotate(45deg);
  background: var(--gray-900);
}

.nav__menu-btn.is-active .nav__menu-icon::after {
  top: 0;
  width: 22px;
  transform: rotate(-45deg);
  background: var(--gray-900);
}

/* X hover — subtle opacity shift */
.nav__menu-btn.is-active:hover .nav__menu-icon::before,
.nav__menu-btn.is-active:hover .nav__menu-icon::after {
  opacity: 0.6;
}

/* --- Desktop: links visible in flex row --- */
.nav__dropdown {
  display: flex;
}

/* --- Mobile Overlay --- */
.nav__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.nav__overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 160px 0 120px;
  overflow: hidden;
  background: var(--white);
  isolation: isolate;
}

.hero__bg-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
}

.hero__bg-glow--1 {
  top: -200px;
  right: -100px;
  background: var(--blue-500);
}

.hero__bg-glow--2 {
  bottom: -300px;
  left: -200px;
  background: var(--indigo-500);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  margin-bottom: 32px;
}

.hero__label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

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

  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

.hero__title {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 20px;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto 48px;
  font-weight: 400;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hero__stat {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.hero__stat-value {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.hero__stat-label {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

/* ============================================
   CAPABILITY CARDS
   ============================================ */
.capability__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.capability__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.capability__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.capability__card:hover::before {
  opacity: 1;
}

.capability__card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: background var(--transition-base);
}

.capability__card:hover .capability__card-icon {
  background: var(--blue-100);
}

.capability__card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  line-height: 1.3;
}

.capability__card-desc {
  font-size: 14.5px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ============================================
   CASE STUDY CARDS (HOMEPAGE)
   ============================================ */
.work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.work__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  text-decoration: none;
  color: inherit;
  display: block;
}

.work__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-200);
  color: inherit;
}

.work__card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-bottom: 1px solid var(--gray-100);
}

.work__card-body {
  padding: 32px;
}

.work__card-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue-600);
  margin-bottom: 12px;
}

.work__card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.3;
}

.work__card-desc {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 20px;
}

.work__card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.work__card:hover .work__card-link {
  gap: 10px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.testimonial__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition-base);
}

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

.testimonial__quote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-600);
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--blue-200);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.testimonial__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
}

.testimonial__role {
  font-size: 13px;
  color: var(--gray-400);
}

/* ============================================
   EXPERIENCE LOGOS
   ============================================ */
.logos__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.logos__item {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.logos__img {
  height: 120px;
  width: auto;
  object-fit: contain;
  opacity: 0.45;
  filter: grayscale(100%);
  transition: all var(--transition-base);
}

.logos__item:hover .logos__img {
  opacity: 0.75;
  filter: grayscale(0%);
}

/* ============================================
   CTA / CLOSING
   ============================================ */
.closing {
  padding: 120px 0;
  text-align: center;
  background: var(--gradient-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.closing__bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.15;
  pointer-events: none;
}

.closing__bg-glow--1 {
  top: -100px;
  right: -100px;
  background: var(--blue-500);
}

.closing__bg-glow--2 {
  bottom: -200px;
  left: -100px;
  background: var(--purple-500);
}

.closing__content {
  position: relative;
  z-index: 2;
}

.closing__title {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.closing__subtitle {
  font-size: 18px;
  color: var(--gray-300);
  max-width: 520px;
  margin: 0 auto 40px;
}

.closing__links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--white);
  color: var(--gray-900);
}

.btn--primary:hover {
  background: var(--blue-50);
  color: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

/* ============================================
   CASE STUDY PAGE STYLES
   ============================================ */
.case-hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  background: var(--white);
  isolation: isolate;
}

.case-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.case-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-400);
  margin-bottom: 32px;
  transition: color var(--transition-fast);
}

.case-hero__back:hover {
  color: var(--gray-900);
}

.case-hero__title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.case-hero__subtitle {
  font-size: 18px;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* ---- Loop Hero (peeking image) ---- */
.loop-hero {
  padding-bottom: 60px;
  overflow: visible;
  clip-path: none;
}

.loop-hero__image-wrapper {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.loop-hero__image {
  max-width: 1243px;
  width: 100%;
  display: block;
  margin: 0 auto;
}

.loop-hero__image-wrapper--full {
  max-width: 100%;
  padding: 0;
}

/* The team section follows the hero */
.loop-team {
  position: relative;
  z-index: 2;
}

/* ---- Loop Team Cards ---- */
.loop-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.loop-team__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
}

.loop-team__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}

.loop-team__card--highlight {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.04), rgba(168, 85, 247, 0.06));
  border-color: var(--blue-200);
}

.loop-team__icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.loop-team__role {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.loop-team__desc {
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.5;
}

.loop-team__badge {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--blue-600);
  background: var(--blue-50);
  border-radius: var(--radius-full);
}

/* Team */
.team__grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.team__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  text-align: center;
  min-width: 140px;
}

.team__card-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
}

.team__card-count {
  font-size: 12px;
  color: var(--gray-400);
}

/* Process Steps */
.process__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.process__text p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 20px;
}

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

.process__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.process__image img {
  width: 100%;
  display: block;
}

/* Image Gallery */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gallery__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all var(--transition-base);
}

.gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery__item--full {
  grid-column: 1 / -1;
}

/* Mobile screenshots: 3 columns, smaller items */
.gallery__grid--mobile-row {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery__grid--mobile-row .gallery__item {
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.08));
  border-radius: var(--radius-md);
}

.gallery__grid--mobile-row .gallery__item img {
  height: auto;
  object-fit: contain;
}

/* Full-width composite images */
.gallery__grid--full-width {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.gallery__grid--full-width .gallery__item {
  width: 100%;
}

.gallery__grid--full-width .gallery__item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ---- Loop Carousel (auto-scrolling) ---- */
.loop-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 32px 0;
  margin-bottom: 32px;
}

/* Edge fades */
.loop-carousel::before,
.loop-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.loop-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--gray-50), transparent);
}

.loop-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--gray-50), transparent);
}

.loop-carousel__track {
  display: flex;
  gap: 20px;
  animation: loopCarouselScroll 40s linear infinite;
  width: max-content;
}

.loop-carousel:hover .loop-carousel__track {
  animation-play-state: paused;
}

.loop-carousel__slide {
  flex-shrink: 0;
  width: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.loop-carousel__slide:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.loop-carousel__slide img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes loopCarouselScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Metrics Row for Case Studies */
.case-metrics {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.case-metric {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  text-align: center;
  min-width: 160px;
}

.case-metric__value {
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.case-metric__label {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
  margin-top: 4px;
}

/* Process Numbered Steps */
.steps__list {
  max-width: 680px;
  margin: 0 auto;
}

.step__item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  align-items: flex-start;
}

.step__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step__content h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.step__content p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* Impact Cards */
.impact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.impact__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-base);
}

.impact__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}

.impact__card-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.impact__card-value {
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.impact__card-label {
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 500;
}

/* ============================================
   SEGWAY (Dark transition section)
   ============================================ */
.segway__bg-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
}

.segway__bg-glow--1 {
  top: -100px;
  right: -100px;
  background: var(--blue-500);
}

.segway__bg-glow--2 {
  bottom: -100px;
  left: -100px;
  background: var(--purple-500);
}

.segway__pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.segway__pillar {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-base);
}

.segway__pillar:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.segway__pillar-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.segway__pillar-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.segway__pillar-desc {
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.5;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
  cursor: zoom-out;
}

.lightbox.is-active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius-md);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: none !important;
}

.anim-blur-in {
  filter: blur(8px);
  transform: translateY(20px);
}

.anim-blur-in.is-visible {
  filter: blur(0);
}

.anim-slide-left {
  transform: translateX(-40px);
}

.anim-slide-right {
  transform: translateX(40px);
}

.anim-scale-in {
  transform: scale(0.95);
}

.anim-flip-up {
  transform: translateY(30px) rotateX(5deg);
}

.delay-1 {
  transition-delay: 0.1s !important;
}

.delay-2 {
  transition-delay: 0.2s !important;
}

.delay-3 {
  transition-delay: 0.3s !important;
}

.stagger-children .animate-on-scroll:nth-child(1) {
  transition-delay: 0s;
}

.stagger-children .animate-on-scroll:nth-child(2) {
  transition-delay: 0.1s;
}

.stagger-children .animate-on-scroll:nth-child(3) {
  transition-delay: 0.2s;
}

.stagger-children .animate-on-scroll:nth-child(4) {
  transition-delay: 0.3s;
}

.stagger-children .animate-on-scroll:nth-child(5) {
  transition-delay: 0.4s;
}

.stagger-children .animate-on-scroll:nth-child(6) {
  transition-delay: 0.5s;
}

/* Section reveal */
.section-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hero entrance */
.hero {
  opacity: 0;
}

.hero.hero-loaded {
  animation: heroEntrance 1s ease forwards;
}

@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   WORK SUBSECTIONS
   ============================================ */
.work__subsection {
  margin-bottom: 32px;
}

.work__subsection--second {
  margin-top: 64px;
  margin-bottom: 32px;
  padding-top: 48px;
  border-top: 1px solid var(--gray-200);
}

.work__subsection-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.work__subsection-desc {
  font-size: 15px;
  color: var(--gray-500);
  max-width: 500px;
}

/* ============================================
   AI ARSENAL
   ============================================ */
.arsenal {
  background: var(--gray-900);
}

.arsenal__bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.arsenal__bg-glow--1 {
  width: 600px;
  height: 600px;
  background: rgba(99, 102, 241, 0.1);
  top: -150px;
  right: -100px;
}

.arsenal__bg-glow--2 {
  width: 500px;
  height: 500px;
  background: rgba(168, 85, 247, 0.08);
  bottom: -100px;
  left: -100px;
}

.arsenal__bg-glow--3 {
  width: 300px;
  height: 300px;
  background: rgba(59, 130, 246, 0.06);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Featured row (2 large cards) */
.arsenal__featured {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 56px;
  align-items: stretch;
}

/* Secondary row (3 smaller cards) */
.arsenal__secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

/* Base card */
.arsenal__card {
  position: relative;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.arsenal__card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px 32px;
}

/* Animated glow border for featured cards */
.arsenal__card-glow {
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: linear-gradient(135deg,
      rgba(99, 102, 241, 0.3),
      rgba(168, 85, 247, 0.2),
      rgba(59, 130, 246, 0.3));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.arsenal__card:hover .arsenal__card-glow {
  opacity: 1;
  animation: arsenalPulse 3s ease-in-out infinite;
}

@keyframes arsenalPulse {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

.arsenal__card:hover .arsenal__card-inner {
  background: rgba(255, 255, 255, 0.07);
  border-color: transparent;
}

.arsenal__card:hover {
  transform: translateY(-6px);
}

/* Featured card specifics */
.arsenal__card--featured {
  display: flex;
  flex-direction: column;
}

.arsenal__card--featured .arsenal__card-glow {
  height: 100%;
}

.arsenal__card--featured .arsenal__card-inner {
  flex: 1;
}

/* Secondary card specifics */
.arsenal__card--secondary .arsenal__card-inner {
  padding: 28px 24px;
  gap: 18px;
}

.arsenal__card--secondary:hover {
  transform: translateY(-4px);
}

/* Logo container */
.arsenal__logo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arsenal__logo--sm {
  width: 52px;
  height: 52px;
}

.arsenal__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
}

.arsenal__logo--sm .arsenal__logo-img {
  border-radius: 12px;
}

/* Invert filter for white/black logos on dark bg */
.arsenal__logo-img--invert {
  filter: invert(1) drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
}

/* Content */
.arsenal__content {
  flex: 1;
  min-width: 0;
}

.arsenal__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.arsenal__card--secondary .arsenal__name {
  font-size: 17px;
}

.arsenal__tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.arsenal__card--secondary .arsenal__tag {
  margin-bottom: 8px;
}

.arsenal__desc {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
}

.arsenal__card--secondary .arsenal__desc {
  font-size: 13px;
  line-height: 1.5;
}

/* ============================================
   ANYTONGS CASE STUDY — PULLQUOTES
   ============================================ */
.pullquote {
  max-width: 680px;
  margin: 48px auto 0;
}

.pullquote blockquote {
  font-size: 18px;
  font-style: italic;
  line-height: 1.8;
  color: var(--gray-600);
  padding-left: 24px;
  border-left: 4px solid var(--blue-400);
  position: relative;
}

/* ============================================
   ANYTONGS CASE STUDY — CALLOUT BOX
   ============================================ */
.callout-box {
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
}

.callout-box--dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.callout-box__icon {
  font-size: 36px;
  flex-shrink: 0;
}

.callout-box__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  flex: 1;
}

.callout-box__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 80px;
}

.callout-box__value {
  font-size: 22px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.callout-box--dark .callout-box__value {
  background: linear-gradient(135deg, #93c5fd, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.callout-box__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.callout-box--dark .callout-box__label {
  color: var(--gray-400);
}

.callout-box__divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
  flex-shrink: 0;
}

.callout-box--dark .callout-box__divider {
  background: rgba(255, 255, 255, 0.12);
}

/* ============================================
   ANYTONGS CASE STUDY — TIMELINE
   ============================================ */
.timeline {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline__item {
  position: relative;
  margin-bottom: 36px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue-400);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue-200);
  z-index: 1;
}

.timeline__item--highlight::before {
  width: 16px;
  height: 16px;
  left: -32px;
  top: 4px;
  background: var(--blue-600);
  box-shadow: 0 0 0 3px var(--blue-200), 0 0 16px rgba(37, 99, 235, 0.3);
}

.timeline__year {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-600);
  min-width: 80px;
  flex-shrink: 0;
  padding-top: 2px;
}

.timeline__content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.timeline__content p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

.timeline__item--highlight .timeline__content h4 {
  color: var(--blue-700);
}

/* ============================================
   ANYTONGS CASE STUDY — SALES CHART
   ============================================ */
.sales-chart {
  max-width: 640px;
  margin: 56px auto 0;
  text-align: center;
}

.sales-chart__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.sales-chart__subtitle {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 32px;
}

.sales-chart__bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  height: 200px;
  padding: 0 20px;
}

.sales-chart__bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 72px;
  height: 100%;
  justify-content: flex-end;
}

.sales-chart__bar {
  width: 100%;
  background: var(--blue-200);
  border-radius: 6px 6px 0 0;
  min-height: 4px;
  position: relative;
  transition: all var(--transition-slow);
}

.sales-chart__bar--peak {
  background: var(--gradient-primary);
}

.sales-chart__bar::after {
  content: attr(data-value);
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-600);
  white-space: nowrap;
}

.sales-chart__bar--peak::after {
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 800;
}

.sales-chart__year {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-400);
}

.sales-chart__label {
  margin-top: 24px;
  font-size: 14px;
  color: var(--gray-600);
}

/* ============================================
   ANYTONGS CASE STUDY — PLACEHOLDER IMAGES
   ============================================ */
.placeholder-img {
  background: var(--gray-100);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 32px;
}

.placeholder-img span {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-400);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.placeholder-img--hero {
  min-height: 360px;
  max-width: 680px;
  margin: 40px auto 0;
  border-color: var(--blue-200);
  background: var(--blue-50);
}

.placeholder-img--hero span {
  color: var(--blue-400);
}

.placeholder-img--gallery {
  min-height: 220px;
}

.placeholder-img--logo {
  min-height: 60px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  min-width: 100px;
}

.placeholder-img--logo span {
  font-size: 12px;
  letter-spacing: 0.5px;
}

/* ============================================
   ANYTONGS CASE STUDY — CUSTOM STYLES
   ============================================ */

/* --- Hero --- */
.at-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 40px;
  box-sizing: border-box;
}

/* TIER 1: Standard stacked back nav + pill */
.at-hero__top {
  text-align: center;
  margin-bottom: 24px;
}

.at-hero__top .case-hero__back {
  display: block;
  margin-bottom: 16px;
}

/* TIER 2: Product left, copy right */
.at-hero__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 32px;
}

.at-hero__split-image {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.at-hero__split-image img {
  width: auto;
  max-width: 100%;
  max-height: 50vh;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.15));
}

/* Copy: left-aligned text, on the right side of the split */
.at-hero__split-copy {
  text-align: left;
}

.at-hero__split-copy .case-hero__title {
  text-align: left;
}

.at-hero__split-copy .case-hero__subtitle {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

/* TIER 3: Centered stat cards */
.at-hero__stats {
  position: relative;
  z-index: 2;
}

/* Product float-up reveal */
.at-hero__product-entrance {
  animation: productFloatUp 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}

@keyframes productFloatUp {
  0% {
    opacity: 0;
    transform: translateY(80px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.at-hero__badge {
  position: absolute;
  top: 100px;
  right: 40px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.at-hero__badge-img {
  width: 80px;
  height: auto;
  object-fit: contain;
}

.at-hero__badge span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-500);
}

.at-hero__product-wrap {
  max-width: 780px;
  margin: 48px auto 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.at-hero__product-img {
  width: 100%;
  display: block;
}

/* --- Origin Section — Background silhouette + floating product --- */
.at-origin {
  position: relative;
  overflow: hidden;
}

.at-origin__bg-product {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 460px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.at-origin__bg-product img {
  width: 100%;
  display: block;
}

.at-origin__body {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.at-origin__text p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.at-origin__text p:last-child {
  margin-bottom: 0;
}

.at-origin__product {
  max-width: 320px;
  justify-self: center;
  cursor: pointer;
}

.at-origin__product img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease;
}

.at-origin__product img:hover {
  transform: scale(1.03);
}

/* --- Validation Section — Card-based research methods --- */
.at-validation__text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.at-validation__text p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-600);
}

.at-validation__methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.at-validation__method {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.at-validation__method:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
}

.at-validation__method-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.at-validation__method h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.at-validation__method p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-500);
}

.at-validation__result {
  max-width: 700px;
  margin: 32px auto 0;
  text-align: center;
}

.at-validation__result p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-600);
}

/* --- Kickstarter Section — Constrained packaging image --- */
.at-kickstarter__body {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}

.at-kickstarter__text p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.at-kickstarter__text p:last-child {
  margin-bottom: 0;
}

.at-kickstarter__product {
  max-width: 340px;
  justify-self: center;
  cursor: pointer;
}

.at-kickstarter__product img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease;
}

.at-kickstarter__product img:hover {
  transform: scale(1.03);
}

/* --- Video Section --- */
.at-video-section {
  position: relative;
  overflow: hidden;
}

.at-video-wrap {
  max-width: 720px;
  margin: 48px auto 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(59, 130, 246, 0.3), 0 8px 32px rgba(0, 0, 0, 0.4);
  position: relative;
}

.at-video-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-xl);
  background: var(--gradient-hero);
  z-index: -1;
  opacity: 0.5;
  filter: blur(1px);
}

.at-video {
  width: 100%;
  display: block;
  border-radius: var(--radius-xl);
}

/* --- Product Specs --- */
.at-product-specs {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.at-spec {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.at-spec:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.at-spec__icon {
  font-size: 20px;
}

.at-spec__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-300);
  white-space: nowrap;
}

/* --- Shark Tank Cinematic Gallery --- */
.at-st-hero {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  cursor: pointer;
  margin-top: 16px;
}

.at-st-hero__img {
  width: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.at-st-hero:hover .at-st-hero__img {
  transform: scale(1.03);
}

.at-st-hero__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}

.at-st-hero__caption {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
}

/* Shark Tank Feature Card */
.at-st-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  margin-top: 48px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--gray-900);
  box-shadow: var(--shadow-xl);
  cursor: pointer;
  transition: all var(--transition-base);
}

.at-st-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.2);
}

.at-st-feature__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.at-st-feature__text {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.at-st-feature__deal {
  font-size: 36px;
  font-weight: 900;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.at-st-feature__text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-400);
}

/* Compact variant — smaller image */
.at-st-feature--compact {
  grid-template-columns: 0.8fr 1fr;
  max-height: 280px;
}

.at-st-feature--compact .at-st-feature__img {
  max-height: 280px;
  object-fit: cover;
  object-position: center top;
}

.at-st-feature--compact .at-st-feature__text {
  padding: 32px 36px;
}

.at-st-feature--compact .at-st-feature__deal {
  font-size: 28px;
}

/* ============================================
   KICKSTARTER DASHBOARD
   ============================================ */
.at-ks-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.at-ks-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.at-ks-panel__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.at-ks-panel__title::before {
  content: '';
  width: 4px;
  height: 18px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* Funding Progress Bar */
.at-ks-progress {
  margin-top: 8px;
}

.at-ks-progress__bar-track {
  width: 100%;
  height: 12px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.at-ks-progress__bar-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  position: relative;
  transition: width 1.5s ease;
}

.at-ks-progress__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.at-ks-progress__label {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
}

.at-ks-progress__label strong {
  color: var(--blue-600);
}

/* Stats mini-grid inside panel */
.at-ks-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.at-ks-mini-stat {
  text-align: center;
  padding: 12px 8px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
}

.at-ks-mini-stat__value {
  font-size: 20px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.at-ks-mini-stat__label {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Pledge breakdown items */
.at-ks-pledges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.at-ks-pledge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.at-ks-pledge__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.at-ks-pledge__dot--ks {
  background: var(--blue-500);
}

.at-ks-pledge__dot--ext {
  background: #d97706;
}

.at-ks-pledge__dot--custom {
  background: var(--indigo-500);
}

.at-ks-pledge__info {
  flex: 1;
}

.at-ks-pledge__source {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
}

.at-ks-pledge__amount {
  font-size: 12px;
  color: var(--gray-500);
}

.at-ks-pledge__pct {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-600);
  min-width: 36px;
  text-align: right;
}

/* ============================================
   BRAND IDENTITY — BLUEPRINT SHOWCASE
   ============================================ */
.at-brand-blueprint {
  background: var(--gray-900);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin-top: 48px;
  position: relative;
  overflow: hidden;
}

/* subtle grid pattern */
.at-brand-blueprint::before {
  content: '';
  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: 40px 40px;
  pointer-events: none;
}

.at-brand-blueprint__header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.at-brand-blueprint__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue-400);
  margin-bottom: 8px;
}

.at-brand-blueprint__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
}

/* Logo spec panels */
.at-brand-blueprint__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.at-brand-spec {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  position: relative;
}

.at-brand-spec__variant {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue-400);
  margin-bottom: 20px;
}

.at-brand-spec__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  min-height: 120px;
  position: relative;
}

.at-brand-spec__logo-wrap img {
  max-width: 200px;
  max-height: 80px;
  width: auto;
  height: auto;
}

/* Measurement lines */
.at-brand-spec__measure {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 4px;
}

.at-brand-spec__measure--h {
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: row;
}

.at-brand-spec__measure--v {
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
}

.at-brand-spec__measure-line {
  background: var(--blue-400);
  opacity: 0.5;
}

.at-brand-spec__measure--h .at-brand-spec__measure-line {
  width: 80px;
  height: 1px;
}

.at-brand-spec__measure--v .at-brand-spec__measure-line {
  width: 1px;
  height: 40px;
}

.at-brand-spec__measure-label {
  font-size: 9px;
  font-weight: 600;
  color: var(--blue-400);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.at-brand-spec__details {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.at-brand-spec__detail {
  text-align: center;
}

.at-brand-spec__detail-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

.at-brand-spec__detail-label {
  font-size: 10px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Light background spec panel */
.at-brand-spec--light {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--gray-200);
}

.at-brand-spec--light .at-brand-spec__detail-val {
  color: var(--gray-900);
}

.at-brand-spec--light .at-brand-spec__detail-label {
  color: var(--gray-500);
}

/* --- Brand Content Block --- */
.at-brand-content {
  margin-top: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.at-brand-content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.at-brand-content p:last-child {
  margin-bottom: 0;
}

/* --- Logo Versatility Showcase --- */
.at-brand-showcase {
  margin-top: 48px;
}

.at-brand-showcase__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 24px;
}

.at-brand-showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.at-brand-showcase__item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: all var(--transition-base);
}

.at-brand-showcase__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.at-brand-showcase__item--wide {
  grid-column: span 2;
}

.at-brand-showcase__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.at-brand-showcase__item--wide img {
  aspect-ratio: 16 / 7;
}

.at-brand-showcase__item:not(.at-brand-showcase__item--wide) img {
  aspect-ratio: 4 / 3;
}

/* --- Brand Swag / Merch --- */
.at-brand-swag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
  align-items: center;
}

.at-brand-swag__img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform var(--transition-base);
}

.at-brand-swag__img:hover {
  transform: translateY(-4px);
}

.at-brand-swag__text h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.at-brand-swag__text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-500);
}

/* --- Lifestyle Image Grid --- */
.at-lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.at-lifestyle-grid__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all var(--transition-base);
  aspect-ratio: 1;
}

.at-lifestyle-grid__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.at-lifestyle-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.at-lifestyle-grid__item:hover img {
  transform: scale(1.05);
}

/* Span first item across 2 columns for visual interest */
.at-lifestyle-grid__item:first-child {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

/* --- Milestone Timeline --- */
.at-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 32px;
}

.at-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.at-timeline__item {
  position: relative;
  padding: 0 0 40px 32px;
}

.at-timeline__item:last-child {
  padding-bottom: 0;
}

.at-timeline__item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gray-200);
  transition: all var(--transition-base);
}

.at-timeline__item--highlight::before {
  background: var(--blue-500);
  box-shadow: 0 0 0 2px var(--blue-200), 0 0 12px rgba(59, 130, 246, 0.4);
  width: 14px;
  height: 14px;
  left: -29px;
  top: 5px;
}

.at-timeline__year {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue-600);
  margin-bottom: 4px;
}

.at-timeline__content h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.at-timeline__content p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* --- Press Logos --- */
.press-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.press-logos__item {
  transition: all var(--transition-base);
}

.press-logos__item:hover {
  transform: translateY(-2px);
}

.at-press-logo__img {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.at-press-logo:hover .at-press-logo__img {
  opacity: 1;
}

.at-press-badge {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-400);
  padding: 10px 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.at-press-badge:hover {
  color: var(--gray-700);
  border-color: var(--gray-400);
  background: var(--gray-50);
}

/* ============================================
   ADP CASE STUDY
   ============================================ */

/* --- Flow Diagrams --- */
.adp-flow {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.adp-flow__header {
  padding: 32px 40px 24px;
}

.adp-flow__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue-400);
  margin-bottom: 12px;
}

.adp-flow__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.adp-flow__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-400);
  max-width: 600px;
}

.adp-flow__image {
  padding: 0 24px 24px;
}

.adp-flow__image img {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
}

.adp-flow__image--dark img {
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* --- Showcase Commentary Tag --- */
.adp-showcase__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue-400);
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

/* Light section variant */
.section:not(.section--dark) .adp-showcase__tag {
  color: var(--blue-600);
  background: var(--blue-50);
  border-color: var(--blue-200);
}

/* --- Showcase Section --- */
.adp-showcase {
  margin-top: 48px;
}

.adp-showcase__commentary {
  margin-bottom: 32px;
  max-width: 560px;
}

.adp-showcase__commentary p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-400);
}

/* --- Desktop Gallery (clean layout) --- */
.adp-desktop-gallery {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.adp-desktop-gallery__item {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.adp-desktop-gallery__item:hover {
  transform: translateY(-4px);
}

.adp-desktop-gallery__item img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.3));
  transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.adp-desktop-gallery__item:hover img {
  filter: drop-shadow(0 20px 48px rgba(59, 130, 246, 0.25));
}

/* --- Data Cards — Clean Grid --- */
.adp-datacards {
  margin-top: 80px;
}

.adp-datacards__header {
  margin-bottom: 32px;
  max-width: 560px;
}

.adp-datacards__header p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-400);
}

.adp-datacards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.adp-datacards__item {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.adp-datacards__item:hover {
  transform: translateY(-6px) scale(1.03);
  z-index: 5;
}

.adp-datacards__item img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
  transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.adp-datacards__item:hover img {
  filter: drop-shadow(0 16px 40px rgba(59, 130, 246, 0.25));
}

/* --- Mobile Screens — Phone Frames --- */
.adp-mobile {
  margin-top: 80px;
}

.adp-mobile__header {
  margin-bottom: 32px;
  max-width: 560px;
}

.adp-mobile__header p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-400);
}

.adp-mobile__spread {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 20px 0;
}

.adp-mobile__phone {
  flex: 0 0 auto;
  width: 220px;
}

.adp-mobile__phone-frame {
  background: #1a1a1a;
  border: 3px solid #333;
  border-radius: 28px;
  padding: 16px 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 6px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.adp-mobile__phone-frame:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(59, 130, 246, 0.3), 0 10px 24px rgba(0, 0, 0, 0.3);
}

.adp-mobile__phone-frame img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

/* ============================================
   ABOUT ME
   ============================================ */
.about {
  background: var(--gray-50);
}

.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.about__profile {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  text-align: center;
}

.about__avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--gray-200);
  flex-shrink: 0;
}

.about__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__bio-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.about__bio-text:last-child {
  margin-bottom: 0;
}

.about__lifestyle {
  position: relative;
}

.about__carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--gray-200);
}

.about__carousel-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.about__carousel-img.is-active {
  opacity: 1;
}

.about__carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.about__carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--gray-300);
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.about__carousel-dot.is-active {
  background: var(--blue-500);
  transform: scale(1.3);
}

.about__carousel-dot:hover {
  background: var(--blue-400);
}

/* "More Work" card styling */
.work__card--more {
  cursor: default;
}

.work__card--more:hover {
  transform: none;
  box-shadow: var(--shadow-md);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {

  .hero__title,
  .case-hero__title {
    font-size: 44px;
  }

  .section-title {
    font-size: 32px;
  }

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

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

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

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

  .about__content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .at-hero__badge {
    top: 80px;
    right: 20px;
    padding: 8px 12px;
  }

  .at-hero__badge-img {
    width: 60px;
  }

  .at-st-feature {
    grid-template-columns: 1fr;
  }

  .at-st-feature--compact {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .at-st-feature__text {
    padding: 32px;
  }

  .at-brand-blueprint__grid {
    grid-template-columns: 1fr 1fr;
  }

  .at-brand-swag {
    gap: 24px;
  }

  /* ADP */
  .adp-datacards__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .adp-mobile__phone {
    width: 180px;
  }

  .adp-flow__header {
    padding: 24px 28px 20px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 72px;
  }

  .nav__links {
    display: none;
  }

  .nav__menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Apple-style slide-down mobile menu */
  .nav__dropdown {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(56px) saturate(2.0);
    -webkit-backdrop-filter: blur(56px) saturate(2.0);
    z-index: 1001;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav__dropdown.is-open {
    max-height: 100vh;
    max-height: 100dvh;
  }

  .nav__dropdown .nav__links {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    width: 100%;
    padding: 68px 24px 32px;
  }

  /* Remove gradient divider for Apple-clean style */
  .nav__dropdown .nav__links::before {
    display: none;
  }

  .nav__dropdown .nav__links li {
    opacity: 0;
    transform: translateY(-8px);
    animation: nav-link-slide 0.35s ease forwards;
  }

  .nav__dropdown .nav__links li:nth-child(1) {
    animation-delay: 0.05s;
  }

  .nav__dropdown .nav__links li:nth-child(2) {
    animation-delay: 0.08s;
  }

  .nav__dropdown .nav__links li:nth-child(3) {
    animation-delay: 0.11s;
  }

  .nav__dropdown .nav__links li:nth-child(4) {
    animation-delay: 0.14s;
  }

  .nav__dropdown .nav__links li:nth-child(5) {
    animation-delay: 0.17s;
  }

  .nav__dropdown .nav__links li:nth-child(6) {
    animation-delay: 0.2s;
  }

  @keyframes nav-link-slide {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav__dropdown .nav__links a {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-600);
    padding: 16px 4px;
    border-radius: 0;
    text-align: left;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
  }

  .nav__dropdown .nav__links a::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 4px;
    right: 4px;
    height: 2px;
    background: var(--gradient-hero);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav__dropdown .nav__links a:hover::after,
  .nav__dropdown .nav__links a:active::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .nav__dropdown .nav__links a:hover,
  .nav__dropdown .nav__links a:active {
    color: var(--gray-900);
  }

  .hero__title {
    font-size: 38px;
  }

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

  .hero__stats {
    gap: 16px;
  }

  .hero__stat {
    padding: 20px 24px;
  }

  .hero__stat-value {
    font-size: 28px;
  }

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

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

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

  .process__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

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

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

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

  .logos__row {
    gap: 24px;
  }

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

  .about__content {
    gap: 32px;
  }

  .about__avatar {
    width: 110px;
    height: 110px;
  }

  .closing__title {
    font-size: 32px;
  }

  .callout-box {
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }

  .callout-box__stats {
    gap: 16px;
  }

  .callout-box__divider {
    display: none;
  }

  .sales-chart__bars {
    gap: 10px;
    height: 160px;
  }

  .placeholder-img--hero {
    min-height: 240px;
  }

  .press-logos {
    gap: 12px;
  }

  .timeline {
    padding-left: 32px;
  }

  .timeline__year {
    min-width: 64px;
  }

  .at-hero__badge {
    position: static;
    margin: 0 auto 16px;
  }

  .at-hero__product-wrap {
    margin-top: 32px;
  }

  .at-video-wrap {
    margin-top: 32px;
  }

  .at-product-specs {
    gap: 12px;
    margin-top: 32px;
  }

  .at-spec {
    padding: 10px 16px;
  }

  .at-spec__label {
    font-size: 12px;
  }

  .at-st-hero__overlay {
    padding: 16px;
  }

  .at-st-feature {
    grid-template-columns: 1fr;
  }

  .at-st-feature__text {
    padding: 24px;
  }

  .at-st-feature__deal {
    font-size: 28px;
  }

  .at-timeline {
    padding-left: 24px;
  }

  .at-press-badge {
    font-size: 11px;
    padding: 8px 14px;
    letter-spacing: 1px;
  }

  .at-hero__split {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .at-hero__split-image {
    max-width: 280px;
    margin: 0 auto;
  }

  .at-hero__split-copy {
    text-align: center;
  }

  .at-hero__split-copy .case-hero__title,
  .at-hero__split-copy .case-hero__subtitle {
    text-align: center;
  }

  .at-origin__body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .at-origin__product {
    max-width: 240px;
  }

  .at-origin__bg-product {
    display: none;
  }

  .at-validation__methods {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .at-kickstarter__body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .at-kickstarter__product {
    max-width: 240px;
  }

  .at-ks-dashboard {
    grid-template-columns: 1fr;
  }

  .at-brand-blueprint {
    padding: 28px;
  }

  .at-brand-blueprint__grid {
    grid-template-columns: 1fr;
  }

  .at-brand-swag {
    grid-template-columns: 1fr;
  }

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

  .at-lifestyle-grid__item:first-child {
    grid-column: span 2;
  }

  .at-st-feature--compact {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .at-st-feature--compact .at-st-feature__img {
    max-height: 200px;
  }

  /* ADP */
  .adp-showcase__stack {
    position: static;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    perspective: none;
  }

  .adp-showcase__card {
    position: static;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
  }

  .adp-datacards__grid {
    grid-template-columns: 1fr;
  }

  .adp-mobile__spread {
    flex-wrap: wrap;
    gap: 16px;
  }

  .adp-mobile__phone {
    width: 160px;
  }

  .adp-flow__header {
    padding: 20px 20px 16px;
  }

  .adp-flow__image {
    padding: 0 12px 12px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 32px;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .arsenal__card--featured .arsenal__card-inner {
    min-height: auto;
  }

  .callout-box__stats {
    flex-direction: column;
    gap: 12px;
  }

  .callout-box__stat {
    min-width: auto;
  }

  .sales-chart__bar::after {
    font-size: 9px;
    top: -20px;
  }

  .timeline__item {
    flex-direction: column;
    gap: 4px;
  }
}

/* ============================================
   UNITED MEDICAL CASE STUDY — COMPONENT STYLES
   ============================================ */

/* --- Challenge Section --- */
.challenge__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.challenge__text p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 24px;
}

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

.challenge__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.challenge__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.35s ease-out, box-shadow 0.35s ease-out;
}

.challenge__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.challenge__card-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.challenge__card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.4;
}

/* --- What We Built Section --- */
.built__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.built__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform 0.35s ease-out, box-shadow 0.35s ease-out, border-color 0.35s ease-out;
  position: relative;
  overflow: hidden;
}

.built__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.built__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.10);
  border-color: var(--blue-200);
}

.built__card:hover::before {
  opacity: 1;
}

.built__card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: background var(--transition-base);
}

.built__card:hover .built__card-icon {
  background: var(--blue-100);
}

.built__card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  line-height: 1.3;
}

.built__card-desc {
  font-size: 14.5px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* --- Metrics Section --- */
.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.35s ease-out, box-shadow 0.35s ease-out, border-color 0.35s ease-out;
  position: relative;
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
  border-color: var(--blue-300);
}

.metric-card__value {
  font-size: 44px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
}

.metric-card__label {
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 500;
}

.metric-card--featured {
  background: var(--gradient-primary);
  border: none;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.metric-card--featured .metric-card__value {
  background: none;
  -webkit-text-fill-color: var(--white);
  color: var(--white);
}

.metric-card--featured .metric-card__label {
  color: rgba(255, 255, 255, 0.8);
}

/* --- Data Table --- */
.data-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.data-table-wrapper:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.data-table thead {
  background: var(--gray-50);
}

.data-table th {
  font-weight: 600;
  text-align: left;
  padding: 16px 20px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-200);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.data-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background: var(--blue-50);
}

.data-table tbody tr {
  transition: background 0.2s ease;
}

.data-table .row-total td {
  font-weight: 700;
  background: var(--gray-50);
  color: var(--gray-900);
}

.data-source {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 12px;
  font-style: italic;
}

/* --- Benchmark Comparisons --- */
.benchmark {
  margin-top: 14px;
  padding: 10px 12px;
  background: var(--success-light);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.benchmark__icon {
  font-size: 11px;
  color: var(--success);
  font-weight: 700;
  line-height: 1;
}

.benchmark__text {
  font-size: 12px;
  color: var(--gray-600);
  line-height: 1.3;
}

.benchmark__text strong {
  color: var(--gray-800);
}

.benchmark__delta {
  font-size: 11px;
  font-weight: 700;
  color: var(--success);
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.th-benchmark,
.td-benchmark {
  color: var(--gray-400) !important;
  font-style: italic;
  font-weight: 400 !important;
  background: rgba(0, 0, 0, 0.015);
  border-left: 1px dashed var(--gray-200);
  font-size: 13px !important;
}

.th-benchmark {
  font-size: 11px !important;
  letter-spacing: 0.3px;
}

.text-success {
  color: var(--success) !important;
}

/* --- Funnel --- */
.funnel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto 48px;
}

.funnel__step {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  transition: transform 0.35s ease-out, box-shadow 0.35s ease-out, border-color 0.35s ease-out;
}

.funnel__step:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.funnel__step-bar {
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.funnel.is-visible .funnel__step-bar {
  transform: scaleX(1);
}

.funnel.is-visible .funnel__step:nth-child(1) .funnel__step-bar {
  transition-delay: 0.1s;
}

.funnel.is-visible .funnel__step:nth-child(2) .funnel__step-bar {
  transition-delay: 0.25s;
}

.funnel.is-visible .funnel__step:nth-child(3) .funnel__step-bar {
  transition-delay: 0.4s;
}

.funnel.is-visible .funnel__step:nth-child(4) .funnel__step-bar {
  transition-delay: 0.55s;
}

.funnel.is-visible .funnel__step:nth-child(5) .funnel__step-bar {
  transition-delay: 0.7s;
}

.funnel__step-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  min-width: 160px;
}

.funnel__step-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-600);
  min-width: 60px;
  text-align: right;
}

.funnel__step-pct {
  font-size: 13px;
  color: var(--gray-400);
  min-width: 50px;
}

/* --- AI Transcript --- */
.transcript {
  max-width: 720px;
  margin: 0 auto 48px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.transcript__header {
  background: var(--gradient-primary);
  padding: 16px 24px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.transcript__body {
  padding: 24px;
}

.transcript__message {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.transcript__message:last-child {
  margin-bottom: 0;
}

.transcript.is-visible .transcript__message:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.transcript.is-visible .transcript__message:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

.transcript.is-visible .transcript__message:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.55s;
}

.transcript.is-visible .transcript__message:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.75s;
}

.transcript.is-visible .transcript__message:nth-child(5) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.95s;
}

.transcript.is-visible .transcript__message:nth-child(6) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.15s;
}

.transcript__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.transcript__avatar--ai {
  background: var(--blue-100);
  color: var(--blue-600);
}

.transcript__avatar--caller {
  background: var(--gray-100);
  color: var(--gray-600);
}

.transcript__bubble {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--gray-700);
  max-width: 85%;
  transition: box-shadow 0.35s ease-out, transform 0.35s ease-out;
}

.transcript__bubble:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.transcript__bubble--ai {
  background: var(--blue-50);
  color: var(--gray-800);
}

.transcript__time {
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 4px;
}

/* --- ROI Section --- */
.roi__highlight {
  background: var(--gradient-primary);
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
  border-radius: var(--radius-xl);
  padding: 56px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

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

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

.roi__headline {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.roi__desc {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

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

.roi__metric {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  backdrop-filter: blur(8px);
  overflow: hidden;
  word-break: break-word;
  transition: transform 0.35s ease-out, background 0.35s ease-out;
}

.roi__metric:hover {
  transform: scale(1.03);
  background: rgba(255, 255, 255, 0.18);
}

.roi__metric-value {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 4px;
}

.roi__metric-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.roi__model {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.roi__model-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.35s ease-out, box-shadow 0.35s ease-out;
}

.roi__model-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.roi__model-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.roi__model-text {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.6;
}

.roi__model-text strong {
  color: var(--gray-900);
  font-weight: 700;
}

/* --- Evidence / Screenshots --- */
.evidence__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.evidence__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: transform 0.35s ease-out, box-shadow 0.35s ease-out, border-color 0.35s ease-out;
  box-shadow: var(--shadow-sm);
}

.evidence__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border-color: var(--blue-200);
}

.evidence__img-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--gray-50);
}

.evidence__img-wrapper img {
  width: 100%;
  display: block;
  transition: transform var(--transition-slow);
}

.evidence__item:hover .evidence__img-wrapper img {
  transform: scale(1.02);
}

.evidence__caption {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}

.evidence__caption strong {
  color: var(--gray-800);
}

/* --- Creative Brand --- */
.creative-brand {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.creative-brand__showcase {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.creative-brand__logo-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.creative-brand__logo-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 16px;
}

.creative-brand__sign-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.creative-brand__sign-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 12px;
}

.creative-brand__heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.creative-brand__tagline {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 32px;
  font-style: italic;
}

.creative-brand__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.creative-brand__detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.creative-brand__detail-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 12px;
}

.creative-brand__detail strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.creative-brand__detail p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-600);
  margin: 0;
}

/* --- Website Showcase --- */
.website-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.website-showcase__devices {
  position: relative;
}

.device-stack {
  position: relative;
  width: 100%;
}

.browser-frame {
  background: var(--gray-100);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--gray-200);
}

.browser-frame__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.browser-frame__dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.browser-frame__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-frame__dot--red {
  background: #ff5f57;
}

.browser-frame__dot--yellow {
  background: #febc2e;
}

.browser-frame__dot--green {
  background: #28c840;
}

.browser-frame__url {
  flex: 1;
  background: var(--white);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--gray-500);
  font-family: var(--font-mono, 'SF Mono', 'Monaco', 'Inconsolata', monospace);
  display: flex;
  align-items: center;
  gap: 6px;
}

.browser-frame__lock {
  font-size: 11px;
}

.browser-frame__viewport {
  height: 580px;
  overflow: hidden;
  position: relative;
  line-height: 0;
}

.browser-frame__viewport img {
  width: 100%;
  height: auto;
  display: block;
}

.phone-overlay {
  position: absolute;
  bottom: -50px;
  right: -40px;
  z-index: 10;
}

.phone-frame {
  width: 220px;
  background: #1a1a1a;
  border-radius: 36px;
  padding: 10px;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.22),
    0 8px 24px rgba(0, 0, 0, 0.12),
    0 0 0 2px rgba(255, 255, 255, 0.08);
  position: relative;
}

.phone-frame__notch {
  width: 90px;
  height: 22px;
  background: #1a1a1a;
  border-radius: 0 0 14px 14px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-frame__viewport {
  border-radius: 28px;
  overflow: hidden;
  height: 440px;
  position: relative;
  line-height: 0;
}

.phone-frame__viewport img {
  width: 100%;
  height: auto;
  display: block;
}

.scroll-img {
  will-change: transform;
}

@keyframes scroll-website {

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

  45%,
  55% {
    transform: translateY(calc(-100% + 580px));
  }

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

@keyframes scroll-mobile {

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

  45%,
  55% {
    transform: translateY(calc(-100% + 440px));
  }

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

@keyframes scroll-website-mobile {

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

  45%,
  55% {
    transform: translateY(calc(-100% + 380px));
  }

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

@keyframes scroll-mobile-sm {

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

  45%,
  55% {
    transform: translateY(calc(-100% + 320px));
  }

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

.website-showcase__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.showcase-feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.showcase-feature__icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.08));
  border-radius: 14px;
}

.showcase-feature__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.showcase-feature__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-600);
  margin: 0;
}

.website-showcase__cta {
  text-align: center;
  margin-top: 80px;
  padding-top: 24px;
  clear: both;
  position: relative;
  z-index: 5;
}

.website-showcase__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--blue-600);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.35s ease-out, transform 0.35s ease-out, box-shadow 0.35s ease-out;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
}

.website-showcase__link:hover {
  background: var(--blue-700);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

/* --- Online Booking System --- */
.booking-montage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.booking-montage__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.booking-montage__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.booking-montage__step-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--gradient-primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.booking-montage__card .evidence__img-wrapper {
  border-radius: 0;
  border: none;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.booking-montage__card .evidence__img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.booking-montage__label {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  padding: 16px 20px 4px;
}

.booking-montage__desc {
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.6;
  padding: 0 20px 20px;
}

.booking-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.booking-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.booking-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.booking-feature__icon {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

.booking-feature__text strong {
  display: block;
  font-size: 15px;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.booking-feature__text p {
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* --- Ecosystem Diagram --- */
.ecosystem {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}

.ecosystem__bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(160px);
  opacity: 0.12;
  pointer-events: none;
}

.ecosystem__bg-glow--1 {
  top: -200px;
  right: -100px;
  background: var(--accent, #60a5fa);
}

.ecosystem__bg-glow--2 {
  bottom: -200px;
  left: -100px;
  background: var(--primary, #2563eb);
}

.ecosystem__diagram {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1;
  margin: 48px auto 60px;
}

.ecosystem__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.ecosystem__hub-inner {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(37, 99, 235, 0.15), 0 0 120px rgba(37, 99, 235, 0.05);
  animation: hub-pulse 4s ease-in-out infinite;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

@keyframes hub-pulse {

  0%,
  100% {
    box-shadow: 0 0 60px rgba(37, 99, 235, 0.3), 0 0 120px rgba(37, 99, 235, 0.1);
  }

  50% {
    box-shadow: 0 0 80px rgba(37, 99, 235, 0.4), 0 0 160px rgba(37, 99, 235, 0.15);
  }
}

.ecosystem__hub-icon {
  font-size: 32px;
  margin-bottom: 4px;
}

.ecosystem__hub-label {
  font-size: 12px;
  font-weight: 700;
  color: white;
  text-align: center;
  line-height: 1.3;
}

.ecosystem__spoke {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ecosystem__node {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
  width: 120px;
  z-index: 2;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.ecosystem__node:hover {
  transform: scale(1.08);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.ecosystem__node-icon {
  font-size: 24px;
  margin-bottom: 6px;
}

.ecosystem__node-title {
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 2px;
}

.ecosystem__node-desc {
  font-size: 11px;
  color: var(--gray-400);
}

.ecosystem__connector {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(99, 179, 237, 0.6), rgba(99, 179, 237, 0));
}

.ecosystem__spoke--1 {
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
}

.ecosystem__spoke--2 {
  top: 15%;
  right: 5%;
  align-items: flex-start;
}

.ecosystem__spoke--2 .ecosystem__connector {
  height: 50px;
  transform: rotate(45deg);
  transform-origin: top center;
}

.ecosystem__spoke--3 {
  bottom: 15%;
  right: 5%;
  flex-direction: column-reverse;
  align-items: flex-start;
}

.ecosystem__spoke--3 .ecosystem__connector {
  height: 50px;
  transform: rotate(-45deg);
  transform-origin: bottom center;
  background: linear-gradient(to top, rgba(99, 179, 237, 0.6), rgba(99, 179, 237, 0));
}

.ecosystem__spoke--4 {
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column-reverse;
}

.ecosystem__spoke--4 .ecosystem__connector {
  background: linear-gradient(to top, rgba(99, 179, 237, 0.6), rgba(99, 179, 237, 0));
}

.ecosystem__spoke--5 {
  bottom: 15%;
  left: 5%;
  flex-direction: column-reverse;
  align-items: flex-end;
}

.ecosystem__spoke--5 .ecosystem__connector {
  height: 50px;
  transform: rotate(45deg);
  transform-origin: bottom center;
  background: linear-gradient(to top, rgba(99, 179, 237, 0.6), rgba(99, 179, 237, 0));
}

.ecosystem__spoke--6 {
  top: 15%;
  left: 5%;
  align-items: flex-end;
}

.ecosystem__spoke--6 .ecosystem__connector {
  height: 50px;
  transform: rotate(-45deg);
  transform-origin: top center;
}

.ecosystem__flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 40px;
}

.ecosystem__flow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.ecosystem__flow-step {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 18px;
  width: 220px;
  min-height: 60px;
}

.ecosystem__flow-num {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--blue-600);
  color: white;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ecosystem__flow-text {
  font-size: 13px;
  color: var(--gray-300);
  line-height: 1.4;
}

.ecosystem__flow-text strong {
  color: white;
}

.ecosystem__flow-arrow {
  font-size: 20px;
  color: var(--blue-400);
  font-weight: 700;
  flex-shrink: 0;
}

.ecosystem__flow-ellipsis {
  font-size: 24px;
  color: var(--blue-400);
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 2px;
}

/* --- Closing Section --- */
.closing {
  background: var(--gradient-dark);
  color: white;
}

.closing .section-label {
  color: var(--blue-300);
  border-color: rgba(96, 165, 250, 0.3);
  background: rgba(96, 165, 250, 0.1);
}

.closing .section-title {
  color: white;
}

.closing__summary {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.closing__stat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 32px;
}

.closing__stat {
  text-align: center;
}

.closing__stat-value {
  font-size: 56px;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.closing__stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.closing__stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
}

.closing__text {
  font-size: 16px;
  color: var(--gray-300);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

.closing__thanks {
  margin-top: 64px;
  text-align: center;
}

.closing__thanks .thanks__divider {
  transform: scaleX(1);
}

.closing__thanks .thanks__title {
  margin-bottom: 16px;
}

.closing__thanks .thanks__subtitle {
  margin: 0 auto;
}

.thanks__divider {
  width: 80px;
  height: 3px;
  background: var(--gradient-hero);
  border-radius: 3px;
  margin: 0 auto 40px;
}

.thanks__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.thanks__title .text-gradient {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shimmer 3s ease-in-out infinite;
}

.thanks__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--blue-200);
  font-weight: 400;
  max-width: 500px;
  margin: 0 auto;
  opacity: 0.85;
}

/* --- Section--gradient (for results/ROI sections) --- */
.section--gradient {
  background: var(--gradient-subtle);
}

/* --- Section pill on dark backgrounds --- */
.section--dark .section-label {
  color: var(--blue-300);
  border-color: rgba(96, 165, 250, 0.3);
  background: rgba(96, 165, 250, 0.1);
}

/* ============================================
   UNITED MEDICAL — RESPONSIVE OVERRIDES (TABLET ≤ 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .built__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .roi__highlight {
    padding: 40px;
  }

  .roi__headline {
    font-size: 36px;
  }

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

/* ============================================
   UNITED MEDICAL — RESPONSIVE OVERRIDES (MOBILE ≤ 768px)
   ============================================ */
@media (max-width: 768px) {
  .challenge__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .built__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .built__card {
    padding: 28px 24px;
  }

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

  .metric-card {
    padding: 20px 12px;
  }

  .metric-card__value {
    font-size: 28px;
  }

  .roi__highlight {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 32px;
  }

  .roi__headline {
    font-size: 32px;
  }

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

  .roi__metric {
    padding: 16px 12px;
  }

  .roi__metric-value {
    font-size: 24px;
  }

  .roi__metric-label {
    font-size: 11px;
  }

  .roi__model {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .funnel__step {
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 16px;
  }

  .funnel__step-label {
    min-width: auto;
    flex: 1;
  }

  .creative-brand {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .creative-brand__showcase {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: stretch;
  }

  .creative-brand__logo-card {
    padding: 16px;
    flex: 0 0 auto;
    width: 100px;
  }

  .creative-brand__logo-img {
    width: 70px;
    height: 70px;
  }

  .creative-brand__sign-card {
    padding: 16px;
    flex: 1;
  }

  .creative-brand__heading {
    font-size: 20px;
    text-align: center;
  }

  .creative-brand__tagline {
    text-align: center;
    margin-bottom: 20px;
  }

  .creative-brand__detail-icon {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .creative-brand__detail strong {
    font-size: 14px;
  }

  .creative-brand__detail p {
    font-size: 13px;
  }

  .website-showcase {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .website-showcase__content {
    gap: 16px;
  }

  .website-showcase__cta {
    margin-top: 24px;
    padding-top: 0;
  }

  .browser-frame__viewport {
    height: 380px;
  }

  .phone-overlay {
    bottom: -30px;
    right: -10px;
  }

  .phone-frame {
    width: 160px;
  }

  .phone-frame__viewport {
    height: 320px;
  }

  .scroll-img--desktop {
    animation-name: scroll-website-mobile;
  }

  .scroll-img--mobile {
    animation-name: scroll-mobile-sm;
  }

  .transcript__message {
    gap: 10px;
  }

  .transcript__bubble {
    max-width: 100%;
  }

  .data-table th,
  .data-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .data-table {
    font-size: 12px;
  }

  .data-table th {
    font-size: 11px;
    padding: 8px 10px;
    letter-spacing: 0;
  }

  .data-table td {
    padding: 8px 10px;
  }

  .th-benchmark,
  .td-benchmark {
    display: none;
  }

  .benchmark {
    padding: 8px 10px;
    gap: 4px;
  }

  .benchmark__text {
    font-size: 11px;
  }

  .benchmark__delta {
    font-size: 10px;
  }

  .booking-montage {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .booking-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Ecosystem mobile */
  .ecosystem {
    padding: 64px 0 60px;
  }

  .ecosystem__diagram {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 100%;
    aspect-ratio: unset;
    margin: 32px auto 40px;
    position: relative;
  }

  .ecosystem__hub {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
  }

  .ecosystem__spoke {
    position: static;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .ecosystem__spoke--3,
  .ecosystem__spoke--4,
  .ecosystem__spoke--5 {
    flex-direction: column;
  }

  .ecosystem__connector {
    display: none;
  }

  .ecosystem__node {
    width: 100%;
    padding: 12px 10px;
    border-radius: 12px;
  }

  .ecosystem__node-icon {
    font-size: 20px;
    margin-bottom: 4px;
  }

  .ecosystem__node-title {
    font-size: 12px;
  }

  .ecosystem__node-desc {
    font-size: 10px;
  }

  .ecosystem__flow-row {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .ecosystem__flow-step {
    width: 100%;
    max-width: 280px;
  }

  .ecosystem__flow-arrow {
    font-size: 0;
  }

  .ecosystem__flow-arrow::after {
    content: '↓';
    font-size: 20px;
  }

  .ecosystem__flow-ellipsis {
    display: none;
  }
}

/* ============================================
   UNITED MEDICAL — RESPONSIVE (SMALL MOBILE ≤ 480px)
   ============================================ */
@media (max-width: 480px) {
  .metrics__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .metric-card {
    padding: 16px 10px;
  }

  .metric-card__value {
    font-size: 24px;
  }

  .metric-card__label {
    font-size: 12px;
  }

  .roi__highlight {
    padding: 24px 16px;
    gap: 24px;
    border-radius: var(--radius-lg);
  }

  .roi__headline {
    font-size: 32px;
  }

  .roi__desc {
    font-size: 15px;
  }

  .roi__metrics {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .roi__metric {
    padding: 14px 10px;
  }

  .roi__metric-value {
    font-size: 22px;
  }

  .roi__metric-label {
    font-size: 10px;
    letter-spacing: 0.3px;
  }

  .benchmark {
    padding: 6px 8px;
  }

  .benchmark__text {
    font-size: 10px;
  }

  .benchmark__delta {
    font-size: 9px;
  }

  .closing__stat-row {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .closing__stat {
    text-align: center;
    width: 100%;
  }

  .closing__stat-value {
    font-size: 48px;
  }

  .closing__stat-label {
    font-size: 12px;
  }

  .closing__stat-divider {
    width: 60px;
    height: 1px;
  }
}