/* ==========================================================================
   Gr8r Studio Design System & Tokens
   ========================================================================== */

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

:root {
  /* Colors - Gr8r Studio Signature Palette */
  --color-bg: #ffffff;
  --color-bg-subtle: #f7f7f7;
  --color-bg-card: #ffffff;
  --color-bg-dark: #121214;
  --color-text-primary: #191919;
  --color-text-secondary: #666161;
  --color-text-muted: #888888;
  --color-text-on-dark: #fafafa;
  --color-text-muted-on-dark: #a3a3a3;
  --color-accent-brand: #fe370b;
  --color-accent-brand-hover: #e02e06;
  --color-accent-glow: rgba(254, 55, 11, 0.16);
  --color-accent-blue: #fe370b; /* Aliased to Gr8r Studio signature electric red-orange */
  --color-accent-blue-hover: #e02e06;
  --color-border: #e8e7e7;
  --color-border-dark: #262626;
  --color-tag-bg: #f4f4f6;
  --color-tag-text: #191919;
  --color-star: #f5a623;

  /* Typography - Gr8r Studio Font System */
  --font-heading: 'Funnel Display', sans-serif;
  --font-body: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Geist Mono', monospace;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions & Springs (Gr8r Studio Framer Curves) */
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

section[id] {
  scroll-margin-top: 90px;
}

body {
  background: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

button, [role="button"] {
  cursor: pointer;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 80px;
  padding-right: 80px;
}

@media (max-width: 1280px) {
  .container {
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Typography styles */
.heading-hero {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6.5vw, 82px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--color-text-primary);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.5vw, 68px);
  line-height: 1.12;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

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

.section-subtitle {
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  font-size: 17px;
  line-height: 1.6;
  max-width: 580px;
  letter-spacing: -0.015em;
}

.section-subtitle-dark {
  color: var(--color-text-muted-on-dark);
}

.text-accent {
  color: var(--color-accent-brand);
}

/* Gr8r Studio Badge & Status Dot */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(254, 55, 11, 0.08);
  border: 1px solid rgba(254, 55, 11, 0.2);
  color: var(--color-accent-brand);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@keyframes gr8rPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(254, 55, 11, 0.55);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(254, 55, 11, 0);
    transform: scale(1.08);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(254, 55, 11, 0);
    transform: scale(1);
  }
}

.gr8r-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent-brand);
  box-shadow: 0 0 8px rgba(254, 55, 11, 0.6);
  animation: gr8rPulse 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  vertical-align: middle;
  margin-right: 8px;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base), color var(--transition-base);
  user-select: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--color-accent-blue);
  color: #ffffff;
  padding: 18px 34px;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  background: var(--color-accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(254, 55, 11, 0.25);
}

.btn-primary-sm {
  background: var(--color-accent-blue);
  color: #ffffff;
  padding: 12px 28px;
  font-size: 15px;
}

.btn-primary-sm:hover {
  background: var(--color-accent-blue-hover);
  transform: translateY(-1px);
}

.btn-nav {
  background: var(--color-accent-blue);
  color: #ffffff;
  padding: 12px 26px;
  font-size: 15px;
  border-radius: var(--radius-full);
}

.btn-nav:hover {
  background: var(--color-accent-blue-hover);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1.5px solid var(--color-border);
  color: var(--color-text-primary);
  padding: 14px 28px;
  font-size: 15px;
}

.btn-outline:hover {
  border-color: var(--color-text-primary);
  background: var(--color-bg-subtle);
}

/* Circular Arrow Buttons */
.arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: #ffffff;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.arrow-btn:hover {
  background: var(--color-text-primary);
  border-color: var(--color-text-primary);
  color: #ffffff;
}

/* Sections */
.section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}

.section-dark {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}

@media (max-width: 768px) {
  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--transition-base), border var(--transition-base), backdrop-filter var(--transition-base), transform var(--transition-base);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.brand-mark {
  width: 32px;
  height: 32px;
  background: var(--color-accent-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-primary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-base);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-blue);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--color-accent-blue);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 8px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-primary);
  transition: all 0.3s;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateY(-120%);
  transition: transform var(--transition-slow);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  z-index: 99;
}

.mobile-drawer.open {
  transform: translateY(0);
}

.mobile-drawer .nav-link {
  font-size: 18px;
  font-weight: 600;
  padding: 8px 0;
}

@media (max-width: 900px) {
  .nav-links, .nav-right .btn-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: clamp(120px, 16vh, 180px);
  padding-bottom: clamp(60px, 10vh, 110px);
  overflow: hidden;
  text-align: center;
}

.hero-center-wrap {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-center-wrap > .reveal {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(254, 55, 11, 0.08);
  border: 1px solid rgba(254, 55, 11, 0.2);
  color: var(--color-accent-brand);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.hero-tag-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-brand);
  box-shadow: 0 0 8px rgba(254, 55, 11, 0.6);
  animation: gr8rPulse 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero-title {
  margin-bottom: 24px;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-align: center;
}

.hero-desc {
  font-size: 20px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0 auto 38px;
  max-width: 740px;
  text-align: center;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions .btn-primary,
.hero-actions .hero-badge-pill {
  height: 58px;
  min-height: 58px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
}

.hero-actions .btn-primary {
  padding: 0 32px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-badge-pill {
  gap: 10px;
  padding: 0 24px;
  border: 1px solid var(--color-border);
  background: #ffffff;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-text-primary);
  transition: all var(--transition-base);
}

.hero-badge-pill:hover {
  border-color: #d4d4d4;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.stars {
  color: var(--color-star);
  letter-spacing: 2px;
  font-size: 14px;
}

/* Hero Right: Interactive Profile & Live Status Card */
.hero-card-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-profile-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  position: relative;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.hero-profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fe370b, #fd8068);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 22px;
  position: relative;
  overflow: visible;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.profile-avatar-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 18px;
  height: 18px;
  background: var(--color-accent-brand);
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(254, 55, 11, 0.4);
}

.profile-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.profile-role {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.profile-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 20px 0;
  text-align: center;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-val {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.metric-lbl {
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.profile-status-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-bg-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--color-text-secondary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-brand);
  box-shadow: 0 0 8px rgba(254, 55, 11, 0.5);
  animation: gr8rPulse 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  margin-right: 8px;
}

/* ==========================================================================
   Trust Bar & Marquee
   ========================================================================== */
.trust-section {
  padding-bottom: 70px;
  background: var(--color-bg);
  overflow: hidden;
}

.trust-heading {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 36px;
  letter-spacing: 0.02em;
}

.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: marquee 30s linear infinite;
  flex-shrink: 0;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.7;
  transition: opacity var(--transition-base);
  font-size: 16px;
  font-weight: 700;
  color: #171717;
}

.marquee-item:hover {
  opacity: 1;
}

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

/* ==========================================================================
   Case Studies Grid (16pixel Style)
   ========================================================================== */
.case-studies-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 60px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 32px;
  row-gap: 56px;
  align-items: stretch;
}

.case-grid > div {
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (max-width: 860px) {
  .case-grid {
    grid-template-columns: 1fr;
    row-gap: 44px;
  }
}

.case-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform var(--transition-slow);
}

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

.case-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card:hover .case-card-thumb {
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(254, 55, 11, 0.25);
}

.case-card-thumb img,
.case-card-thumb video,
.case-card-thumb svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.case-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.case-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
}

.case-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-text-primary);
  letter-spacing: -0.025em;
  max-width: 100%;
  transition: color var(--transition-base);
}

.case-card:hover .case-title {
  color: var(--color-accent-brand);
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  transition: all var(--transition-base);
  margin-top: auto;
  padding-top: 6px;
}

.case-link span {
  display: inline-block;
  transition: transform var(--transition-base);
}

.case-card:hover .case-link {
  color: var(--color-accent-brand);
  gap: 12px;
}

.case-card:hover .case-link span {
  transform: translateX(4px);
}

/* ==========================================================================
/* ==========================================================================
   Expertise Section (2-Column Bento Grid View)
   ========================================================================== */
.expertise-section {
  background: #fbfbfd;
  padding-top: 110px;
  padding-bottom: 110px;
  border-top: 1px solid #ededf0;
  border-bottom: 1px solid #ededf0;
}

.expertise-header {
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.expertise-header .section-subtitle {
  max-width: 680px;
  margin: 12px 0 0 0;
  color: var(--color-text-secondary);
}

/* 2x2 Symmetrical Bento Grid */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
  width: 100%;
}

.expertise-card {
  background: #ffffff;
  border: 1px solid #e7e8ec;
  border-radius: 24px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}

.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(254, 55, 11, 0.25);
  border-color: rgba(254, 55, 11, 0.3);
}

.exp-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.expertise-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #191919;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.25s ease;
}

.expertise-card:hover .expertise-icon-box {
  transform: scale(1.06);
}

.exp-card-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fe370b;
  background: #fff3f0;
  border: 1px solid rgba(254, 55, 11, 0.2);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.exp-card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.exp-card-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #191919;
  margin: 0;
}

.exp-card-desc {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.55;
  color: #666161;
  margin: 0;
}

.exp-card-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #f1f1f4;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Card 1 Metric Row */
.exp-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: #fafafc;
  border: 1px solid #ededf0;
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
}

.exp-metric-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.exp-metric-value {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #191919;
  letter-spacing: -0.02em;
}

.exp-metric-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: #888484;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.exp-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #374151;
}

/* Card 2 Velocity Tracker */
.exp-velocity-box {
  background: #fafafc;
  border: 1px solid #ededf0;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.exp-velocity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.exp-velocity-pulse {
  display: flex;
  align-items: center;
  gap: 8px;
}

.exp-velocity-title {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: #191919;
}

.exp-velocity-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #10b981;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 2px 8px;
  border-radius: 100px;
}

.exp-velocity-track {
  width: 100%;
  height: 6px;
  background: #e5e7eb;
  border-radius: 100px;
  overflow: hidden;
}

.exp-velocity-bar {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #fe370b 100%);
  border-radius: 100px;
}

.exp-velocity-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: #666161;
}

/* Card 3 Stat Grid */
.exp-stat-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.exp-stat-tile {
  background: #fafafc;
  border: 1px solid #ededf0;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.exp-stat-num {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #fe370b;
  letter-spacing: -0.03em;
}

.exp-stat-lbl {
  font-size: 11.5px;
  font-weight: 600;
  color: #666161;
}

/* Card 4 Interactive Canvas Showcase */
.exp-interactive-canvas {
  background-color: #fafbfc;
  background-image: radial-gradient(#d1d5db 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  border: 1px solid #e7e8ec;
  border-radius: 16px;
  padding: 24px 16px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  overflow: hidden;
  position: relative;
}

.sub-modal-wrap {
  width: 100%;
  max-width: 380px;
  position: relative;
}

.sub-card-peek {
  width: 82%;
  height: 14px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px 14px 0 0;
  opacity: 0.9;
  transform: translateY(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.sub-modal-card {
  background: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 16px;
  padding: 20px 22px 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  width: 100%;
  position: relative;
  z-index: 2;
}

.sub-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.sub-card-title {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  color: #111827;
  letter-spacing: -0.2px;
}

.sub-card-check {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sub-skeleton-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.skeleton-bar {
  height: 10px;
  border-radius: 5px;
}

.skeleton-bar-long {
  width: 65%;
  background: linear-gradient(90deg, #e5e7eb 0%, #f1f3f5 100%);
}

.skeleton-bar-short {
  width: 38%;
  height: 12px;
  background: #eaedf0;
}

.skeleton-pill {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #eaedf0;
}

.sub-action-drawer {
  margin-top: -18px;
  position: relative;
  z-index: 3;
  background: #f4f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.sub-btn {
  border-radius: 8px;
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.sub-btn-cancel {
  flex: 1;
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sub-btn-cancel:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.sub-pause-wrapper {
  flex: 1;
  position: relative;
}

.sub-btn-pause {
  width: 100%;
  background: #fe370b;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(254, 55, 11, 0.35);
}

.sub-btn-pause:hover {
  background: #e02e06;
  transform: translateY(-1px);
}

.multiplayer-cursor {
  position: absolute;
  right: 8px;
  bottom: -10px;
  display: flex;
  align-items: flex-start;
  pointer-events: none;
  animation: floatCursor 3.5s ease-in-out infinite alternate;
  z-index: 10;
}

.cursor-pointer {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.cursor-tag {
  background: #fe370b;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(254, 55, 11, 0.4);
  margin-left: 2px;
  transform: translateY(4px);
  display: inline-block;
}

@keyframes floatCursor {
  0% { transform: translate(0, 0); }
  50% { transform: translate(4px, -3px); }
  100% { transform: translate(0, 0); }
}

/* Complementary Skills Pill Strip */
.expertise-pills-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 44px auto 0;
}

.expertise-pill {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: #4b5563;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.expertise-pill:hover {
  border-color: var(--color-accent-brand);
  color: var(--color-accent-brand);
  transform: translateY(-2px);
}

/* Responsive Grid Breakpoints */
@media (max-width: 960px) {
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .expertise-card {
    padding: 28px 24px;
  }
}

@media (max-width: 480px) {
  .sub-action-drawer {
    flex-direction: column;
  }
  .exp-metric-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}


/* ==========================================================================
   Testimonials Marquee (Dual Streams - Left/Right & Right/Left)
   ========================================================================== */
.testimonials-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0 110px;
  background: #fafafa;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(circle, rgba(254, 215, 170, 0.4) 0%, rgba(254, 235, 226, 0.35) 40%, rgba(250, 250, 250, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.testimonials-header-center {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.testimonials-pill-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #ffedd5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonials-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
}

.testimonials-hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: #0f172a;
  padding-left: 4px;
}

.testimonials-streams-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.testimonials-stream-row {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
  gap: 24px;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  padding: 32px 0 44px;
  margin-top: -16px;
  margin-bottom: -16px;
}

.testimonials-marquee-group {
  display: flex;
  align-items: stretch;
  gap: 24px;
  flex-shrink: 0;
  will-change: transform;
}

.testimonials-stream-row:hover .testimonials-marquee-group {
  animation-play-state: paused;
}

.testimonials-marquee-group.scroll-left {
  animation: testimonialMarqueeLeft 40s linear infinite;
}

.testimonials-marquee-group.scroll-right {
  animation: testimonialMarqueeRight 40s linear infinite;
}

@keyframes testimonialMarqueeLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 24px));
  }
}

@keyframes testimonialMarqueeRight {
  0% {
    transform: translateX(calc(-100% - 24px));
  }
  100% {
    transform: translateX(0);
  }
}

.test-review-card {
  width: 390px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  padding: 28px 28px 24px;
  gap: 16px;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.test-review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
}

.test-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.test-avatar-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.test-avatar-wrap.ring-teal {
  background: #dcfce7;
  border: 2px solid #86efac;
}

.test-avatar-wrap.ring-peach {
  background: #ffedd5;
  border: 2px solid #fdba74;
}

.test-avatar-wrap.ring-blue,
.test-avatar-wrap.ring-orange {
  background: #fff3f0;
  border: 2px solid rgba(254, 55, 11, 0.35);
}

.test-avatar-wrap.ring-purple {
  background: #f3e8ff;
  border: 2px solid #d8b4fe;
}

.test-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.test-author-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.test-author-name {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.test-author-role {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.test-card-quote {
  font-size: 14px;
  line-height: 1.65;
  color: #334155;
  margin: 0;
  flex-grow: 1;
  font-weight: 400;
}

.test-card-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  margin-top: 4px;
}

@media (max-width: 640px) {
  .test-review-card {
    width: 320px;
    padding: 22px 20px 20px;
  }
  .testimonials-hero-title {
    font-size: 32px;
  }
}

/* ==========================================================================
   Schedule a Call (Interactive Booking Widget)
   ========================================================================== */
.booking-card {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
}

@media (max-width: 980px) {
  .booking-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 32px;
  }
}

.booking-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.booking-host {
  display: flex;
  align-items: center;
  gap: 16px;
}

.booking-host-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
}

.booking-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  color: var(--color-text-secondary);
}

.booking-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.calendar-widget {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cal-month {
  font-weight: 700;
  font-size: 18px;
}

.cal-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  text-align: center;
}

.cal-day-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  padding-bottom: 8px;
}

.cal-day {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cal-day:hover:not(.disabled) {
  background: #EEF2FF;
  color: var(--color-accent-blue);
}

.cal-day.selected {
  background: var(--color-accent-blue);
  color: #ffffff;
  font-weight: 700;
}

.cal-day.disabled {
  color: #d1d5db;
  cursor: not-allowed;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.time-slot-btn {
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: all var(--transition-fast);
}

.time-slot-btn:hover {
  border-color: var(--color-accent-blue);
  color: var(--color-accent-blue);
}

.time-slot-btn.selected {
  background: var(--color-accent-blue);
  border-color: var(--color-accent-blue);
  color: #ffffff;
}

/* ==========================================================================
   Connect / Contact Form
   ========================================================================== */
.contact-card {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 980px) {
  .contact-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.contact-art-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 480px;
  position: relative;
  background: #171717;
}

.contact-art-wrap svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 16px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
}

.contact-input, .contact-select, .contact-textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  padding: 16px;
  font-size: 16px;
  color: #171717;
  outline: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.contact-input:focus, .contact-select:focus, .contact-textarea:focus {
  border-color: var(--color-accent-blue);
  box-shadow: 0 0 0 3px rgba(254, 55, 11, 0.15);
}

.contact-textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-select {
  cursor: pointer;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: flex-start;
}

@media (max-width: 980px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.faq-sticky {
  position: sticky;
  top: 120px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  text-align: left;
  gap: 24px;
}

.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 8px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.faq-item.active .faq-content {
  max-height: 300px;
  padding-bottom: 28px;
}

/* ==========================================================================
   Signature 16pixel Footer ("Let's Talk")
   ========================================================================== */
.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  padding-top: 90px;
  padding-bottom: 0;
  overflow: hidden;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.footer-brand {
  flex: 1 0 340px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-giant-heading {
  font-family: var(--font-heading);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-text-on-dark);
}

.footer-email-link {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(20px, 3vw, 36px);
  color: var(--color-text-on-dark);
  transition: color var(--transition-base);
}

.footer-email-link:hover {
  color: var(--color-accent-brand);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-on-dark);
  transition: all var(--transition-base);
}

.footer-social-btn:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
  transform: translateY(-2px);
}

.footer-nav-cols {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted-on-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-link {
  font-size: 16px;
  color: var(--color-text-on-dark);
  transition: color var(--transition-base);
}

.footer-link:hover {
  color: var(--color-accent-blue);
}

.footer-banner-art {
  width: 100%;
  line-height: 0;
  border-top: 1px solid var(--color-border-dark);
  padding-top: 40px;
  padding-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--color-text-muted-on-dark);
}

/* ==========================================================================
   Case Study Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-window {
  background: #ffffff;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  border-radius: var(--radius-xl);
  overflow-y: auto;
  position: relative;
  padding: 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.3s;
}

.modal-overlay.open .modal-window {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #171717;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #171717;
  color: #ffffff;
}

/* Scroll Reveals */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #171717;
  color: #ffffff;
  padding: 16px 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   16pixel Case Study Template Styles
   ========================================================================== */
.cs-hero-section {
  background: #ffffff;
  padding-top: 140px;
  padding-bottom: 64px;
}

.label-caps {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.label-caps:hover {
  color: var(--color-accent-blue);
}

.cs-brand-logo-wrap {
  margin-top: 36px;
  margin-bottom: 24px;
}

.cs-pitch-title {
  font-family: var(--font-body);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  line-height: 1.4;
  color: #171717;
  max-width: 820px;
}

.cs-stage-banner {
  background: #0f0f0f;
  overflow: hidden;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-stage-banner .container {
  display: flex;
  justify-content: center;
}

.cs-stage-mockup {
  width: 100%;
  max-width: 1180px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cs-overview-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 80px;
  align-items: flex-start;
}

@media (max-width: 980px) {
  .cs-overview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.cs-overview-text {
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 36px;
  color: #404040;
  margin-bottom: 24px;
}

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

.cs-services-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-service-item {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: #171717;
  line-height: 1.4;
}

.heading-sentence-case {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.22;
  color: #171717;
  margin-bottom: 16px;
}

.heading-sentence-case-dark {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.22;
  color: #f5f5f5;
  margin-bottom: 16px;
}

.cs-lead-desc {
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 34px;
  color: #404040;
  max-width: 720px;
  margin-bottom: 48px;
}

.cs-lead-desc-dark {
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 34px;
  color: #a3a3a3;
  max-width: 720px;
  margin-bottom: 48px;
}

.cs-mockup-frame {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--color-border);
  background: #ffffff;
}

/* Before / After Rows */
.cs-ba-wrapper {
  display: flex;
  flex-direction: column;
}

.cs-ba-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px 0;
  border-top: 1px solid #2a2a2a;
}

.cs-ba-row:first-child {
  border-top: none;
  padding-top: 0;
}

.cs-ba-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 768px) {
  .cs-ba-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.cs-ba-label {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 400;
  color: #525252;
  line-height: 1.2;
}

.cs-ba-preview {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #333333;
}

/* Screen Gallery Strip */
.cs-gallery-strip {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 40px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.cs-gallery-strip::-webkit-scrollbar {
  height: 6px;
}

.cs-gallery-strip::-webkit-scrollbar-thumb {
  background: #333333;
  border-radius: 3px;
}

.cs-gallery-item {
  flex: 0 0 520px;
  max-width: 85vw;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  border: 1px solid #2e2e2e;
  scroll-snap-align: start;
}

/* Next Project Bottom Banner */
.cs-next-project-section {
  border-top: 1px solid var(--color-border);
  padding: 50px 0;
  background: #ffffff;
}

.cs-next-project-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: all var(--transition-base);
}

.cs-next-project-link:hover .cs-next-arrow {
  background: var(--color-accent-blue);
  border-color: var(--color-accent-blue);
  color: #ffffff;
  transform: translateX(4px);
}

.cs-next-project-link:hover .cs-next-title {
  color: var(--color-accent-blue);
}

.cs-next-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 400;
  color: var(--color-text-primary);
  line-height: 1.2;
  transition: color var(--transition-fast);
}

.cs-next-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-text-primary);
  transition: all var(--transition-base);
}

/* Media support for case study mockups & galleries */
.cs-stage-mockup img,
.cs-stage-mockup video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.cs-ba-preview img,
.cs-ba-preview video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.cs-gallery-item img,
.cs-gallery-item video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.cs-mockup-frame img,
.cs-mockup-frame video {
  width: 100%;
  height: auto;
  display: block;
}

/* Video Player Wrapper with subtle controls & fallback */
.video-showcase-box {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #000000;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-showcase-box video {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Selected Portfolio Shots (Dual-Track Auto-Scrolling Stream)
   ========================================================================== */
.section-shots {
  padding: 96px 0 110px;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}

.shots-stream-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

.shots-stream-row {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.shots-stream-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  flex-shrink: 0;
  will-change: transform;
}

.shots-stream-track.scroll-left {
  animation: shotsScrollLeft 52s linear infinite;
}

.shots-stream-track.scroll-right {
  animation: shotsScrollRight 52s linear infinite;
}

.shots-stream-row:hover .shots-stream-track {
  animation-play-state: paused;
}

@keyframes shotsScrollLeft {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes shotsScrollRight {
  0% {
    transform: translate3d(-50%, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

.stream-card {
  width: 400px;
  flex-shrink: 0;
  display: block;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.stream-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(254, 55, 11, 0.25);
  border-color: rgba(254, 55, 11, 0.4);
}

.stream-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #f1f5f9;
  position: relative;
  display: block;
}

.stream-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stream-card:hover .stream-card-thumb img {
  transform: scale(1.06);
}

.stream-card-info {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stream-card-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent-blue);
}

.stream-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stream-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.badge-upwork {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #14A800;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.badge-upwork:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .section-shots {
    padding: 70px 0 80px;
  }
  .stream-card {
    width: 290px;
  }
  .shots-stream-track {
    gap: 16px;
  }
  .shots-stream-wrapper {
    gap: 16px;
    margin-top: 32px;
  }
}

/* ==========================================================================
   Work Experience (Scroll Animation & Sticky Sidebar)
   ========================================================================== */
.experience-section {
  background: var(--color-bg-subtle);
  position: relative;
  overflow: visible;
  padding: 110px 0 120px;
}

.experience-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 64px;
  position: relative;
}

.experience-sticky-sidebar {
  flex: 0 0 340px;
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
}

.experience-sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.experience-badge {
  display: inline-block;
  padding: 6px 14px;
  background: #eef2ff;
  color: var(--color-accent-blue);
  border: 1px solid #c7d2fe;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
}

.experience-main-title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

.experience-lead {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

.experience-step-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  padding-left: 4px;
  border-left: 2px solid #e2e8f0;
}

.exp-step-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--color-text-muted);
  transition: all var(--transition-base);
  position: relative;
  margin-left: -6px;
}

.exp-step-btn:hover {
  color: var(--color-text-primary);
  background: rgba(0, 0, 0, 0.03);
}

.exp-step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px #cbd5e1;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.exp-step-btn.active {
  color: var(--color-accent-blue);
  background: rgba(254, 55, 11, 0.08);
}

.exp-step-btn.active .exp-step-dot {
  background: var(--color-accent-blue);
  box-shadow: 0 0 0 3px rgba(254, 55, 11, 0.25);
  transform: scale(1.25);
}

.exp-step-text {
  display: flex;
  flex-direction: column;
}

.exp-step-company {
  font-size: 14.5px;
  font-weight: 600;
  color: inherit;
}

.exp-step-period {
  font-size: 12px;
  color: var(--color-text-muted);
}

.exp-step-btn.active .exp-step-company {
  color: var(--color-text-primary);
  font-weight: 700;
}

.experience-sidebar-footer {
  margin-top: 10px;
}

.exp-linkedin-btn {
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 20px;
}

/* Right Timeline Column */
.experience-timeline-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 36px;
  position: relative;
  padding-left: 28px;
}

.experience-timeline-track {
  position: absolute;
  top: 24px;
  bottom: 40px;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-accent-blue) 0%, #cbd5e1 75%, transparent 100%);
  border-radius: 2px;
}

.exp-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  scroll-margin-top: 120px;
}

.exp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.exp-card.active {
  border-color: rgba(254, 55, 11, 0.4);
  box-shadow: 0 16px 40px rgba(254, 55, 11, 0.08), 0 2px 10px rgba(0, 0, 0, 0.03);
}

.exp-node-marker {
  position: absolute;
  top: 36px;
  left: -35px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--color-accent-blue);
  box-shadow: 0 0 0 4px rgba(254, 55, 11, 0.18);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.exp-card.active .exp-node-marker {
  background: var(--color-accent-blue);
  box-shadow: 0 0 0 6px rgba(254, 55, 11, 0.28);
  transform: scale(1.15);
}

.exp-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
}

.exp-company-tag {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-accent-blue);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.exp-role-title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.25;
}

.exp-period-pill {
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  background: var(--color-tag-bg);
  color: var(--color-tag-text);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.exp-period-pill.current {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.pulse-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.exp-period-pill.verified {
  background: #fff3f0;
  color: #fe370b;
  border: 1px solid rgba(254, 55, 11, 0.25);
}

.cert-check {
  font-weight: 800;
  color: #fe370b;
}

.exp-card-summary {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

.exp-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  padding-left: 20px;
}

.exp-bullet-list li {
  position: relative;
}

.exp-skills-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.exp-pill {
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 12px;
  background: #f1f5f9;
  color: #475569;
  border-radius: var(--radius-full);
  border: 1px solid #e2e8f0;
}

.credentials-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 6px;
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all var(--transition-base);
}

.credential-item:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.credential-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.credential-link:hover {
  background: #ffffff;
  border-color: rgba(254, 55, 11, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(254, 55, 11, 0.12);
}

.google-icon-wrap {
  background: #ffffff !important;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.credential-verify-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-accent-blue);
  background: #fff3f0;
  border: 1px solid rgba(254, 55, 11, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.credential-link:hover .credential-verify-badge {
  background: var(--color-accent-blue);
  color: #ffffff;
  border-color: var(--color-accent-blue);
}

.credential-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff3f0;
  color: var(--color-accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.degree-item .credential-icon {
  background: #fdf4ff;
  color: #c026d3;
}

.credential-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.credential-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.35;
}

.credential-issuer {
  font-size: 13px;
  color: var(--color-text-secondary);
}

/* Floating Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--color-accent-blue);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(254, 55, 11, 0.35);
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .experience-wrapper {
    flex-direction: column;
    gap: 40px;
  }
  .experience-sticky-sidebar {
    position: static;
    flex: none;
    width: 100%;
  }
  .experience-step-nav {
    display: none;
  }
  .experience-timeline-content {
    padding-left: 20px;
  }
  .exp-node-marker {
    left: -27px;
  }
}

@media (max-width: 640px) {
  .exp-card {
    padding: 24px 20px;
  }
  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

