  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  /* scroll handled by JS with custom easing */

  :root {
    --bg:       #040c1e;
    --navy:     #071430;
    --navy2:    #0c1d42;
    --accent:   #0072d2;
    --accent-d: #0058a8;
    --text:     #f0f0f0;
    --muted:    rgba(240,240,240,0.45);
    --subtle:   rgba(240,240,240,0.12);
    --border:   rgba(255,255,255,0.07);
    --glow:     rgba(0,114,210,0.2);
    --topbar-h:      64px;
  }

  html { scroll-behavior: auto; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.7;
    overflow-x: clip;
  }

  /* ═══════════════════════
     SPLASH
  ═══════════════════════ */
  #splash {
    position: fixed;
    inset: 0;
    background: #020812;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
    cursor: pointer;
  }
  #splash.out { opacity: 0; pointer-events: none; }

  .splash-mono {
    width: min(240px, 55vw);
    height: min(240px, 55vw);
    object-fit: contain;
    mix-blend-mode: screen;
  }

  .splash-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
  }

  .splash-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--text);
    margin-top: 28px;
    margin-right: -0.35em; /* compensate trailing letter-spacing for visual centering */
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .splash-name span { color: var(--accent); }
  .splash-name.show { opacity: 1; transform: translateY(0); }

  .splash-tagline {
    font-size: 12px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.7s ease 0.3s;
  }
  .splash-tagline.show { opacity: 1; }

  .splash-skip {
    position: absolute;
    bottom: 44px; right: 44px;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    background: none;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 9px 18px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
  }
  .splash-skip:hover { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.3); }

  /* ═══════════════════════
     PLATFORM SHELL
  ═══════════════════════ */
  #platform {
    opacity: 0;
    transition: opacity 0.7s ease;
  }
  #platform.show { opacity: 1; }

  /* ═══════════════════════
     VALLE+ LOGO (shared)
  ═══════════════════════ */
  .valleplus-logo {
    display: block;
    width: auto;
    mix-blend-mode: screen;
  }
  .valleplus-logo.--xl  { height: 80px; }
  .valleplus-logo.--lg  { height: 48px; }
  .valleplus-logo.--md  { height: 40px; }
  .valleplus-logo.--sm  { height: 28px; }
  .valleplus-logo.--xs  { height: 24px; }

  /* ═══════════════════════
     TOP PILL BAR
  ═══════════════════════ */
  .pill-bar {
    position: fixed;
    top: max(16px, env(safe-area-inset-top));
    left: 50%;
    transform: translateX(-50%);
    z-index: 300;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 12px;
    background: rgba(4, 10, 24, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 9999px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
  }

  .brand-lock {
    display: none;
  }

  .pill-bar-brand {
    display: flex;
    align-items: center;
    padding: 4px 12px 4px 8px;
    border-right: 1px solid var(--border);
    margin-right: 4px;
  }
  .pill-bar-brand img {
    height: 30px;
    width: auto;
    display: block;
    mix-blend-mode: screen;
  }

  .pill-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 9999px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
    cursor: pointer;
    background: none;
    border: none;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .pill-bar-item:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.12);
  }
  .pill-bar-item.active {
    background: #fff;
    color: #0a0a0a;
  }
  .pill-bar-item.active:hover {
    background: #fff;
    color: #0a0a0a;
  }
  .pill-bar-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .pill-bar-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: visible;
    flex-shrink: 0;
    cursor: pointer;
    margin-left: 8px;
    border: none;
    padding: 0;
    background: none;
    position: relative;
  }
  .pill-bar-avatar::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: 0.6;
    animation: avatar-pulse 2.4s ease-in-out infinite;
  }
  @keyframes avatar-pulse {
    0%, 100% { opacity: 0.25; transform: scale(1); }
    50%      { opacity: 0.8; transform: scale(1.12); }
  }
  .pill-bar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    position: relative;
    z-index: 1;
  }
  .corner-avatar {
    position: fixed;
    top: max(16px, env(safe-area-inset-top));
    right: 24px;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    z-index: 1100;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.15);
    padding: 0;
    background: none;
    transition: transform 0.2s, border-color 0.2s;
  }
  .corner-avatar:hover {
    transform: scale(1.08);
    border-color: rgba(255,255,255,0.4);
  }
  .corner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .pill-bar-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e53e3e;
    border: 2px solid rgba(4, 10, 24, 0.82);
    animation: badge-sonar 2s ease-out infinite;
  }
  @keyframes badge-sonar {
    0% { box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(229, 62, 62, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 62, 62, 0); }
  }

  /* Recruiter panel flies out to the right */
  .rail-recruiter-panel {
    position: fixed;
    right: 20px;
    top: calc(var(--topbar-h) + 24px);
    bottom: auto;
    background: #0a1628;
    border: 1px solid var(--border);
    width: 300px;
    box-shadow: 8px 8px 40px rgba(0,0,0,0.6);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 300;
  }
  .rail-recruiter-panel.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }
  .rp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 12px;
    border-bottom: 1px solid var(--border);
    cursor: grab;
  }
  .rp-wordmark {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--text);
  }
  .rp-wordmark span { color: var(--accent); }
  .rp-close {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
  }
  .rp-close:hover { background: rgba(255,255,255,0.12); color: var(--text); }
  .rp-body { padding: 16px 16px 18px; }
  .rp-headline {
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
  }
  .rp-subline {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
    margin-bottom: 14px;
  }
  .rp-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
  }
  .rp-perk {
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0,114,210,0.9);
    border: 1px solid rgba(0,114,210,0.25);
    padding: 4px 10px;
  }
  .rp-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
  }
  .rp-fields input, .rp-fields textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    padding: 9px 12px;
    outline: none;
    width: 100%;
    transition: border-color 0.15s;
  }
  .rp-fields input:focus, .rp-fields textarea:focus {
    border-color: rgba(0,114,210,0.5);
  }
  .rp-fields input::placeholder, .rp-fields textarea::placeholder {
    color: rgba(255,255,255,0.25);
  }
  .rp-fields textarea { resize: none; }
  .rp-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 11px 22px;
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 0 24px rgba(0,114,210,0.4);
    transition: background 0.15s, box-shadow 0.15s;
    margin-bottom: 12px;
  }
  .rp-submit:hover { background: var(--accent-d); box-shadow: 0 0 32px rgba(0,114,210,0.55); }
  .rp-linkedin {
    display: block;
    text-align: center;
    font-size: 11px;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s;
  }
  .rp-linkedin:hover { color: var(--text); }
  .rp-profiles {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .rp-profile,
  .rp-profile:visited {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    text-decoration: none;
    color: var(--muted);
    font-size: 13px;
    font-family: 'DM Sans', sans-serif;
    transition: color 0.15s;
  }
  .rp-profile:hover { color: var(--text); }
  .rp-profile svg {
    width: 100%;
    height: 100%;
    padding: 7px;
    color: rgba(255,255,255,0.4);
  }
  .rp-profile-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .rp-logout,
  .rp-logout:visited {
    display: block;
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    transition: color 0.15s;
  }
  .rp-logout:hover { color: var(--text); }

  /* ─── SECTION BASE ─── */
  .section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 60px 80px 60px;
    position: relative;
    overflow: hidden;
  }

  /* ═══════════════════════
     HERO SECTION
  ═══════════════════════ */
  #hero {
    background: var(--bg);
    position: relative;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--topbar-h) + 40px) 80px 140px 80px;
    overflow: hidden;
  }

  /* Hero carousel nav chevrons */
  .hero-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    z-index: 10;
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px;
    background: transparent;
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
  }
  .hero-nav:hover { color: #fff; }
  .hero-nav-prev { left: 12px; }
  .hero-nav-next { right: 12px; }
  .hero-nav:disabled { opacity: 0; pointer-events: none; }
  .hero-nav-inner {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: inherit;
  }
  .hero-nav-ep {
    display: none;
    color: rgba(255,255,255,0.7);
  }
  /* Hero dots */
  .hero-dots {
    position: absolute;
    bottom: 140px;
    left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px;
    z-index: 10;
    align-items: center;
  }
  .hero-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none; padding: 0;
    cursor: pointer;
    transition: background 0.3s;
    position: relative;
    flex-shrink: 0;
  }
  .hero-dot.active {
    background: transparent;
  }
  .hero-dots-blob {
    position: absolute;
    width: 7px; height: 7px;
    border-radius: 4px;
    background: #fff;
    top: 50%;
    transform: translateY(-50%);
    transition: left 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55),
                width 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    pointer-events: none;
    z-index: 2;
  }
  .hero-dots-blob.stretching {
    transition: left 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .hero-dots-blob.snapping {
    transition: left 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55),
                width 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  }
  /* Hero video fade transition */
  .hero-yt-bg { transition: opacity 0.4s ease; }
  .hero-yt-bg.fading { opacity: 0; }

  /* Full-bleed video background */
  .hero-yt-bg {
    position: absolute;
    inset: -10px;
    pointer-events: none;
    z-index: 0;
    filter: blur(0px);
  }
  .hero-local-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.78vh;
    object-fit: cover;
  }

  /* Dark gradient veil — heavy on left where text lives */
  .hero-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(
        to right,
        rgba(4,  10,  24,  0.96) 0%,
        rgba(4,  10,  24,  0.94) 15%,
        rgba(4,  12,  28,  0.90) 30%,
        rgba(5,  14,  34,  0.82) 42%,
        rgba(5,  18,  42,  0.68) 55%,
        rgba(5,  18,  42,  0.40) 68%,
        rgba(4,  12,  28,  0.60) 80%,
        rgba(4,  10,  24,  0.85) 92%,
        rgba(4,  10,  24,  0.96) 100%
      ),
      linear-gradient(
        to bottom,
        transparent 40%,
        rgba(4, 12, 30, 0.5) 60%,
        rgba(4, 12, 30, 0.85) 80%,
        rgba(7, 20, 48, 0.98) 100%
      );
  }

  /* Mobile carousel logo — hidden on desktop */
  .hero-carousel-logo { display: none; }

  /* Card wrapper — invisible on desktop, styled on mobile */
  .hero-card-wrap { display: contents; }
  .hero-card-thumb { display: none; }
  .hero-carousel { display: none; }

  .hero-content-wrap {
    position: relative;
    z-index: 2;
    max-width: 520px;
  }

  .hero-overline {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 400;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .hero-overline-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .hero-overline::after {
    content: '';
    display: block;
    flex: 1;
    max-width: 60px;
    height: 1px;
    background: var(--accent);
    opacity: 0.5;
  }

  .hero-h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(28px, 3vw, 48px);
    white-space: nowrap;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 20px;
  }
  .hero-h1 em {
    font-style: normal;
    color: var(--accent);
  }

  .hero-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.38em;
    margin-right: -0.38em;
    text-transform: uppercase;
    color: var(--accent);
    text-shadow: 0 0 28px rgba(0,114,210,0.5);
    margin-bottom: 24px;
  }
  .hero-brand span { color: rgba(255,255,255,0.7); }

  .hero-sub {
    font-size: clamp(15px, 1.5vw, 18px);
    color: var(--muted);
    font-weight: 300;
    max-width: 480px;
    line-height: 1.75;
    margin-bottom: 48px;
  }

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

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    background: var(--accent);
    color: var(--bg);
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
  }
  .btn-primary:hover { background: var(--accent-d); }

  .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: none;
    color: var(--muted);
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: 1px solid var(--subtle);
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s;
  }
  .btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.25); }

  .hero-scroll-hint {
    position: absolute;
    bottom: 44px; left: 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: 0.6;
  }
  .scroll-line {
    width: 40px; height: 1px;
    background: var(--muted);
    position: relative;
    overflow: hidden;
  }
  .scroll-line::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--accent);
    animation: scroll-slide 2.5s ease-in-out infinite;
  }
  @keyframes scroll-slide {
    0%   { left: -100%; }
    50%  { left: 100%; }
    100% { left: 100%; }
  }

  /* ═══════════════════════
     EXPERIENCE SECTION
  ═══════════════════════ */
  #experience {
    background: transparent;
    padding: 0 0 60px;
    min-height: auto;
    display: block;
    position: relative;
    z-index: 2;
    margin-top: -120px;
  }
  #experience > .section-label {
    padding: 0 48px;
    margin-bottom: 16px;
  }
  .section-rec {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: none;
    color: var(--muted);
    margin-left: 4px;
  }

  .section-label {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .section-label::before {
    content: '';
    display: block;
    width: 32px; height: 1px;
    background: var(--accent);
    opacity: 0.5;
  }

  .exp-grid {
    display: flex;
    gap: 16px;
    padding: 0 48px;
  }

  .exp-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 2 / 3;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
  }

  /* Large episode number watermark — disabled */
  .exp-item[data-ep]::before {
    display: none;
  }

  /* Grain texture overlay */
  .exp-card-noise {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.04;
    mix-blend-mode: overlay;
  }

  /* Radial glow — upper center */
  .exp-card-glow {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse 70% 60% at 50% 15%, rgba(255,255,255,0.09) 0%, transparent 100%);
  }

  /* Lava lamp blobs */
  .exp-card-lava {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.7s ease;
  }
  .exp-item:hover .exp-card-lava { opacity: 1; }
  .exp-item { transition: transform 0.3s ease, box-shadow 0.3s ease; }
  .exp-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    border: 3px solid rgba(255,255,255,0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    pointer-events: none;
  }
  .exp-item:hover::after { opacity: 1; }
  .exp-item:hover { transform: scale(1.03); }

  .exp-card-lava::before,
  .exp-card-lava::after {
    content: '';
    position: absolute;
    mix-blend-mode: screen;
  }
  .exp-card-lava::before {
    width: 60%; aspect-ratio: 1;
    background: radial-gradient(circle, rgba(255,255,255,0.17) 0%, rgba(255,255,255,0.04) 50%, transparent 70%);
    top: -20%; left: 5%;
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    animation: lava-a 6s ease-in-out infinite;
    animation-play-state: paused;
  }
  .exp-card-lava::after {
    width: 50%; aspect-ratio: 1;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.02) 50%, transparent 70%);
    bottom: -5%; right: 0%;
    border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%;
    animation: lava-b 9s ease-in-out infinite;
    animation-play-state: paused;
  }
  .exp-item:hover .exp-card-lava::before,
  .exp-item:hover .exp-card-lava::after { animation-play-state: running; }

  @keyframes lava-a {
    0%   { transform: translate(0%,  0%)  scale(1);    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%; }
    25%  { transform: translate(18%, 32%) scale(1.12); border-radius: 57% 43% 37% 63% / 53% 67% 33% 47%; }
    55%  { transform: translate(36%, 10%) scale(0.91); border-radius: 32% 68% 55% 45% / 48% 35% 65% 52%; }
    80%  { transform: translate(12%, 38%) scale(1.07); border-radius: 66% 34% 42% 58% / 38% 58% 42% 62%; }
    100% { transform: translate(0%,  0%)  scale(1);    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%; }
  }
  @keyframes lava-b {
    0%   { transform: translate(0%,   0%)   scale(1);    border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; }
    30%  { transform: translate(-22%, -18%) scale(1.18); border-radius: 44% 56% 68% 32% / 47% 62% 38% 53%; }
    60%  { transform: translate(-8%,  -32%) scale(0.87); border-radius: 72% 28% 38% 62% / 55% 40% 60% 45%; }
    85%  { transform: translate(-28%, -6%)  scale(1.09); border-radius: 35% 65% 55% 45% / 65% 35% 65% 35%; }
    100% { transform: translate(0%,   0%)   scale(1);    border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; }
  }

  /* Cinematic gradient background */
  .exp-card-bg {
    position: absolute;
    inset: 0;
    transform: scale(1);
    transition: transform 0.7s ease;
    overflow: hidden;
  }
  .exp-item:hover .exp-card-bg { transform: scale(1.05); }
  .exp-card-bg img {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120%; height: 120%;
    object-fit: cover;
  }
  .exp-card-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  .exp-item:hover .exp-card-video { opacity: 1; }

  .exp-card-bg.--logo {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .exp-card-bg.--logo img {
    display: none;
  }
  .exp-card-bg.--logo.--blend img {
    display: none;
  }

  /* Thematic abstract compositions per card */

  /* Card 01 — Disney TPM: blueprint/constellation theme */
  .exp-item[data-ep="01"] .exp-card-bg {
    background:
      radial-gradient(ellipse at 30% 35%, rgba(0,114,210,0.25) 0%, transparent 50%),
      radial-gradient(ellipse at 75% 60%, rgba(30,80,180,0.2) 0%, transparent 45%),
      radial-gradient(circle at 55% 45%, rgba(0,90,180,0.15) 0%, transparent 35%),
      linear-gradient(135deg, #0a1628 0%, #122a5e 30%, #1e3a7a 55%, #0d1f4a 100%) !important;
  }
  .exp-item[data-ep="01"] .exp-card-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(42deg, transparent 30%, rgba(0,114,210,0.08) 45%, transparent 55%),
      linear-gradient(165deg, transparent 40%, rgba(60,120,220,0.06) 50%, transparent 60%),
      linear-gradient(280deg, transparent 35%, rgba(0,80,180,0.07) 48%, transparent 58%);
  }
  .exp-item[data-ep="01"] .exp-card-bg::after {
    content: '';
    position: absolute;
    top: 15%; left: 20%;
    width: 60%; height: 55%;
    border: 1px solid rgba(0,114,210,0.06);
    border-radius: 50%;
    transform: rotate(-15deg);
    box-shadow:
      inset 0 0 60px rgba(0,114,210,0.05),
      30px 20px 0 0 rgba(0,114,210,0.03),
      -20px 40px 0 0 rgba(30,80,180,0.04);
  }

  /* Card 02 — Disney Support: network/signal wave theme */
  .exp-item[data-ep="02"] .exp-card-bg {
    background:
      radial-gradient(ellipse at 65% 30%, rgba(0,88,168,0.22) 0%, transparent 45%),
      radial-gradient(ellipse at 25% 65%, rgba(21,45,92,0.2) 0%, transparent 50%),
      radial-gradient(circle at 50% 50%, rgba(0,70,150,0.12) 0%, transparent 40%),
      linear-gradient(160deg, #0b1a3e 0%, #152d5c 35%, #1a3568 60%, #0a1530 100%) !important;
  }
  .exp-item[data-ep="02"] .exp-card-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      repeating-linear-gradient(0deg, transparent, transparent 48px, rgba(0,88,168,0.03) 48px, rgba(0,88,168,0.03) 49px),
      repeating-linear-gradient(90deg, transparent, transparent 48px, rgba(0,88,168,0.03) 48px, rgba(0,88,168,0.03) 49px);
  }
  .exp-item[data-ep="02"] .exp-card-bg::after {
    content: '';
    position: absolute;
    top: 18%; left: 15%;
    width: 70%; height: 50%;
    background:
      radial-gradient(circle at 20% 50%, rgba(0,100,200,0.08) 0%, transparent 25%),
      radial-gradient(circle at 40% 45%, rgba(0,100,200,0.06) 0%, transparent 20%),
      radial-gradient(circle at 60% 55%, rgba(0,100,200,0.07) 0%, transparent 22%),
      radial-gradient(circle at 80% 48%, rgba(0,100,200,0.05) 0%, transparent 18%);
    animation: pulse-nodes 8s ease-in-out infinite alternate;
  }

  /* Card 03 — CDS: organic/growth theme */
  .exp-item[data-ep="03"] .exp-card-bg {
    background:
      radial-gradient(ellipse at 40% 30%, rgba(22,100,80,0.22) 0%, transparent 45%),
      radial-gradient(ellipse at 70% 55%, rgba(20,80,60,0.18) 0%, transparent 50%),
      radial-gradient(circle at 30% 60%, rgba(26,80,64,0.15) 0%, transparent 35%),
      linear-gradient(145deg, #0c1a20 0%, #163038 30%, #1a4040 55%, #0a1818 100%) !important;
  }
  .exp-item[data-ep="03"] .exp-card-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(60deg, transparent 25%, rgba(22,80,70,0.06) 40%, transparent 55%),
      linear-gradient(200deg, transparent 30%, rgba(26,64,64,0.05) 48%, transparent 60%);
  }
  .exp-item[data-ep="03"] .exp-card-bg::after {
    content: '';
    position: absolute;
    top: 10%; left: 25%;
    width: 50%; height: 65%;
    border-radius: 45% 55% 50% 50% / 40% 60% 40% 60%;
    background: radial-gradient(ellipse at 50% 50%, rgba(22,100,80,0.1) 0%, transparent 70%);
    border: 1px solid rgba(22,100,80,0.05);
    animation: drift-organic 10s ease-in-out infinite alternate;
  }

  /* Card 04 — Apple: minimalist light/shadow theme */
  .exp-item[data-ep="04"] .exp-card-bg {
    background:
      radial-gradient(ellipse at 50% 35%, rgba(100,100,100,0.15) 0%, transparent 50%),
      radial-gradient(ellipse at 30% 65%, rgba(60,60,60,0.1) 0%, transparent 40%),
      linear-gradient(140deg, #141414 0%, #1e1e1e 30%, #2a2a2a 55%, #111 100%) !important;
  }
  .exp-item[data-ep="04"] .exp-card-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.02) 50%, transparent 70%),
      linear-gradient(225deg, transparent 40%, rgba(255,255,255,0.015) 55%, transparent 65%);
  }
  .exp-item[data-ep="04"] .exp-card-bg::after {
    content: '';
    position: absolute;
    top: 20%; left: 30%;
    width: 40%; height: 45%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, rgba(180,180,180,0.06) 0%, transparent 60%);
    box-shadow:
      0 0 80px rgba(255,255,255,0.03),
      0 0 120px rgba(255,255,255,0.02);
  }

  /* Card 05 — Designer's Sprint: design ops / purple-indigo theme */
  .exp-item[data-ep="05"] .exp-card-bg {
    background:
      radial-gradient(ellipse at 35% 30%, rgba(140,80,220,0.28) 0%, transparent 45%),
      radial-gradient(ellipse at 70% 65%, rgba(80,50,180,0.2) 0%, transparent 50%),
      radial-gradient(circle at 55% 45%, rgba(100,60,200,0.15) 0%, transparent 35%),
      linear-gradient(145deg, #0e0820 0%, #1a1045 30%, #221560 55%, #0c0820 100%) !important;
  }
  .exp-item[data-ep="05"] .exp-card-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(50deg, transparent 30%, rgba(140,80,220,0.07) 45%, transparent 60%),
      linear-gradient(200deg, transparent 35%, rgba(100,60,200,0.05) 52%, transparent 65%);
  }
  .exp-item[data-ep="05"] .exp-card-bg::after {
    content: '';
    position: absolute;
    top: 18%; left: 20%;
    width: 60%; height: 55%;
    border: 1px solid rgba(140,80,220,0.07);
    border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
    background: radial-gradient(ellipse at 50% 50%, rgba(120,70,210,0.08) 0%, transparent 70%);
    animation: drift-organic 12s ease-in-out infinite alternate;
  }

  @keyframes drift-organic {
    0%   { transform: rotate(0deg) scale(1); border-radius: 45% 55% 50% 50% / 40% 60% 40% 60%; }
    100% { transform: rotate(5deg) scale(1.05); border-radius: 55% 45% 50% 50% / 60% 40% 60% 40%; }
  }
  @keyframes pulse-nodes {
    0%   { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.08); }
  }

  /* VALLE+ Original badge — top right corner */
  .exp-original {
    position: absolute;
    top: 14px; right: 16px;
    z-index: 4;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(0,114,210,0.12);
    border: 1px solid rgba(0,114,210,0.25);
    padding: 3px 8px;
    border-radius: 3px;
    backdrop-filter: blur(4px);
  }

  /* Dark veil — transparent top, heavy at bottom so text reads */
  .exp-card-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(4,12,30,0) 0%,
      rgba(4,12,30,0.03) 20%,
      rgba(4,12,30,0.15) 40%,
      rgba(4,12,30,0.50) 55%,
      rgba(5,16,38,0.80) 70%,
      rgba(7,20,48,0.94) 85%,
      rgba(7,20,48,0.97) 100%
    );
    transition: opacity 0.3s;
  }
  .exp-item:hover .exp-card-veil { opacity: 0.88; }

  /* VALLE+ badge + episode — top left */
  .exp-card-top {
    position: absolute;
    top: 16px; left: 20px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(4,12,30,0.65) 0%, transparent 100%);
    padding: 6px 14px;
    border-radius: 6px;
  }
  .exp-series {
    font-family: 'Space Grotesk', 'Oxanium', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text);
    text-shadow: 0 0 16px rgba(0,114,210,0.5);
  }
  .exp-series span { color: var(--accent); }
  .exp-ep {
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
  }

  /* Play button — center, fades in on hover */
  .exp-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.75);
    width: 50px; height: 50px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.55);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    opacity: 0;
    transition: opacity 0.25s, transform 0.25s;
    z-index: 3;
    padding-left: 2px; /* optical center for SVG triangle */
    backdrop-filter: blur(4px);
    background: rgba(0,0,0,0.2);
  }
  .exp-item:hover .exp-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  /* Bottom text */
  .exp-card-bottom { position: relative; z-index: 2; }
  .exp-co {
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 5px;
  }
  .exp-role {
    font-family: 'Syne', sans-serif;
    font-size: clamp(15px, 1.6vw, 22px);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
  }
  .exp-date {
    font-size: 9px;
    letter-spacing: 0.16em;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
  }

  /* ═══════════════════════
     SKILLS SECTION
  ═══════════════════════ */
  #skills {
    background: var(--bg);
    min-height: auto;
    padding: 100px 60px 100px 60px;
    display: block;
  }

  .skills-display {
    margin-top: 0;
  }

  .skills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-top: 1px solid var(--border);
  }
  .skills-row:last-child { border-bottom: 1px solid var(--border); }

  .skill-pill {
    font-family: 'Syne', sans-serif;
    font-size: clamp(15px, 2vw, 22px);
    font-weight: 700;
    color: rgba(240,240,240,0.2);
    padding: 18px 32px;
    letter-spacing: -0.01em;
    border-right: 1px solid var(--border);
    transition: color 0.2s, background 0.2s;
    cursor: default;
    white-space: nowrap;
    position: relative;
  }
  .skill-pill:last-child { border-right: none; }
  .skill-pill:hover {
    color: var(--text);
    background: rgba(0,114,210,0.07);
  }

  /* Skill drawer */
  .skill-pill.--open {
    color: var(--text);
    background: rgba(0,114,210,0.07);
  }
  .skill-drawer {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    padding: 0 32px;
  }
  .skill-drawer.--open {
    max-height: 300px;
    opacity: 1;
    padding: 20px 32px;
  }
  .skill-drawer-inner {
    display: flex;
    align-items: flex-start;
    gap: 32px;
  }
  .skill-drawer-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
  }
  .skill-drawer-bullets li {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
    padding-left: 16px;
    position: relative;
  }
  .skill-drawer-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
  }
  .skill-drawer-role {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    white-space: nowrap;
    padding-top: 2px;
  }

  /* ═══════════════════════
     EDUCATION + ABOUT
  ═══════════════════════ */
  #about {
    background: var(--navy);
    min-height: auto;
    padding: 100px 60px 100px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }

  .about-block {}

  .about-edu-school {
    font-family: 'Syne', sans-serif;
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.1;
  }
  .about-edu-deg {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
  }
  .about-edu-link {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(0,114,210,0.35);
    padding-bottom: 2px;
    transition: border-color 0.2s;
  }
  .about-edu-link:hover { border-color: var(--accent); }

  .about-creator-name {
    font-family: 'Syne', sans-serif;
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.1;
  }
  .about-bio {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.85;
    margin-bottom: 28px;
    max-width: 380px;
  }
  .about-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  .about-link {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
  }
  .about-link:hover { color: var(--text); border-color: rgba(255,255,255,0.35); }

  /* ═══════════════════════
     FOOTER
  ═══════════════════════ */
  .site-footer {
    background: #020812;
    padding: 40px 60px 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px solid var(--border);
  }
  .footer-mark {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--text);
  }
  .footer-mark span { color: var(--accent); }
  .footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
  }
  .footer-link {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-link:hover { color: rgba(255,255,255,0.65); }
  .footer-copy {
    font-size: 11px;
    color: rgba(255,255,255,0.18);
    letter-spacing: 0.04em;
  }

  .colophon {
    position: relative;
    cursor: default;
  }

  .colophon-tip {
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    background: rgba(240,240,240,0.96);
    color: #0a0a0a;
    font-size: 11px;
    letter-spacing: 0.03em;
    white-space: nowrap;
    padding: 12px 16px;
    border-radius: 4px;
    line-height: 2;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .colophon-tip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 12px;
    border: 5px solid transparent;
    border-top-color: rgba(240,240,240,0.96);
  }

  .colophon:hover .colophon-tip {
    opacity: 1;
  }

  /* ═══════════════════════
     DETAIL MODAL
  ═══════════════════════ */
  #modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(2,8,18,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
    backdrop-filter: blur(18px);
  }
  #modal-overlay.open { opacity: 1; pointer-events: all; }

  .modal {
    width: min(860px, 96%);
    max-height: 90vh;
    background: var(--navy);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.93) translateY(40px);
    transition: transform 0.55s cubic-bezier(0.22,1,0.36,1);
  }
  #modal-overlay.open .modal { transform: scale(1) translateY(0); }

  /* ── Full-width hero ── */
  .modal-hero {
    position: relative;
    height: 300px;
    flex-shrink: 0;
    overflow: hidden;
  }
  .modal-hero-vid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .modal-hero-bg {
    position: absolute;
    inset: 0;
    transform: scale(1);
    transition: transform 8s ease-out;
    overflow: hidden;
  }
  #modal-overlay.open .modal-hero-bg { transform: scale(1.06); }
  .modal-hero-bg iframe {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 100%;
    border: none;
    pointer-events: none;
  }
  .modal-hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(4,12,30,0.1) 0%,
      rgba(4,12,30,0.35) 45%,
      rgba(7,20,48,0.98) 100%
    );
  }

  /* VALLE+ badge — top left */
  .modal-hero-top {
    position: absolute;
    top: 22px; left: 28px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .modal-hero-series {
    font-family: 'Space Grotesk', 'Oxanium', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--text);
    text-shadow: 0 0 24px rgba(0,114,210,0.55);
  }
  .modal-hero-series span { color: var(--accent); }
  .modal-hero-category {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
  }

  /* Role title + actions — bottom of poster */
  .modal-hero-bottom {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 24px 28px;
    z-index: 2;
  }
  .modal-hero-company {
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 6px;
  }
  .modal-hero-role {
    font-family: 'Syne', sans-serif;
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 18px;
  }
  .modal-hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(4,12,30,0.45);
    padding: 10px 16px;
    margin: 0 -16px;
    border-radius: 8px;
    backdrop-filter: blur(6px);
  }
  .modal-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 22px;
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 0 32px rgba(0,114,210,0.45);
    transition: background 0.2s, box-shadow 0.2s;
  }
  .modal-play-btn:hover {
    background: var(--accent-d);
    box-shadow: 0 0 40px rgba(0,114,210,0.6);
  }
  .modal-hero-dates {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
  }

  /* ── Scrollable body ── */
  .modal-body {
    padding: 24px 28px 36px;
    overflow-y: auto;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.08) transparent;
  }
  .modal-body::-webkit-scrollbar { width: 3px; }
  .modal-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); }

  .modal-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
  }
  .modal-meta-chip {
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 4px 12px;
  }
  .modal-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    line-height: 1.85;
    margin-bottom: 28px;
  }
  .modal-desc p {
    padding-left: 16px;
    border-left: 2px solid rgba(0,114,210,0.25);
    margin-bottom: 0;
  }
  .modal-desc p + p { margin-top: 20px; }
  .modal-desc p strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
  }
  .modal-skills-label {
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    margin-bottom: 12px;
  }
  .modal-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .modal-skill {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0,114,210,0.9);
    border: 1px solid rgba(0,114,210,0.25);
    padding: 5px 12px;
  }

  /* ── Cinematic "Featured Role" mode ── */
  .modal.--cinematic .modal-hero {
    position: absolute;
    inset: 0;
    height: 100%;
    z-index: 0;
  }
  .modal.--cinematic .modal-hero-bg {
    transform: scale(1.02);
  }
  .modal.--cinematic .modal-hero-veil {
    background: linear-gradient(
      to bottom,
      rgba(4,12,30,0.15) 0%,
      rgba(4,12,30,0.4) 25%,
      rgba(7,20,48,0.8) 50%,
      rgba(7,20,48,0.96) 75%,
      rgba(7,20,48,0.99) 100%
    );
  }
  .modal.--cinematic .modal-hero-top,
  .modal.--cinematic .modal-hero-bottom {
    display: none;
  }
  .modal.--cinematic .modal-body {
    position: relative;
    z-index: 2;
    background: transparent;
    padding-top: 280px;
  }
  .modal.--cinematic .modal-close {
    z-index: 700;
  }
  .modal-cinematic-exit {
    display: none;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    padding: 8px 18px;
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background 0.2s, color 0.2s;
    margin-bottom: 20px;
  }
  .modal-cinematic-exit:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
  }
  .modal.--cinematic .modal-cinematic-exit {
    display: inline-flex;
  }

  /* Modal nav chevrons */
  .modal-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    z-index: 600;
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px;
    background: transparent;
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
  }
  .modal-nav:hover { color: #fff; }
  .modal-nav-prev { left: 12px; }
  .modal-nav-next { right: 12px; }
  .modal-nav:disabled { opacity: 0; pointer-events: none; }
  .modal-nav-inner {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: inherit;
  }
  .modal-nav-ep {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
  }

  /* Modal dots */
  .modal-dots {
    position: absolute;
    bottom: 16px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px;
    z-index: 600;
  }
  .modal-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none; padding: 0;
    cursor: pointer;
    transition: background 0.3s, width 0.3s, border-radius 0.3s;
  }
  .modal-dot.active {
    background: #fff;
    width: 22px;
    border-radius: 4px;
  }

  .modal-nav,
  .modal-dots {
    display: none !important;
  }

  .modal-close {
    position: absolute;
    top: 16px; right: 16px;
    z-index: 600;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(4,12,30,0.75);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, color 0.2s;
    backdrop-filter: blur(8px);
  }
  .modal-close:hover { background: rgba(4,12,30,0.95); color: #fff; }


  /* ─── SEARCH OVERLAY ─── */
  .search-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(4,10,24,0.97);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    padding: calc(var(--topbar-h) + 40px) 60px 60px 60px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }
  .search-overlay.open { opacity: 1; pointer-events: all; }

  .search-input-row {
    display: flex;
    align-items: center;
    gap: 18px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 18px;
    margin-bottom: 48px;
    flex-shrink: 0;
  }
  .search-input-icon { color: var(--accent); flex-shrink: 0; }
  .search-input {
    background: none;
    border: none;
    outline: none;
    font-family: 'Syne', sans-serif;
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 700;
    color: var(--text);
    width: 100%;
    caret-color: var(--accent);
  }
  .search-input::placeholder { color: rgba(240,240,240,0.18); }
  .search-close-btn {
    background: none; border: none;
    color: var(--muted); cursor: pointer;
    padding: 6px; flex-shrink: 0;
    transition: color 0.15s;
  }
  .search-close-btn:hover { color: var(--text); }

  .search-hint {
    font-size: 11px;
    letter-spacing: 0.1em;
    color: rgba(240,240,240,0.2);
    margin-bottom: 32px;
    flex-shrink: 0;
  }
  .search-hint kbd {
    display: inline-block;
    padding: 1px 6px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    font-family: inherit;
    font-size: 10px;
  }

  .search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
    overflow-y: auto;
    padding-bottom: 20px;
  }
  .search-empty-state {
    grid-column: 1 / -1;
    color: var(--muted);
    font-family: 'Syne', sans-serif;
    font-size: 17px;
    text-align: center;
    padding: 60px 0;
  }
  .search-result-card {
    border-radius: 8px;
    overflow: hidden;
    background: var(--navy2);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .search-result-card:hover {
    transform: translateY(-4px) scale(1.015);
    border-color: var(--accent);
    box-shadow: 0 8px 32px rgba(0,114,210,0.18);
  }
  .search-result-thumb {
    width: 100%; aspect-ratio: 16/9;
    position: relative; overflow: hidden;
  }
  .search-result-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
  }
  .search-result-card:hover .search-result-thumb img { transform: scale(1.06); }
  .search-result-thumb::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(7,20,48,0.85) 0%, transparent 55%);
  }
  .search-result-body { padding: 12px 16px 16px; }
  .search-result-type {
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 4px;
  }
  .search-result-role {
    font-family: 'Syne', sans-serif;
    font-size: 14px; font-weight: 700;
    color: var(--text); line-height: 1.3;
    margin-bottom: 2px;
  }
  .search-result-co { font-size: 11px; color: var(--muted); margin-bottom: 10px; }
  .search-result-skills { display: flex; flex-wrap: wrap; gap: 4px; }
  .search-result-skill {
    font-size: 10px; padding: 2px 8px;
    background: rgba(0,114,210,0.12);
    border: 1px solid rgba(0,114,210,0.28);
    border-radius: 20px;
    color: rgba(240,240,240,0.65);
  }
  mark.sh {
    background: none; color: var(--accent); font-weight: 700;
  }


  /* ─── IDLE "STILL WATCHING?" POPUP ─── */
  .idle-backdrop {
    position: fixed; inset: 0;
    z-index: 600;
    background: rgba(4,10,24,0.55);
    backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .idle-backdrop.open { opacity: 1; pointer-events: all; }

  .idle-card {
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px 40px 32px;
    width: min(420px, 90vw);
    text-align: center;
    box-shadow: 0 24px 64px rgba(0,0,0,0.6);
    transform: translateY(12px);
    transition: transform 0.3s ease;
  }
  .idle-backdrop.open .idle-card { transform: translateY(0); }

  .idle-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px; font-weight: 700;
    letter-spacing: 0.35em; text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 24px;
  }
  .idle-logo span { color: var(--accent); }

  .idle-heading {
    font-family: 'Syne', sans-serif;
    font-size: 22px; font-weight: 800;
    color: var(--text);
    margin-bottom: 10px;
  }
  .idle-sub {
    font-size: 14px; color: var(--muted);
    line-height: 1.6;
    margin-bottom: 28px;
  }

  .idle-btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    border: none; border-radius: 6px;
    padding: 13px 32px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px; font-weight: 600;
    letter-spacing: 0.06em; text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
    width: 100%;
  }
  .idle-btn:hover { background: var(--accent-d); }

  .idle-btn-logout {
    display: inline-block;
    background: none;
    color: var(--muted);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    padding: 10px 32px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    width: 100%;
    margin-top: 10px;
  }
  .idle-btn-logout:hover { color: var(--text); border-color: rgba(255,255,255,0.3); }

  .idle-progress-wrap {
    margin-top: 20px;
    height: 2px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
  }
  .idle-progress-bar {
    height: 100%;
    background: var(--accent);
    width: 100%;
    transform-origin: left;
    transition: none;
  }

  /* ─── WELCOME TOAST ─── */
  .welcome-toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 400;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 9999px;
    padding: 10px 20px 10px 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    white-space: nowrap;
  }
  .welcome-toast.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .welcome-toast-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .welcome-toast-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
  }
  .welcome-toast-avatar svg {
    width: 100%;
    height: 100%;
    padding: 25%;
    color: rgba(255,255,255,0.5);
  }
  .welcome-toast-text {
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
  }
  .welcome-toast-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    cursor: pointer;
    padding: 4px 4px 4px 8px;
    transition: color 0.15s;
    flex-shrink: 0;
  }
  .welcome-toast-close:hover { color: #fff; }

  @media (max-width: 900px) {
    .welcome-toast {
      bottom: calc(70px + env(safe-area-inset-bottom));
      padding: 8px 16px 8px 8px;
      gap: 10px;
    }
    .welcome-toast-avatar { width: 34px; height: 34px; }
    .welcome-toast-text { font-size: 14px; }
  }

  /* ─── BOTTOM TAB BAR (mobile only) ─── */
  .bottom-tabs {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    transform: translateZ(0);
    background: rgba(4, 10, 24, 0.97);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
    justify-content: space-around;
    align-items: center;
  }
  .bottom-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: none;
    border: none;
    padding: 4px 12px;
    cursor: pointer;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.2s;
  }
  .bottom-tab.active { color: #fff; }
  .bottom-tab svg { width: 22px; height: 22px; }
  .bottom-tab-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.02em;
  }
  .bottom-tab-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid transparent;
    transition: border-color 0.2s;
  }
  .bottom-tab.active .bottom-tab-avatar {
    border-color: #fff;
  }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 900px) {
    .search-overlay { padding: 24px 20px 100px; }
    .hero-nav { display: none; }
    .hero-dots { display: none; }
    .hero-veil { background: rgba(4, 10, 24, 0.82); }

    /* Brand lock — scale down */
    .brand-lock { left: 16px; top: 14px; }
    .valleplus-logo.--xl { height: 36px; }

    /* Hide pill bar & corner avatar on mobile */
    .pill-bar { display: none; }
    .corner-avatar { display: none; }

    /* Bottom tab bar */
    .bottom-tabs {
      display: flex;
    }

    /* Sections */
    .section { padding: 32px 24px 40px 24px; min-height: auto; }

    /* ── Mobile hero carousel ── */
    #hero {
      min-height: auto;
      padding: 0;
      padding-top: calc(var(--topbar-h) + 8px);
      background: var(--bg);
      display: flex;
      flex-direction: column;
      overflow: visible;
    }
    .hero-yt-bg { display: none; }
    .hero-veil { display: none; }
    .hero-card-wrap { display: none; } /* single card hidden, carousel takes over */
    .hero-scroll-hint { display: none; }

    /* Logo above carousel */
    .hero-carousel-logo {
      display: flex;
      justify-content: center;
      margin-top: -20px;
      padding: 0 0 16px;
    }

    /* Carousel track */
    .hero-carousel {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      gap: 12px;
      /* Side padding = (100% - card width) / 2 to center first/last card */
      padding: 8px 11% 16px;
    }
    .hero-carousel::-webkit-scrollbar { display: none; }

    /* Each carousel card */
    .hero-carousel-card {
      flex: 0 0 78%;
      scroll-snap-align: center;
      position: relative;
      border-radius: 16px;
      overflow: hidden;
      aspect-ratio: 2 / 3;
      max-height: 70vh;
      border: 1px solid rgba(255,255,255,0.12);
      cursor: pointer;
      transition: transform 0.35s ease, opacity 0.35s ease;
      transform: scale(0.88);
      transform-origin: center center;
    }
    .hero-carousel-card.is-active {
      transform: scale(1);
    }
    .hero-carousel-card .hero-card-thumb {
      display: block;
      position: absolute;
      inset: 0;
      z-index: 0;
    }
    .hero-carousel-card .hero-card-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .hero-carousel-card .hero-card-thumb::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        transparent 30%,
        rgba(4, 10, 24, 0.5) 55%,
        rgba(4, 10, 24, 0.92) 80%,
        rgba(4, 10, 24, 1) 100%
      );
    }
    .hero-carousel-card .hc-content {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 24px 20px;
      z-index: 2;
    }
    .hero-carousel-card .hc-overline {
      font-size: 9px;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 10px;
    }
    .hero-carousel-card .hc-title {
      font-family: 'Syne', sans-serif;
      font-size: clamp(20px, 5vw, 28px);
      font-weight: 700;
      line-height: 1.1;
      color: var(--text);
      margin-bottom: 10px;
    }
    .hero-carousel-card .hc-title em {
      font-style: normal;
      color: var(--accent);
    }
    .hero-carousel-card .hc-sub {
      font-size: 12px;
      color: var(--muted);
      line-height: 1.6;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .hero-overline { margin-bottom: 12px; }
    .hero-h1 { font-size: clamp(22px, 5.5vw, 32px); white-space: normal; margin-bottom: 12px; }
    .hero-sub { font-size: 13px; margin-bottom: 20px; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
    .hero-actions { gap: 10px; }
    .btn-primary { padding: 12px 28px; font-size: 11px; }

    /* Experience — reduce overlap, horizontal scroll */
    #experience { padding: 16px 0 24px; margin-top: 0; }
    #experience > .section-label { padding: 0 24px; margin-bottom: 12px; }
    .section-label { margin-bottom: 16px; }
    .exp-grid { padding: 0 24px; gap: 12px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; justify-content: flex-start; }
    .exp-grid::-webkit-scrollbar { display: none; }
    .exp-item { flex: 0 0 200px; aspect-ratio: 3 / 4; padding: 14px 12px; }
    .exp-role { font-size: 14px; }

    /* Skills */
    #skills { padding: 32px 24px 40px; }
    .skill-pill { font-size: clamp(13px, 3.5vw, 18px); padding: 14px 20px; }
    .skill-drawer.--open { padding: 16px 20px; }
    .skill-drawer-inner { flex-direction: column; gap: 12px; }

    /* About */
    #about { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px 40px; }

    /* Footer */
    .site-footer { padding: 32px 24px 100px; flex-direction: column; align-items: flex-start; }

    /* Modal */
    #modal-overlay { align-items: flex-end; }
    .modal { width: 100%; max-height: 92vh; border-left: none; border-right: none; border-radius: 0; }
    .modal-close { position: fixed; top: calc(8vh + 8px); right: 14px; z-index: 9999; }
    .modal-hero { height: 240px; }
    .modal-hero-bottom { padding: 18px 20px; }
    .modal-body { padding: 20px 20px 100px; }

    /* Recruiter panel */
    .rail-recruiter-panel { right: 10px; left: 10px; width: auto; }

    /* Idle popup */
    .idle-card { padding: 24px 24px 20px; width: min(340px, 88vw); }
    .idle-logo { margin-bottom: 16px; }
    .idle-heading { font-size: 18px; }
    .idle-sub { font-size: 13px; margin-bottom: 20px; }
    .idle-btn { padding: 11px 24px; font-size: 13px; }
  }
  @media (max-width: 480px) {
    .section { padding: 24px 16px 36px 16px; min-height: auto; }
    #hero { padding: calc(var(--topbar-h) + 16px) 16px 32px 16px; }
    .hero-h1 { font-size: clamp(20px, 5vw, 28px); }
    /* pill-bar hidden on mobile — no styles needed */
    .exp-item { flex: 0 0 170px; }
    .brand-lock { left: 12px; top: 12px; }
    .valleplus-logo.--xl { height: 28px; }
  }
