@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@300;400;500;700&display=swap');

  /* ── TOKENS (Purr & Plate Theme) ── */
  :root {
    --b-dark:    #1a2535;   
    --b-mid:     #2e3f58;
    --b-accent:  #6b8cae;   
    --b-soft:    #9ab3cc;   
    --b-sand:    #f4ede0;   
    --b-cream:   #fdf9f3;   
    --b-text:    #1a2535;   
  }

  /* ── Slider Container ── */
  #cinematic-slider {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 650px;
    background: var(--b-dark);
    overflow: hidden;
    font-family: 'DM Sans', sans-serif;
  }

  /* ── Background Image Layer ── */
  .cine-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
  }
  
  .cine-bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease, transform 6s ease;
    transform: scale(1.05);
  }
  
  .cine-bg.active {
    opacity: 1;
    transform: scale(1); /* Slow zoom out effect */
    z-index: 2;
  }
  
  .cine-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* ── Gradient Overlay (Darkens left side for text readability) ── */
  .cine-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to right, 
      rgba(26, 37, 53, 0.95) 0%, 
      rgba(26, 37, 53, 0.6) 40%, 
      transparent 100%
    );
    z-index: 3;
    pointer-events: none;
  }

  /* ── Text Content Layer ── */
  .cine-content-wrap {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    padding: 0 8%;
  }

  .cine-text-slide {
    position: absolute;
    max-width: 650px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .cine-text-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    position: relative;
  }

  /* Text Animations */
  .cine-anim {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .cine-text-slide.active .cine-eyebrow { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
  .cine-text-slide.active .cine-title   { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
  .cine-text-slide.active .cine-desc    { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
  .cine-text-slide.active .cine-btn-box { transition-delay: 0.55s; opacity: 1; transform: translateY(0); }

  /* Typography */
  .cine-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--b-accent);
    margin: 0 0 1.2rem;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .cine-eyebrow::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--b-accent);
  }

  .cine-title {
    font-family: 'Lora', serif;
    font-size: clamp(3rem, 5.5vw, 5rem);
    font-weight: 600;
    color: var(--b-sand);
    line-height: 1.1;
    margin: 0 0 1.5rem;
    text-shadow: 0 10px 30px rgba(26, 37, 53, 0.5);
  }
  .cine-title em {
    font-style: italic;
    color: var(--b-soft);
    font-weight: 400;
  }

  .cine-desc {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(244, 237, 224, 0.85); /* Slightly muted sand */
    line-height: 1.8;
    margin: 0 0 2.5rem;
    max-width: 500px;
  }

  /* Main CTA Button */
  .cine-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--b-dark);
    background: var(--b-sand);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(26, 37, 53, 0.3);
  }
  .cine-btn i { font-style: normal; font-size: 1.1rem; }
  .cine-btn:hover {
    background: var(--b-accent);
    color: var(--b-cream);
    transform: translateY(-4px);
  }

  /* ── Thumbnail Navigation (Bottom Right) ── */
  .cine-thumbs-wrap {
    position: absolute;
    right: 5%;
    bottom: 5%;
    z-index: 10;
    display: flex;
    gap: 16px;
  }

  .cine-thumb {
    width: 100px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(26, 37, 53, 0.4);
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .cine-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 37, 53, 0.6);
    transition: background 0.3s ease;
  }
  
  .cine-thumb:hover {
    transform: translateY(-8px);
  }
  .cine-thumb:hover::after {
    background: rgba(26, 37, 53, 0.2);
  }

  .cine-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Active Thumbnail State */
  .cine-thumb.active {
    transform: translateY(-12px);
    border: 2px solid var(--b-sand);
  }
  .cine-thumb.active::after {
    background: transparent;
  }

  /* Progress Bar on Active Thumbnail */
  .cine-thumb-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--b-accent);
    width: 0%;
    z-index: 5;
  }
  .cine-thumb.active .cine-thumb-progress {
    animation: thumbProgress 6s linear forwards;
  }

  @keyframes thumbProgress {
    0%   { width: 0%; }
    100% { width: 100%; }
  }

  /* ── Responsive ── */
  @media (max-width: 991px) {
    .cine-thumbs-wrap { right: 24px; bottom: 24px; gap: 12px; }
    .cine-thumb { width: 80px; height: 110px; }
    .cine-content-wrap { padding: 0 24px; }
  }

  @media (max-width: 768px) {
    #cinematic-slider { height: 80vh; min-height: 550px; }
    .cine-overlay {
      background: linear-gradient(
        to top, 
        rgba(26, 37, 53, 0.95) 0%, 
        rgba(26, 37, 53, 0.7) 60%, 
        rgba(26, 37, 53, 0.3) 100%
      );
    }
    .cine-content-wrap {
      align-items: flex-end;
      padding: 0 20px 40px;
    }
    .cine-text-slide { text-align: center; }
    .cine-eyebrow { justify-content: center; }
    .cine-eyebrow::before { display: none; }
    .cine-desc { margin: 0 auto 2rem; }
    
    /* Hide thumbnails on small screens, use simple dots instead */
    .cine-thumbs-wrap { display: none; }
    
    .mobile-dots {
      position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%);
      display: flex; gap: 8px; z-index: 10;
    }
    .m-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(244, 237, 224, 0.3); }
    .m-dot.active { background: var(--b-sand); }
  }
  @media (min-width: 769px) { .mobile-dots { display: none; } }