* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Scroll-triggered fade-in */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Reusable interactive cards */
.tsuitsui-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tsuitsui-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Navigation */
.nav-link {
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #FF8C42;
  transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }

#navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

#mobile-menu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}
#mobile-menu.open {
  max-height: 400px;
  opacity: 1;
}

/* Brand visuals */
.blob {
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: blobAnim 8s ease-in-out infinite;
}
@keyframes blobAnim {
  0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  25% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 70% 50% 50% / 30% 60% 40% 70%; }
  75% { border-radius: 50% 50% 40% 60% / 50% 40% 60% 30%; }
}

.speech-bubble {
  position: relative;
  border-radius: 20px;
}
.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 24px;
  border-width: 12px 8px 0;
  border-style: solid;
  border-color: inherit;
}

.gradient-text {
  background: linear-gradient(135deg, #FF8C42, #FF6B9D, #A855F7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dot-pattern {
  background-image: radial-gradient(circle, #FFD16640 1px, transparent 1px);
  background-size: 20px 20px;
}

.highlight-text {
  background: linear-gradient(transparent 60%, #FFD166 60%);
}

.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.download-box {
  background: linear-gradient(135deg, #fff9f0, #fff3dc);
  border: 2px solid #FFD166;
}


/* Infographic refinements */
body {
  background: linear-gradient(180deg, #fffbf2 0%, #fffdf8 24%, #fffaf4 100%);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-kicker::before {
  content: '';
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, #FF8C42, #A855F7);
}
.brand-mark {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.4rem;
  background: linear-gradient(135deg, #FF8C42, #FF6B9D, #A855F7);
  box-shadow: 0 8px 18px rgba(168,85,247,0.22);
}
.hero-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(2px);
  opacity: 0.7;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.7), rgba(255,255,255,0) 35%), linear-gradient(135deg, rgba(255,140,66,0.18), rgba(168,85,247,0.12));
  border: 1px solid rgba(255,255,255,0.5);
}
.info-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 20px 45px rgba(31, 41, 55, 0.08);
}
.info-card:hover { box-shadow: 0 24px 48px rgba(31,41,55,0.12); }
.info-index {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 8px 18px rgba(31, 41, 55, 0.12);
}
.mini-metric {
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,255,255,0.78));
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 12px 28px rgba(31,41,55,0.08);
}
.quote-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.88));
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 18px 40px rgba(31,41,55,0.08);
}
.quote-panel::before {
  content: attr(data-label);
  position: absolute;
  top: -12px;
  left: 20px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #6b7280;
  background: #fff;
  border: 1px solid rgba(229,231,235,0.9);
}
.keyline-card {
  position: relative;
  overflow: hidden;
}
.keyline-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, #FF8C42, #FFD166, #4ECDC4);
}
.process-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.9));
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 16px 36px rgba(31,41,55,0.08);
}
.process-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(17,24,39,0.05);
  color: #374151;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.soft-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.35) 1px, transparent 1px);
  background-size: 26px 26px;
}
