/* ==========================================================================
   JABALABA STUDIOS — VIBRANT CREATIVE STUDIO STYLESHEET
   Inspired by BAL (Acid Lime + Organic Masks + White Pills),
   24/7Artists (Coral + Vertical Grid Lines + Giant Tight Sans),
   and Human Voice Over (Rounded Bento Cards + Fanned Card Stacks)
   ========================================================================== */

:root {
  --jb-lime: #E5FF44;
  --jb-coral: #FF4B3A;
  --jb-blue: #2B7FFF;
  --jb-cream: #F6F5F0;
  --jb-ink: #141414;
  --jb-card-dark: #1E1E1E;
}

html {
  scroll-behavior: smooth;
  background-color: var(--jb-cream);
  color: var(--jb-ink);
  font-family: 'Ubuntu', sans-serif;
  font-variant-emoji: text;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--jb-cream);
  color: var(--jb-ink);
  font-family: 'Ubuntu', sans-serif;
  overflow-x: hidden;
  margin: 0;
}

/* Tight bold headline like 24/7Artists & HVO */
.tight-headline {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

/* Classic editorial display like BAL */
.serif-display {
  font-family: 'Ubuntu', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

/* 24/7Artists Vertical Grid Lines overlay */
.coral-grid-lines {
  background-color: var(--jb-coral);
  background-image: linear-gradient(
    to right,
    rgba(20, 20, 20, 0.1) 1px,
    transparent 1px
  );
  background-size: 90px 100%;
  background-position: center top;
}

/* Smooth Organic Blob Photo Mask */
.cloud-mask-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  margin-left: auto;
  margin-right: auto;
}

.cloud-svg-clip {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  clip-path: url(#jabalaba-cloud-clip);
  -webkit-clip-path: url(#jabalaba-cloud-clip);
}

/* Glowing green bullet from BAL reference */
.bal-bullet {
  width: 11px;
  height: 11px;
  border-radius: 9999px;
  background: radial-gradient(circle, #183B2B 35%, #65B741 70%, rgba(101, 183, 65, 0.25) 100%);
  box-shadow: 0 0 0 3px rgba(101, 183, 65, 0.25);
  flex-shrink: 0;
}

/* Human Voice Over Fanned Card Deck */
.fanned-deck-stage {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 24px 0;
}

.fanned-back-card-1 {
  position: absolute;
  inset: 24px 0;
  border-radius: 28px;
  background: linear-gradient(135deg, #2B7FFF, #1545B8);
  transform: rotate(-5.5deg) translateY(-10px) scale(0.95);
  opacity: 0.85;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fanned-back-card-2 {
  position: absolute;
  inset: 24px 0;
  border-radius: 28px;
  background: #2A2A2A;
  transform: rotate(-2.5deg) translateY(-5px) scale(0.975);
  opacity: 0.9;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fanned-back-card-3 {
  position: absolute;
  inset: 24px 0;
  border-radius: 28px;
  background: #FF4B3A;
  transform: rotate(3.5deg) translateY(4px) scale(0.96);
  opacity: 0.8;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fanned-main-card {
  position: relative;
  z-index: 10;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 60px -15px rgba(0, 0, 0, 0.28);
  transition: transform 0.35s ease;
}

/* Blue tinted studio blueprint card from Image 4 */
.bento-blue-studio {
  background-color: #2B7FFF;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.bento-blue-studio::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43, 127, 255, 0.72) 0%, rgba(25, 88, 210, 0.88) 100%);
  mix-blend-mode: multiply;
}
