/* ═══════════════════════════════════════════════════════
       ROOT VARIABLES & DESIGN SYSTEM
       ═══════════════════════════════════════════════════════ */
    
    :root {
      /* Brand Colors */
      --coral: #F96F6E;
      --teal: #2ED3C6;
      --cloud-dancer: #F3EFE0;
      --deep-blue: #1a2332;
      
      /* Dark Mode (Default) */
      --bg-primary: #0a0a0a;
      --bg-secondary: #1a1a1a;
      --bg-tertiary: #2a2a2a;
      --text-primary: #ffffff;
      --text-secondary: rgba(255, 255, 255, 0.7);
      --text-tertiary: rgba(255, 255, 255, 0.5);
      --border-color: rgba(255, 255, 255, 0.1);
      
      /* Typography */
      --font-display: 'Playfair Display', serif;
      --font-body: 'Inter', sans-serif;
    }
    
    /* Light Mode Override */
    [data-theme="light"] {
      --bg-primary: var(--cloud-dancer);
      --bg-secondary: #ffffff;
      --bg-tertiary: #f5f5f5;
      --text-primary: #0a0a0a;
      --text-secondary: rgba(0, 0, 0, 0.7);
      --text-tertiary: rgba(0, 0, 0, 0.5);
      --border-color: rgba(0, 0, 0, 0.1);
    }
    
    /* ═══════════════════════════════════════════════════════
       BASE RESET & TYPOGRAPHY
       ═══════════════════════════════════════════════════════ */
    
    *, *::before, *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    html {
      scroll-behavior: smooth;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
    
    body {
      font-family: var(--font-body);
      font-size: 1rem;
      line-height: 1.6;
      color: var(--text-primary);
      background: var(--bg-primary);
      transition: background-color 0.3s ease, color 0.3s ease;
      cursor: none;
    }
    
    h1, h2, h3, h4, h5, h6 {
      font-family: var(--font-display);
      font-weight: 600;
      line-height: 1.2;
      letter-spacing: -0.02em;
    }
    
    h1 { font-size: 3.75rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.5rem; }
    
    p {
      font-size: 1.125rem;
      color: var(--text-secondary);
      line-height: 1.7;
    }
    
    a {
      color: inherit;
      text-decoration: none;
      transition: all 0.15s ease;
    }
    
    .container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 2rem;
    }
    
    /* ═══════════════════════════════════════════════════════
       NAVIGATION
       ═══════════════════════════════════════════════════════ */
    
    .primary-nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      background: rgba(10, 10, 10, 0.9);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border-color);
      color: #ffffff;
    }

    /* Light mode nav overrides removed to keep nav dark */
    
    .nav-container {
      max-width: 1400px;
      margin: 0 auto;
      height: 70px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 2rem;
    }
    
.nav-logo img {
  height: 40px;
  filter: brightness(1.2);
  width: auto;
}

/* Light mode logo override removed */

@media (max-width: 1023px) {
  .nav-logo img { height: 32px; }
}
.nav-logo { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; }
    
    .nav-links {
      display: flex;
      align-items: center;
      gap: 2rem;
    }
    
    .nav-link {
      font-size: 0.875rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      line-height: 1.6;
      opacity: 0.7;
      text-transform: uppercase;
      font-family: var(--font-body);
      transition: opacity 0.15s ease;
      color: var(--text-primary);
      text-decoration: none;
      position: relative;
    }
    
    .nav-link:hover { opacity: 1; color: var(--coral); }
    
    .nav-link.active { 
      opacity: 1; 
      color: var(--text-primary);
    }

    .nav-link::after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      bottom: -4px;
      height: 2px;
      background: var(--coral);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.2s ease;
      border-radius: 999px;
    }
    
    .nav-link.active::after,
    .nav-link:hover::after {
      transform: scaleX(1);
    }
    
    .theme-toggle {
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0.75rem;
      color: currentColor;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      transition: background 0.15s ease;
    }
    
    /* Light mode toggle hover override removed */

    .theme-toggle:hover {
      background: var(--bg-tertiary);
    }
    
    .sun-icon, .moon-icon {
      width: 20px;
      height: 20px;
      stroke: currentColor;
      fill: none;
    }
    
    [data-theme="dark"] .sun-icon { display: block; }
    [data-theme="dark"] .moon-icon { display: none; }
    [data-theme="light"] .sun-icon { display: none; }
    [data-theme="light"] .moon-icon { display: block; }
    
    .mobile-controls {
      display: none;
      align-items: center;
      gap: 1rem;
    }
    
    .mobile-menu-toggle {
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0.75rem;
      color: var(--text-primary);
    }
    
.portfolio-subnav {
      position: fixed;
      top: 70px;
      left: 0;
      right: 0;
      z-index: 999;
      background: rgba(26, 26, 26, 0.6);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border-color);
      padding: 0;
    }
    
    [data-theme="light"] .portfolio-subnav {
      background: rgba(255, 255, 255, 0.6);
    }
    
.portfolio-subnav-container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 1.25rem 2rem;
      display: flex;
      gap: 2.5rem;
      overflow-x: auto;
      align-items: center;
    }
    
.subnav-link {
      font-size: 0.875rem;
      font-weight: 500;
      letter-spacing: 0.02em;
      line-height: 1.6;
      text-transform: none;
      opacity: 0.7;
      white-space: nowrap;
      transition: opacity 0.15s ease;
      font-family: var(--font-body);
      display: inline-block;
      padding: 0.25rem 0;
      color: var(--text-primary);
    }
    
    .subnav-link:hover {
      opacity: 1;
    }
    
    .mobile-menu-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.35);
      z-index: 2000;
      opacity: 0;
      transition: opacity 0.3s ease;
      pointer-events: none;
    }

    .mobile-menu-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }

    .mobile-drawer {
      position: absolute;
      top: 0;
      right: 0;
      height: 100vh;
      width: 85vw;
      max-width: 400px;
      background: #000000;
      box-shadow: -12px 0 30px rgba(0,0,0,0.4);
      transform: translateX(100%);
      transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
      overflow-y: auto;
      overflow-x: hidden;
      -webkit-overflow-scrolling: touch;
    }

    .mobile-menu-overlay.active .mobile-drawer {
      transform: translateX(0);
    }

    .mobile-menu-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      width: 44px;
      height: 44px;
      border: none;
      border-radius: 8px;
      background: transparent;
      color: #ffffff;
      font-size: 32px;
      line-height: 1;
      cursor: pointer;
      transition: background 0.2s ease;
      z-index: 10;
    }

    .mobile-menu-close:hover {
      background: rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu-content {
      display: flex;
      flex-direction: column;
      gap: 0;
      padding: 1.5rem 1.5rem 2rem;
      padding-bottom: max(2rem, calc(2rem + env(safe-area-inset-bottom)));
    }

    .mobile-drawer-header {
      padding: 2rem 0 2rem 0.25rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      margin-bottom: 2rem;
    }

    .mobile-drawer-brand {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
    }

    .mobile-drawer-name {
      font-family: var(--font-display);
      font-size: 1.5rem;
      font-weight: 600;
      color: #ffffff;
      letter-spacing: -0.02em;
    }

    .mobile-drawer-role {
      font-family: var(--font-body);
      font-size: 0.8125rem;
      font-weight: 400;
      color: rgba(255, 255, 255, 0.5);
      letter-spacing: 0.02em;
    }
    .mobile-nav-section { display:flex; flex-direction:column; gap:0; margin-bottom: 2.5rem; }
    .mobile-nav-section:last-child { margin-bottom: 1rem; }
    .mobile-nav-label { font-family: var(--font-body); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); margin-bottom: 1.25rem; padding-left: 0.25rem; }
    .mobile-nav-link-primary { font-family: var(--font-display); font-size: 1.75rem; font-weight: 500; line-height: 1.3; color: rgba(255, 255, 255, 0.85); padding: 0.5rem 0.25rem; transition: all 0.2s ease; text-decoration: none; letter-spacing: -0.01em; position: relative; }
    .mobile-nav-link-primary:hover { color: #ffffff; transform: translateX(4px); }
    .mobile-nav-link-secondary { font-family: var(--font-body); font-size: 1rem; font-weight: 400; line-height: 1.5; color: rgba(255, 255, 255, 0.65); padding: 0.625rem 0.25rem; transition: all 0.2s ease; text-decoration: none; position: relative; }
    .mobile-nav-link-secondary:hover { color: rgba(255, 255, 255, 0.9); transform: translateX(4px); }
    .mobile-nav-link-primary.active, .mobile-nav-link-secondary.active { color: var(--coral); font-weight: 600; }
    .mobile-nav-link-primary.active::before { content:''; position:absolute; left:-0.5rem; top:50%; transform:translateY(-50%); width:3px; height:24px; background: var(--coral); border-radius:2px; }
    .mobile-nav-link-secondary.active::before { content:''; position:absolute; left:-0.5rem; top:50%; transform:translateY(-50%); width:2px; height:16px; background: var(--coral); border-radius:2px; }
    
    .mobile-nav-link {
      font-size: 1.875rem;
      font-family: var(--font-display);
      opacity: 0.85;
      color: var(--text-primary);
      transition: opacity 0.15s ease;
    }
    
    .mobile-nav-link:hover {
      opacity: 1;
      color: var(--coral);
    }

    /* Hide subnav when mobile drawer is available */
    @media (max-width: 1023px) {
      .portfolio-subnav { display: none; }
      .nav-links { display: none; }
    }
    
    /* ═══════════════════════════════════════════════════════
       HERO SECTION WITH WORKING TILES
       ═══════════════════════════════════════════════════════ */
    
    /* ═══════════════════════════════════════════════════════
       SMART HERO SYSTEM
       ═══════════════════════════════════════════════════════ */
    
    .hero-section { 
        position: relative; 
        min-height: 100vh; 
        display: flex; 
        align-items: center; 
        overflow: hidden; 
        transition: all 0.5s ease-in-out; /* The Soft Dissolve */ 
        padding: 0;
    } 

    .hero-section::after { 
        content: ''; 
        position: absolute; 
        inset: 0; 
        z-index: 1; 
        pointer-events: none; 
        transition: opacity 0.5s ease; 
        /* Default: No overlay */ 
        background: transparent; 
    } 

    .hero-section[data-lens="explore"]::after { 
        background: radial-gradient( 
            circle at center, 
            rgba(5, 5, 5, 0.85) 0%, 
            rgba(5, 5, 5, 0.4) 50%, 
            rgba(5, 5, 5, 0.1) 100% 
        ); 
        z-index: 1; 
    } 
    
    .hero-section[data-layout="centered"] { justify-content: center; text-align: center; } 
    .hero-section[data-layout="asymmetric"] { justify-content: flex-start; text-align: left; } 
    
    .hero-bg { 
        position: absolute; 
        inset: 0; 
        z-index: 0; 
        background-size: cover; 
        background-position: center; 
        transition: opacity 0.4s ease; 
    } 
    .hero-section[data-lens="partner"] .hero-bg { background-position: right center; } 
    
    .hero-content { 
        position: relative; 
        z-index: 10; 
        max-width: 1100px; 
        padding: 2rem; 
        opacity: 1; 
        transform: translateY(0); 
        transition: opacity 0.4s ease, transform 0.4s ease; 
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
    } 
    .hero-section[data-layout="asymmetric"] .hero-content { margin-left: 8%; max-width: 600px; } 
    
    .hero-section.is-transitioning .hero-content { 
        opacity: 0; 
        transform: translateY(10px); 
    } 
    .hero-section.is-transitioning .hero-bg { 
        opacity: 0.9; 
    } 
    
    .headline-primary { 
        font-family: 'Big Shoulders Display', sans-serif; 
        font-weight: 900; 
        line-height: 0.9; 
        font-size: clamp(3.5rem, 9vw, 8.5rem); 
        letter-spacing: -0.02em; 
        color: #fff; 
        text-transform: uppercase; 
        margin-bottom: 0.5rem; 
    } 
    .headline-expressive { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 400; line-height: 1.2; } 
    
    .subline { 
        text-align: center; 
        margin-left: auto; 
        margin-right: auto; 
        width: 100%; 
    } 
    
    [data-lens="explore"] .headline-expressive { 
        font-family: 'Playfair Display', serif; 
        font-weight: 700; 
        font-style: italic; 
        color: #F96F6E; 
        text-transform: lowercase; 
        display: inline-block; 
        transform: rotate(-5deg); 
        position: relative; 
        font-size: clamp(4rem, 11vw, 10rem); 
        text-shadow: 0 0 20px rgba(249, 111, 110, 0.4), 0 10px 30px rgba(0, 0, 0, 0.6); 
        margin-left: 15px; 
        filter: brightness(1.1); 
    } 

    [data-lens="explore"] .subline { 
        color: rgba(255, 255, 255, 0.9) !important; 
        font-size: clamp(1.1rem, 2vw, 1.4rem) !important; 
        line-height: 1.6 !important; 
        margin: 2rem auto 4rem !important; 
        display: block; 
    } 

    [data-lens="explore"] .btn-cta { 
        background-color: #F96F6E !important; 
        color: #050505 !important; 
        font-weight: 800 !important; 
        padding: 1.25rem 3.5rem !important; 
    } 
    
    [data-lens="hire"] .headline-expressive { color: rgba(255,255,255,0.9); } 
    [data-lens="hire"] .btn-cta { background: #C45C4A; } 
    
    [data-lens="partner"] .headline-expressive { color: #FFFFFF; } 
    [data-lens="partner"] .btn-cta { background: #B87333; } 

    /* Scale back Partner and Hire lenses to ~80% of the Explore size */ 
    [data-lens="partner"] .headline-primary, 
    [data-lens="hire"] .headline-primary { 
        font-size: clamp(2.8rem, 7vw, 6.5rem); 
        line-height: 1.05; 
        margin-bottom: 1rem; 
    } 

    [data-lens="partner"] .headline-expressive, 
    [data-lens="hire"] .headline-expressive { 
        font-size: clamp(3rem, 8vw, 7.5rem); 
        margin-left: 0; 
        display: inline-block; 
    } 

    [data-lens="partner"] .subline, 
    [data-lens="hire"] .subline { 
        margin: 1.5rem auto 3rem !important; 
        max-width: 600px; 
        text-align: center; 
    } 

    /* Force Centering for Hire and Partner Lenses */ 
    [data-lens="partner"] .hero-content, 
    [data-lens="hire"] .hero-content { 
        text-align: center !important; 
        display: flex !important; 
        flex-direction: column !important; 
        align-items: center !important; 
        justify-content: center !important; 
        margin: 0 auto !important; 
        max-width: 1100px; /* Consistent width with Explore lens */ 
    } 

    [data-lens="partner"] .headline-primary, 
    [data-lens="hire"] .headline-primary, 
    [data-lens="partner"] .subline, 
    [data-lens="hire"] .subline { 
        text-align: center !important; 
        margin-left: auto !important; 
        margin-right: auto !important; 
    } 

    /* Button Centering */ 
    [data-lens="partner"] .btn-cta, 
    [data-lens="hire"] .btn-cta { 
        margin: 0 auto !important; 
        display: inline-block; 
    } 

    .btn-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: none;
        cursor: pointer;
        text-decoration: none;
        width: fit-content;
        /* Shape & Size */ 
        border-radius: 9999px !important; /* Full Pill Shape */ 
        padding: 1.1rem 2.5rem !important; /* Taller, wider click area */ 
        
        /* Typography */ 
        font-family: 'Inter', sans-serif; 
        font-weight: 600; 
        font-size: 1rem; 
        letter-spacing: 0.02em; 
        
        /* Effects */ 
        color: white;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); 
        box-shadow: 0 4px 20px rgba(249, 111, 110, 0.3); /* Brand glow */ 
    }
    .btn-cta:hover { 
        transform: translateY(-5px) scale(1.03); 
        box-shadow: 0 15px 40px rgba(249, 111, 110, 0.5); 
    }
    .hero-section[data-layout="centered"] .btn-cta { margin-left: auto; margin-right: auto; }

    


    


    


    


    
    /* ═══════════════════════════════════════════════════════
       BANNER ROTATOR - CLOUD DANCER BACKGROUND (FIXED!)
       ═══════════════════════════════════════════════════════ */
    
    .banner-rotator {
      background: var(--cloud-dancer);
      padding: 3rem 0;
      overflow: hidden;
      position: relative;
    }
    
    [data-theme="dark"] .banner-rotator {
      background: #2a2a2a;
    }
    
    .banner-content {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 2rem;
      text-align: center;
      position: relative;
      height: 80px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .banner-text {
      position: absolute;
      font-size: 3rem;
      font-weight: 600;
      color: #1a1a1a;
      opacity: 0;
      transition: opacity 0.8s ease;
      font-family: var(--font-display);
    }
    
    [data-theme="dark"] .banner-text {
      color: rgba(255, 255, 255, 0.9);
    }
    
    .banner-text.active {
      opacity: 1;
    }
    
    .banner-text[data-font="sans"] {
      font-family: var(--font-body);
    }
    
    .banner-text[data-font="serif"] {
      font-family: var(--font-display);
      font-style: italic;
    }
    
    .banner-text[data-font="accent"] {
      font-family: var(--font-display);
      font-weight: 700;
      letter-spacing: -0.03em;
    }
    
    .banner-text .period {
      color: var(--coral);
    }

    /* ═══════════════════════════════════════════════════════
       STRATEGY STRIP (band between hero and next section)
       ═══════════════════════════════════════════════════════ */
    .strategy-strip {
      background-color: #ffffff;
      color: #111111;
      text-align: center;
      padding: 40px 20px;
      width: 100%;
    }
    body.dark-mode .strategy-strip { background-color: #1b1b1b; color: #f5f5f5; }
    [data-theme="dark"] .strategy-strip { background-color: #1b1b1b; color: #f5f5f5; }
    .strategy-strip-link { text-decoration: none; color: inherit; }
    .strategy-strip-link:hover { color: var(--coral); }
    .strategy-strip-link:focus { outline: 2px solid var(--coral); outline-offset: 4px; }
    .strategy-strip-question {
      font-family: "Playfair Display", serif;
      font-style: italic;
      font-size: 1.625rem;
      line-height: 1.5;
      transition: opacity 0.25s ease;
      cursor: pointer;
      max-width: 900px;
      margin: 0 auto;
      color: var(--text-primary);
    }
    .strategy-strip-question.strategy-strip-fade-out { opacity: 0; }
    
    /* ═══════════════════════════════════════════════════════
       QUICK TOUR SECTION WITH ANIMATED CARDS
       ═══════════════════════════════════════════════════════ */
    
    .quick-tour-section {
      padding: 5rem 2rem;
      background: var(--bg-secondary);
    }
    
.section-header {
  text-align: center;
  margin-bottom: 0;
}
    
    .section-header h2 {
      font-size: 3rem;
      margin-bottom: 1rem;
      font-family: var(--font-display);
      font-weight: 600;
      letter-spacing: -0.02em;
    }
    
    .section-header h2 .period {
      color: var(--coral);
    }
    
    .section-header p {
      font-size: 1.25rem;
      color: var(--text-secondary);
    }
    
    .cards-group {
      margin-bottom: 5rem;
      padding-top: 3rem;
    }
    .cards-group:first-of-type { padding-top: 0; }
    
.cards-group h3 {
      font-size: 2rem;
      margin-bottom: 2.5rem;
      margin-top: 0;
      text-align: center;
      font-weight: 600;
      letter-spacing: -0.02em;
      font-family: var(--font-display);
      opacity: 0.9;
      line-height: 1.3;
    }
    
    .start-here-helper,
    .card-discovery-helper {
      text-align: center;
      font-size: 0.875rem;
      color: var(--text-tertiary);
      margin-top: 1.5rem;
    }
    
    .cards-grid {
      display: grid;
      gap: 2rem;
    }
    
    /* Responsive 2x2 grid for "Know the human & professional" */
    .cards-grid-2x2 {
      grid-template-columns: repeat(2, 300px);
      gap: 24px;
      justify-content: center;
      align-items: start;
    }
    
    .cards-grid-4 {
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
.cards-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  justify-items: center;
  align-items: start;
}
    
    /* Card with Flip Animation & Hover Effects */
/* ═══════════════════════════════════════════════════════
   CARD FLIP ANIMATION & HOVER VIDEO - COMPLETE FIX
   ═══════════════════════════════════════════════════════ */

/* Card container */
.tour-card {
  perspective: 1000px;
  width: 300px;
  height: 400px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.tour-card:hover {
  transform: translateY(-8px);
  z-index: 10;
}

/* Card inner - enables flip */
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

/* Flipped state */
.tour-card.flipped .card-inner {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

.tour-card.flipped {
  z-index: 20;
}

/* Card front and back sides */
.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  top: 0;
  left: 0;
}

/* Front side */
.card-front {
  background: var(--bg-tertiary);
  position: relative;
  z-index: 2;
  transform: rotateY(0deg);
}

/* Back side - rotated 180deg */
.card-back {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
}

[data-theme="dark"] .card-front,
[data-theme="dark"] .card-back {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tour-card:hover .card-front img {
  transform: scale(1.08);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.card-icon {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  color: white;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.card-icon-teal {
  color: var(--teal);
}

.tour-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.card-front h3 {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  color: white;
  font-size: 1.5rem;
  font-family: var(--font-display);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.tour-card:hover .card-front h3 {
  transform: translateX(4px);
}

/* Semi-transparent background image on card back */
.card-back::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

/* Ensure content stays above background */
.card-back > * {
  position: relative;
  z-index: 1;
}

/* Specific background images for each present/future card */
.tour-card[data-category="present-future"]:nth-child(1) .card-back::before {
  background-image: url('assets/hp/Insights.webp');
}
.tour-card[data-category="present-future"]:nth-child(2) .card-back::before {
  background-image: url('assets/hp/TheHub.webp');
}
.tour-card[data-category="present-future"]:nth-child(3) .card-back::before {
  background-image: url('assets/hp/ThePortal.webp');
}

/* Subnav active indicator */
.subnav-link.active {
  color: var(--coral);
  opacity: 1;
  position: relative;
  font-weight: 600;
}
.subnav-link.active::before {
  content: "-";
  color: var(--coral);
  display: inline-block;
  margin-right: 8px;
}

/* Primary nav visibility overrides */
.primary-nav .nav-link { color: rgba(255, 255, 255, 0.85); }
.primary-nav .nav-link:hover { opacity: 1; color: var(--coral); }
.primary-nav .theme-toggle,
.primary-nav .mobile-menu-toggle { color: #ffffff; }
    
    .card-back-coral {
      background: var(--coral);
    }
    
    .card-back-teal {
      background: var(--teal);
    }
    
    .card-back-deep-blue {
      background: var(--deep-blue);
    }
    
    .card-icon-large {
      width: 40px;
      height: 40px;
      margin-bottom: 1rem;
    }
    
    .card-back p {
      font-size: 1rem;
      line-height: 1.7;
      color: rgba(255, 255, 255, 0.9);
      flex-grow: 1;
    }
    
    .card-cta,
    .card-cta-coral,
    .card-cta-teal,
    .card-cta-deep-blue {
      display: inline-flex;
      align-items: center;
      font-weight: 600;
      font-size: 1.125rem;
      color: white;
      transition: transform 0.3s ease;
      text-decoration: none;
    }
    
    .card-cta:hover,
    .card-cta-coral:hover,
    .card-cta-teal:hover,
    .card-cta-deep-blue:hover {
      transform: translateX(6px);
    }
    
    /* Subtle glow on card hover */
    .tour-card::before {
      content: '';
      position: absolute;
      inset: -2px;
      background: linear-gradient(135deg, rgba(249, 111, 110, 0.2), rgba(46, 211, 198, 0.2));
      border-radius: 18px;
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: -1;
      filter: blur(8px);
      pointer-events: none;
    }
    
    .tour-card:hover::before {
      opacity: 1;
    }

    /* ═══════════════════════════════════════════════════════ 
       HOVER VIDEO - JS CONTROLLED (no CSS :hover rules) 
       ═══════════════════════════════════════════════════════ */ 
 
 
    /* Video element - hidden by default, shown via JS */ 
    .card-hover-video { 
      position: absolute; 
      top: 0; 
      left: 0; 
      width: 100%; 
      height: 100%; 
      object-fit: cover; 
      opacity: 0; 
      transition: opacity 0.4s ease; 
      z-index: 1; 
      pointer-events: none; 
    } 
 
 
    /* Static image - visible by default */ 
    .card-static-img { 
      position: absolute; 
      top: 0; 
      left: 0; 
      width: 100%; 
      height: 100%; 
      object-fit: cover; 
      opacity: 1; 
      transition: opacity 0.4s ease, transform 0.5s ease; 
      z-index: 2; 
    } 
 
    /* Keep these z-index fixes to ensure content is visible */
    .card-overlay {
      z-index: 4;
    }

    .card-icon {
      z-index: 5;
    }

    .card-front h3 {
      z-index: 5;
    }
 
    /* Subtle scale on hover for static image */ 
    .tour-card:hover .card-static-img { 
      transform: scale(1.05); 
    } 
 
 
    /* Mobile: video enabled for tap interaction 
    @media (hover: none) and (pointer: coarse) { 
      .card-hover-video { 
        display: none !important; 
      } 
    }
    */
    
    .shuffle-container {
      text-align: center;
      margin-top: 3rem;
    }
    
    .shuffle-container p {
      margin-bottom: 1rem;
      color: var(--text-tertiary);
    }
    
    .shuffle-button {
      display: inline-flex;
      align-items: center;
      gap: 0.75rem;
      padding: 1rem 2rem;
      background: var(--bg-tertiary);
      color: var(--text-primary);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    
    .shuffle-button:hover {
      background: var(--teal);
      color: white;
      border-color: var(--teal);
      transform: translateY(-2px);
    }
    
    .shuffle-button svg {
      width: 20px;
      height: 20px;
    }
    
    /* ═══════════════════════════════════════════════════════
       WHAT'S NEXT SECTION
       ═══════════════════════════════════════════════════════ */
    
    .whats-next-section {
      position: relative;
      padding: 5rem 2rem;
      text-align: center;
      background: var(--bg-primary);
      overflow: hidden;
    }
    
    #constellationCanvas {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      opacity: 0.3;
    }
    
    .whats-next-section .container {
      position: relative;
      z-index: 1;
    }
    
    .whats-next-section h2 {
      font-size: 3rem;
      margin-bottom: 1rem;
    }
    
    .whats-next-section p {
      font-size: 1.25rem;
      margin-bottom: 2rem;
    }
    
    .text-accent {
      color: var(--coral);
      font-style: italic;
    }
    
    .cta-button {
      display: inline-flex;
      align-items: center;
      gap: 1rem;
      padding: 1.25rem 2.5rem;
      background: var(--coral);
      color: white;
      border-radius: 12px;
      font-weight: 600;
      font-size: 1.125rem;
      transition: all 0.3s ease;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
      text-decoration: none;
    }
    
    .cta-button:hover {
      transform: translateY(-4px) scale(1.02);
      box-shadow: 0 20px 40px rgba(249, 111, 110, 0.4);
    }
    
    .cta-button svg {
      width: 24px;
      height: 24px;
      transition: transform 0.3s ease;
    }
    
    .cta-button:hover svg {
      transform: translateX(6px);
    }
    

    
    /* ═══════════════════════════════════════════════════════
       RESPONSIVE DESIGN
       ═══════════════════════════════════════════════════════ */
    
@media (max-width: 1200px) {
  .hero-tiles {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
    gap: 1rem;
  }
  .tile-inner {
    height: 240px;
  }
}
    
    @media (max-width: 1023px) {
      .nav-links {
        display: none;
      }
      
      .mobile-controls {
        display: flex;
      }
    }

    @media (max-width: 768px) {
      h1 { font-size: 2.5rem; }
      h2 { font-size: 2rem; }
      
      .hero-section {
        padding: 4rem 1rem;
      }
      
      .banner-text {
        font-size: 1.75rem;
      }
      
      .section-header h2 {
        font-size: 2rem;
      }
      
      .whats-next-section h2 {
        font-size: 2rem;
      }
      
      .cards-grid-4,
      .cards-grid-3,
      .cards-grid-2x2 {
        grid-template-columns: 1fr;
        justify-items: center;
      }
      .tour-card { width: 100%; max-width: 300px; height: 400px; }
      
      .tour-card {
        height: 350px;
      }
      
      [data-lens="explore"] .headline-expressive { 
         transform: rotate(-3deg); 
         margin-left: 0; 
         display: block; 
         margin-top: 0.5rem; 
       } 

       [data-lens="partner"] .headline-primary, 
       [data-lens="hire"] .headline-primary { 
         font-size: 3rem; 
         line-height: 1.1; 
       } 
       [data-lens="partner"] .headline-expressive, 
       [data-lens="hire"] .headline-expressive { 
         font-size: 3.5rem; 
         transform: rotate(-2deg); 
       } 

       .btn-cta { width: 100%; max-width: 320px; } 
    }
    
@media (max-width: 480px) {
  .hero-tiles {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .tile-inner {
    height: 160px;
  }
  .cards-grid-2x2 { grid-template-columns: 1fr; gap: 20px; }
}
  /* ============================================
     STANDARDIZED PORTFOLIO FOOTER
     ============================================ */
  
/* ==========================================
   FOOTER STYLES - Responsive
   ========================================== */
.site-footer {
    background: #0A0A0A;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 0;
    margin-top: auto;
    font-family: var(--font-sans), 'Inter', sans-serif;
    color: #ffffff;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
}

.footer-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-brand-col {
    max-width: 320px;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    opacity: 0.9;
}

.footer-brand-name {
    font-family: 'Big Shoulders Display', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.footer-tagline {
    color: rgba(255,255,255,0.5);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: #ffffff;
    transition: all 0.2s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.social-icon:hover {
    background: var(--coral);
    border-color: var(--coral);
}

.social-icon i {
    font-size: 1.1rem;
}

.footer-nav-heading {
    font-family: 'Big Shoulders Display', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1.5rem;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s;
    display: inline-block;
}

.footer-nav-link:hover {
    color: var(--coral);
}

.footer-portal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-portal-link:hover {
    color: var(--teal);
}

.footer-linkedin-link:hover {
    color: #0077B5;
}

.footer-nav-divider {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-system-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--coral);
    text-decoration: none;
    font-style: italic;
}

.footer-status-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 1.25rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(46, 211, 198, 0.5);
}

.status-text {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    font-size: 0.9rem;
}

.status-description {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.status-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: gap 0.2s ease;
}

.status-cta:hover {
    gap: 0.75rem;
    color: var(--coral);
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255,255,255,0.05);
    background: #050505;
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem;
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal-link {
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.footer-legal-link:hover {
    color: #ffffff;
}

/* Mobile Footer Adjustments */
@media (max-width: 1023px) {
    .footer-container {
        padding: 3rem 2rem 2.5rem;
    }

    .footer-grid-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand-col {
        max-width: 100%;
        text-align: center;
    }

    .footer-logo-link {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-nav-col {
        text-align: center;
    }

    .footer-nav-list {
        align-items: center;
    }

    .footer-status-col {
        text-align: center;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 2.5rem 1.5rem 2rem;
    }

    .footer-grid-layout {
        gap: 2rem;
    }

    .footer-brand-name {
        font-size: 1.25rem;
    }

    .footer-tagline {
        font-size: 0.875rem;
    }

    .footer-nav-heading {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

    .footer-nav-link {
        font-size: 0.875rem;
    }

    .footer-status-card {
        padding: 1rem;
    }

    .status-text {
        font-size: 0.8125rem;
    }

    .status-description {
        font-size: 0.8125rem;
    }

    .footer-bottom-container {
        padding: 1.25rem 1.5rem;
    }
}



















    #cursor-lens { position: fixed; pointer-events: none; z-index: 200000; width: 40px; height: 40px; transform: translate(-50%, -50%); transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
    .lens-outer { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; border: 2px solid var(--coral); border-radius: 50%; transform: translate(-50%, -50%); opacity: 0.4; transition: all 0.2s ease; }
    .lens-middle { position: absolute; top: 50%; left: 50%; width: 24px; height: 24px; border: 1.5px solid rgba(255, 255, 255, 0.3); border-radius: 50%; transform: translate(-50%, -50%); opacity: 0.3; transition: all 0.2s ease; }
    .lens-center { position: absolute; top: 50%; left: 50%; width: 6px; height: 6px; background: var(--teal); border-radius: 50%; transform: translate(-50%, -50%); opacity: 0.8; transition: all 0.2s ease; }
    body.cursor-hover #cursor-lens .lens-outer { width: 60px; height: 60px; opacity: 0.6; border-color: var(--teal); }
    body.cursor-hover #cursor-lens .lens-middle { width: 36px; height: 36px; opacity: 0.5; }
    body.cursor-hover #cursor-lens .lens-center { width: 10px; height: 10px; opacity: 1; background: var(--coral); }
    @media (pointer: coarse) { #cursor-lens { display: none !important; } body { cursor: auto !important; } }

    /* INTENT GATE VARIABLES */ 
    :root { 
      --bg-overlay-backdrop: rgba(10, 10, 10, 0.85); 
      --bg-container: rgba(20, 20, 20, 0.6); 
      --card-bg-hire: rgba(196, 92, 74, 0.08); 
      --card-bg-partner: rgba(184, 115, 51, 0.08); 
      --card-bg-explore: rgba(232, 132, 106, 0.08); 
      --card-border-hire: rgba(196, 92, 74, 0.2); 
      --card-border-partner: rgba(184, 115, 51, 0.2); 
      --card-border-explore: rgba(232, 132, 106, 0.2); 
    } 
    
    /* BACKDROP & CONTAINER */ 
    .intent-backdrop { 
      position: fixed; inset: 0; 
      background: var(--bg-overlay-backdrop); 
      backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); 
      display: flex; align-items: center; justify-content: center; 
      z-index: 2147483647 !important; /* Force Top Layer */ 
      opacity: 0; pointer-events: none; transition: opacity 0.5s ease; 
    } 
    .intent-backdrop.visible { opacity: 1; pointer-events: all; } 
    
    .intent-container { 
      background: var(--bg-container); 
      border: 1px solid rgba(255, 255, 255, 0.08); 
      border-radius: 16px; 
      padding: 3.5rem 4rem; 
      max-width: 900px; width: 90%; 
      text-align: center; 
      transform: translateY(20px); transition: transform 0.5s ease; 
    } 
    .intent-backdrop.visible .intent-container { transform: translateY(0); } 
    
    /* TYPOGRAPHY */ 
    .intent-header { 
      font-family: 'Inter', sans-serif; font-weight: 300; font-size: 1.75rem; color: white; margin-bottom: 2.5rem; 
    } 
    .intent-header .emphasis { font-family: 'Playfair Display', serif; font-style: italic; } 
    
    .card-qualifier { font-family: 'Inter', sans-serif; font-size: 0.875rem; color: rgba(255,255,255,0.7); margin-bottom: 0.5rem; } 
    .card-keyword { font-family: 'Playfair Display', serif; font-style: italic; font-size: 2.25rem; color: white; margin-bottom: 0.75rem; } 
    .card-microline { font-family: 'Inter', sans-serif; font-size: 0.8125rem; color: rgba(255,255,255,0.5); } 
    
    /* CARDS GRID */ 
    .intent-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2.5rem; } 
    
    .intent-card { 
      padding: 1.75rem 1.5rem; border-radius: 12px; text-align: left; cursor: pointer; transition: all 0.25s ease; 
      border: 1px solid transparent; width: 100%; background: transparent; 
    } 
    
    /* VARIANTS */ 
    .intent-card--hire { background: var(--card-bg-hire); border-color: var(--card-border-hire); } 
    .intent-card--hire:hover { background: rgba(196, 92, 74, 0.12); border-color: rgba(196, 92, 74, 0.35); transform: translateY(-3px); } 
    
    .intent-card--partner { background: var(--card-bg-partner); border-color: var(--card-border-partner); } 
    .intent-card--partner:hover { background: rgba(184, 115, 51, 0.12); border-color: rgba(184, 115, 51, 0.35); transform: translateY(-3px); } 
    
    .intent-card--explore { background: var(--card-bg-explore); border-color: var(--card-border-explore); } 
    .intent-card--explore:hover { background: rgba(232, 132, 106, 0.12); border-color: rgba(232, 132, 106, 0.35); transform: translateY(-3px); } 
    
    /* SKIP LINK */ 
    .skip-link { color: rgba(255,255,255,0.4); font-size: 0.875rem; text-decoration: none; transition: 0.2s; } 
    .skip-link:hover { color: white; } 
    
    /* RESPONSIVE */ 
    @media (max-width: 768px) { 
      .intent-container { padding: 2rem; } 
      .intent-cards { grid-template-columns: 1fr; gap: 1rem; } 
    } 

    /* LENS TOGGLE BADGE (System Tag Style) */ 
    .lens-badge { 
        font-family: var(--font-body); 
        font-size: 0.65rem; /* Much smaller */ 
        font-weight: 600; 
        letter-spacing: 0.1em; 
        text-transform: uppercase; 
        color: rgba(255, 255, 255, 0.5); /* Subtle by default */ 
        border: 1px solid rgba(255, 255, 255, 0.15); 
        padding: 6px 12px; 
        border-radius: 99px; /* Pill shape */ 
        text-decoration: none; 
        transition: all 0.2s ease; 
        display: inline-flex; 
        align-items: center; 
        cursor: pointer; 
        margin-left: 1rem; /* Separation from main nav */ 
    } 
    
    .lens-badge:hover { 
        color: var(--coral); 
        border-color: var(--coral); 
        background: rgba(249, 111, 110, 0.05); 
        transform: translateY(-1px); 
    } 
    
    /* Remove any inherited nav-link styles if necessary */ 
    .lens-badge::after { display: none !important; } 

    .mobile-lens-btn { 
        margin-top: 1.5rem; 
        width: 100%; 
        display: flex; 
        align-items: center; 
        justify-content: space-between; 
        padding: 12px 16px; 
        background: rgba(255, 255, 255, 0.05); 
        border: 1px solid rgba(255, 255, 255, 0.1); 
        border-radius: 8px; 
        color: white; 
        font-family: var(--font-body); 
        font-size: 0.8rem; 
        font-weight: 600; 
        letter-spacing: 0.05em; 
        text-transform: uppercase; 
        cursor: pointer; 
        transition: all 0.2s ease; 
    } 
    .mobile-lens-btn:active { background: rgba(255, 255, 255, 0.1); transform: scale(0.98); } 
    .lens-dot { width: 6px; height: 6px; background: var(--coral); border-radius: 50%; margin-right: 10px; box-shadow: 0 0 8px var(--coral); }