/* ============================================================
     SCROLL EXPANSION HERO — Cinematic Video Reveal
     White + Gold + Silver Theme — Integrated into Portfolio
     ============================================================ */
  
  .scroll-expansion-section {
    position: relative;
    width: 100%;
    
    overflow: hidden;
    z-index: 5;
  }
  
  /* ── Background Layer ── */
  .se-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  .se-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  .se-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease;
  }
  
  /* ── Pinned Container (now a static, non-pinned wrapper) ── */
  .se-pinned-container {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 60px 20px;
    box-sizing: border-box;
  }
  
  /* ── Media Wrapper (static, large, responsive — no scroll animation) ── */
  .se-media-wrapper {
    position: relative;
    z-index: 5;
    width: min(94vw, 1100px);
    aspect-ratio: 16 / 9;
    height: auto;
    max-width: 100%;
  }
  
  .se-video-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    
    border: 2px solid rgba(108, 108, 108, 0.3);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .se-video-frame:hover {
    border-color: rgba(108, 108, 108, 0.3);
    box-shadow: 0 25px 70px rgba(184, 150, 12, 0.15), 0 20px 60px rgba(0, 0, 0, 0.5);
  }
  
  .se-vimeo-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
  }
  
  /* ── Play Overlay ── */
  .se-play-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: inherit;
    cursor: pointer;
    transition: opacity 0.4s ease, background 0.3s ease;
  }
  
  .se-play-overlay:hover {
    background: rgba(0, 0, 0, 0.15);
  }
  
  .se-play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
  }
  
  .se-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(192, 192, 192, 0.35);
    border: 1px solid rgba(220, 220, 224, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  }
  
  .se-play-overlay:hover .se-play-btn {
    transform: scale(1.1);
    background: rgba(192, 192, 192, 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  }
  
  .se-play-btn svg {
    width: 28px;
    height: 28px;
    margin-left: 4px;
  }
  
  .se-play-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
  
  /* ── Title Wrapper (was scroll-choreographed; hidden now that the video is static) ── */
  .se-title-wrapper {
    display: none;
  }
  
  .se-title-first,
  .se-title-rest {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 1;
    transition: transform 0.05s linear, opacity 0.3s ease;
    will-change: transform;
  }
  
  .se-title-first {
    background: linear-gradient(180deg, #FFFFFF 0%, #DCDCE0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 20px rgba(184, 150, 12, 0.4));
  }
  
  .se-title-rest {
    color: #FFFFFF;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
  }
  
  /* ── Scroll Prompt (no longer relevant — the video doesn't expand on scroll) ── */
  .se-scroll-prompt {
    display: none;
  }
  
  .se-scroll-prompt.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    pointer-events: none;
  }
  
  .se-scroll-text {
    font-family: 'BBH Bartle', cursive;
    font-size: clamp(0.5rem, 1vw, 0.4rem);
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #B8960C;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  }
  
  .se-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #B8960C, transparent);
    animation: seScrollPulse 2s ease-in-out infinite;
  }
  
  @keyframes seScrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.3); }
  }
  
  /* ── Expanded Content ── */
  .se-expanded-content {
    position: relative;
    z-index: 20;
    background: #FFFFFF;
    padding: 100px 24px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
    min-height: 300px;
  }
  
  .se-expanded-content.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  
  .se-content-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
  }
  
  .se-content-title {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #1a1a2e;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
  }
  
  .se-content-title::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #AFAFB8, #C0C0C0, #AFAFB8);
    bottom: -10px;
    left: 20%;
    border-radius: 2px;
  }
  
  .se-content-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    font-weight: 300;
    line-height: 1.9;
    color: #4a4a5a;
    margin-bottom: 24px;
  }
  
  /* Stats Grid */
  .se-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .se-stat-box {
    background: #FFFFFF;
    border: 1px solid rgba(184, 150, 12, 0.2);
    border-radius: 20px;
    padding: 28px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  }
  
  .se-stat-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(184, 150, 12, 0.12);
    border-color: rgba(184, 150, 12, 0.4);
  }
  
  .se-stat-value {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #AFAFB8;
    line-height: 1;
    letter-spacing: 0.05em;
  }
  
  .se-stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #7a7a8a;
  }
  
  /* ── Responsive ── */
  @media (max-width: 768px) {
    .se-pinned-container {
      padding: 40px 16px;
    }
  
    .se-media-wrapper {
      width: min(94vw, 1100px);
    }
  
    .se-video-frame {
      border-radius: 16px;
    }
  
    .se-stats-grid {
      grid-template-columns: 1fr;
      gap: 16px;
      max-width: 280px;
    }
  
    .se-expanded-content {
      padding: 60px 20px;
    }
  
    .se-play-btn {
      width: 64px;
      height: 64px;
    }
  
    .se-play-btn svg {
      width: 22px;
      height: 22px;
    }
  }
  
  @media (max-width: 360px) {
    .se-pinned-container {
      padding: 28px 10px;
    }
  
    .se-media-wrapper {
      width: 94vw;
    }
  }
  
  @media (max-width: 480px) {
    .se-video-frame {
      border-radius: 12px;
    }
  
    .se-content-title {
      font-size: 2rem;
    }
  }
  
  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .se-media-wrapper,
    .se-title-first,
    .se-title-rest,
    .se-bg-layer,
    .se-scroll-prompt,
    .se-expanded-content {
      transition: none !important;
      animation: none !important;
    }
  }