:root {
  /* Colors */
  --paper: #111111;
  --paper-alt: #161616;
  --paper-deep: #1A1A1A;
  --ink: #F3F1EA;
  --ink-soft: #A3A198;
  --ink-muted: #66655C;
  --blue: #3B4CFF;
  --blue-deep: #2A38D6;
  --blue-pale: rgba(59, 76, 255, 0.15);
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.04);

  /* Spacing & Borders */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 100px;

  /* Animation & Typography */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      background: var(--paper);
      color: var(--ink);
      font-family: 'Inter', sans-serif;
      overflow-x: clip;
      -webkit-font-smoothing: antialiased;
      cursor: none; /* Hide default cursor for custom cursor */
    }

    /* CUSTOM CURSOR */
    .cursor-dot {
      width: 8px;
      height: 8px;
      background: var(--blue);
      border-radius: 50%;
      position: fixed;
      top: 0;
      left: 0;
      pointer-events: none;
      z-index: 9999;
      transform: translate(-50%, -50%);
      transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
    }

    .cursor-outline {
      width: 32px;
      height: 32px;
      border: 1px solid rgba(255, 255, 255, 0.5);
      border-radius: 50%;
      position: fixed;
      top: 0;
      left: 0;
      pointer-events: none;
      z-index: 9998;
      transform: translate(-50%, -50%);
      mix-blend-mode: difference;
      transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
    }

    /* Hover state for cursor */
    body.cursor-hover .cursor-dot {
      width: 0;
      height: 0;
    }

    body.cursor-hover .cursor-outline {
      width: 64px;
      height: 64px;
      background-color: #ffffff;
      border-color: transparent;
    }

    .cursor-torch {
      position: fixed;
      width: 800px;
      height: 800px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(59, 76, 255, 0.12) 0%, rgba(59, 76, 255, 0.03) 40%, transparent 70%);
      filter: blur(50px);
      pointer-events: none;
      z-index: 150;
      transform: translate(-50%, -50%);
      will-change: left, top;
      mix-blend-mode: screen;
      transition: opacity 0.5s var(--ease-out);
    }
    
    @media (max-width: 768px) {
      .cursor-torch { display: none !important; }
    }

    h1,
    h2,
    h3,
    h4,
    h5 {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 700;
      line-height: 1.05;
      letter-spacing: -0.025em;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button {
      font-family: inherit;
      cursor: pointer;
      border: none;
      background: none;
    }

    .wrap {
      max-width: 1180px;
      margin: 0 auto;
      padding: 0 36px;
    }

    @media(max-width:600px) {
      .wrap {
        padding: 0 20px;
      }
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 11.5px;
      font-weight: 600;
      letter-spacing: 0.10em;
      text-transform: uppercase;
      color: var(--blue);
    }

    .eyebrow-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--blue);
      flex-shrink: 0;
      animation: pulse-dot 2.4s ease-in-out infinite;
    }

    @keyframes pulse-dot {

      0%,
      100% {
        opacity: 1;
        transform: scale(1);
      }

      50% {
        opacity: 0.4;
        transform: scale(0.7);
      }
    }

    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .reveal-left {
      opacity: 0;
      transform: translateX(-50px);
      transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
    }
    .reveal-left.visible {
      opacity: 1;
      transform: translateX(0);
    }

    .reveal-right {
      opacity: 0;
      transform: translateX(50px);
      transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
    }
    .reveal-right.visible {
      opacity: 1;
      transform: translateX(0);
    }

    .reveal-delay-1 {
      transition-delay: 0.10s;
    }

    .reveal-delay-2 {
      transition-delay: 0.20s;
    }

    .reveal-delay-3 {
      transition-delay: 0.30s;
    }

    .reveal-delay-4 {
      transition-delay: 0.40s;
    }

    /* NAV */
    #nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 200;
      background: transparent;
      border-bottom: 1px solid transparent;
      transition: background 0.4s, box-shadow 0.4s, border-color 0.4s, backdrop-filter 0.4s;
    }

    #nav.scrolled {
      background: rgba(17, 17, 17, 0.75);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--line);
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 22px 36px;
      max-width: 1180px;
      margin: 0 auto;
    }

    .nav-logo {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 20px;
      font-weight: 800;
      letter-spacing: -0.04em;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .nav-logo-img {
      height: 44px;
      width: auto;
      filter: brightness(0) invert(1);
      display: block;
      object-fit: contain;
    }

    .nav-links {
      display: flex;
      gap: 32px;
      font-size: 16px;
      font-weight: 500;
      color: #ffffff;
      list-style: none;
    }

    .nav-links a {
      position: relative;
      transition: color 0.2s;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -3px;
      left: 0;
      right: 0;
      height: 1.5px;
      background: var(--blue);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.25s var(--ease-out);
    }

    .nav-links a:hover {
      color: var(--ink);
    }

    .nav-links a:hover::after {
      transform: scaleX(1);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      padding: 11px 22px;
      border-radius: var(--radius-pill);
      font-size: 13.5px;
      font-weight: 600;
      transition: transform 0.28s var(--ease-out), box-shadow 0.28s, background 0.25s, color 0.25s;
      cursor: none; /* Inherit custom cursor */
      position: relative;
      overflow: hidden;
    }

    /* Button Text Roll-Up Animation */
    .btn-text-wrapper {
      position: relative;
      display: inline-block;
      overflow: hidden;
    }

    .btn-text, .btn-text-hover {
      display: block;
      transition: transform 0.4s var(--ease-out);
    }

    .btn-text-hover {
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      text-align: center;
    }

    .btn:hover .btn-text {
      transform: translateY(-100%);
    }

    .btn:hover .btn-text-hover {
      transform: translateY(-100%);
    }

    .btn-primary {
      background: var(--ink);
      color: var(--paper);
      border: 1px solid var(--ink);
    }

    .btn-primary:hover {
      background: var(--blue);
      border-color: var(--blue);
      transform: translateY(-2px);
      box-shadow: 0 10px 24px rgba(59, 76, 255, 0.22);
    }

    .btn-ghost {
      border: 1.5px solid var(--line);
      color: var(--ink);
    }

    .btn-ghost:hover {
      border-color: var(--ink);
      transform: translateY(-2px);
      background: var(--ink);
      color: var(--paper);
    }

    .btn-white {
      background: #fff;
      color: var(--ink);
    }

    .btn-white:hover {
      background: var(--paper-alt);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

    .nav-cta {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 4px;
    }

    .hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--ink);
      border-radius: 2px;
    }

    @media(max-width:900px) {
      .nav-links {
        display: none;
      }

      .hamburger {
        display: flex;
      }
    }

    @media(max-width:600px) {
      .nav-cta .btn-ghost {
        display: none;
      }

      .nav-inner {
        padding: 18px 20px;
      }
    }

    #mobile-menu {
      position: fixed;
      inset: 0;
      z-index: 190;
      background: rgba(17, 17, 17, 0.7);
      backdrop-filter: blur(32px);
      -webkit-backdrop-filter: blur(32px);
      padding: 120px 36px 40px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      opacity: 0;
      pointer-events: none;
      transform: translateY(-20px);
      transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    }

    #mobile-menu.open {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }

    #mobile-menu a {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 32px;
      font-weight: 700;
      color: var(--ink);
      text-decoration: none;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      padding: 24px 0;
      transition: color 0.3s ease;
    }
    
    #mobile-menu a:hover {
      color: var(--blue);
    }

    /* HERO (Scroll Track) */
    #hero {
      position: relative;
      height: 320vh;
    }

    /* Concentric rings background */
    .hero-rings {
      position: absolute;
      top: 50%; left: 55%;
      transform: translate(-50%, -50%);
      width: 900px; height: 900px;
      z-index: 0; pointer-events: none;
      opacity: 0.35;
    }
    .hero-rings circle {
      fill: none;
      stroke: var(--line);
    }

    /* Hero Glow Orb */
    .hero-glow {
      position: absolute;
      top: 30%;
      left: 60%;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(59,76,255,0.15) 0%, rgba(59,76,255,0) 70%);
      filter: blur(60px);
      border-radius: 50%;
      transform: translate(-50%, -50%);
      z-index: 0;
      pointer-events: none;
      animation: float-glow 12s ease-in-out infinite alternate;
    }
    
    @keyframes float-glow {
      0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
      100% { transform: translate(-45%, -40%) scale(1.1); opacity: 1; }
    }

    .hero-grid {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
      background-size: 52px 52px;
      mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, black 10%, transparent 60%);
      -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, black 10%, transparent 60%);
      opacity: 0.45;
    }

    .hero-crosshair {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 0;
    }
    .hero-crosshair::before {
      content: '';
      position: absolute;
      top: 50%; left: 0; right: 0;
      height: 1px;
      background: var(--line);
    }
    .hero-crosshair::after {
      content: '';
      position: absolute;
      top: 0; bottom: 0; left: 50%;
      width: 1px;
      background: var(--line);
    }

    /* Sticky Frame */
    .hero-center-layout {
      position: sticky;
      top: 0;
      z-index: 2;
      width: 100%;
      height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .hero-we-are {
      width: 100%;
      max-width: 1180px;
      padding: 0 36px;
      margin: 0 auto 3vh;
      text-align: left;
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--ink);
      z-index: 10;
    }

    .hero-massive-wrap {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
    }

    .hero-massive-word {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 800;
      font-size: clamp(48px, 13vw, 180px);
      line-height: 0.88;
      letter-spacing: -0.04em;
      color: var(--ink);
      text-align: center;
      margin: 0;
      text-transform: uppercase;
    }

    .hero-center-media {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 5;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .hero-footer-bar {
      position: absolute;
      bottom: 40px;
      left: 6%;
      right: 6%;
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      z-index: 3;
    }

    .hero-stats {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .hero-stat-line {
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.04em;
      color: var(--ink-soft);
    }
    .hero-stat-line strong {
      font-size: 14px;
      font-weight: 800;
      color: var(--ink);
      margin-right: 8px;
    }

    .hero-disclaimer {
      max-width: 380px;
      font-size: 11px;
      line-height: 1.6;
      font-weight: 600;
      text-align: left;
      text-transform: uppercase;
      color: var(--ink-soft);
    }

    .hero-image-wrapper {
      position: relative;
      width: 0px;
      height: 0px;
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.04);
      will-change: width, height, border-radius, transform, opacity;
      opacity: 0;
    }

    .hero-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    @keyframes hero-image-entrance {
      0% { opacity: 0; transform: scale(0.4); }
      100% { opacity: 1; transform: scale(0.65); }
    }

    @keyframes fade-in {
      0% { opacity: 0; }
      100% { opacity: 1; }
    }

    @media(max-width: 900px) {
      .hero-image-wrapper {
        width: 0px;
        height: 0px;
      }
      .hero-we-are {
        margin-bottom: 20px;
      }
      .hero-footer-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        bottom: 30px;
      }
    }

    /* PREMIUM SKILLS SECTION (Framer Style Deck) */
    .premium-skills-section {
      padding: 160px 0 0 0;
      background: #08080a;
      color: #fff;
      position: relative;
    }
    
    .premium-skills-layout {
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 60px;
      align-items: start;
    }
    
    .premium-skills-left {
      position: sticky;
      top: 140px;
      height: fit-content;
      padding-right: 40px;
    }
    
    .skills-tag {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 14px;
      letter-spacing: 0.1em;
      color: rgba(255, 255, 255, 0.5);
      margin-bottom: 24px;
    }
    
    .skills-heading {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(40px, 5vw, 64px);
      font-weight: 700;
      line-height: 1.1;
      letter-spacing: -0.02em;
      margin-bottom: 24px;
      transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .skills-desc {
      font-size: 18px;
      line-height: 1.6;
      color: rgba(255, 255, 255, 0.6);
      margin-bottom: 60px;
      max-width: 400px;
      transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      transition-delay: 0.05s;
    }
    
    .skills-progress-wrapper {
      display: flex;
      align-items: center;
      gap: 20px;
    }
    
    .skills-counter {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 20px;
      font-weight: 600;
      color: rgba(255, 255, 255, 0.4);
    }
    
    #active-skill-num {
      color: #fff;
    }
    
    .skills-track {
      flex: 1;
      height: 2px;
      background: rgba(255, 255, 255, 0.1);
      position: relative;
      border-radius: 2px;
      overflow: hidden;
      max-width: 200px;
    }
    
    .skills-track-fill {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 0%;
      background: #fff;
      transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .premium-skills-right {
      display: flex;
      flex-direction: column;
      gap: 24px;
      padding-bottom: 50vh; /* Allow last card to scroll past */
    }
    
    .premium-skill-card {
      position: sticky;
      top: 140px; 
      height: 480px;
      border-radius: 24px;
      overflow: hidden;
      transform-origin: top center;
      will-change: transform, opacity, filter;
    }
    
    .card-glass-bg {
      position: absolute;
      inset: 0;
      background: rgba(255, 255, 255, 0.03);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 24px;
      z-index: 0;
      transition: border-color 0.4s;
    }
    
    .premium-skill-card.is-active .card-glass-bg {
      border: 1px solid rgba(255, 255, 255, 0.25);
      box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
    }
    
    .card-content {
      position: relative;
      z-index: 1;
      padding: 40px;
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    
    .card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 32px;
    }
    
    .card-tag {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 14px;
      font-weight: 600;
      padding: 8px 16px;
      border-radius: 100px;
      border: 1px solid rgba(255, 255, 255, 0.15);
      background: rgba(255, 255, 255, 0.05);
    }
    
    .card-icon {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #fff;
      color: #000;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
    }
    
    .card-image-box {
      flex: 1;
      border-radius: 16px;
      overflow: hidden;
      margin-bottom: 24px;
      position: relative;
    }
    
    .card-image-box img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: scale(1.05);
      transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .premium-skill-card:hover .card-image-box img {
      transform: scale(1.1);
    }
    
    .card-title {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 28px;
      font-weight: 500;
      letter-spacing: -0.01em;
      margin: 0;
    }

    @media (max-width: 900px) {
      .premium-skills-layout {
        grid-template-columns: 1fr;
      }
      .premium-skills-left {
        position: relative;
        top: 0;
        padding-right: 0;
        margin-bottom: 60px;
      }
      .skills-track { display: none; }
      .premium-skill-card {
        position: relative;
        top: 0 !important;
        transform: none !important;
        filter: none !important;
        opacity: 1 !important;
        margin-bottom: 24px;
      }
      .premium-skills-right {
        padding-bottom: 80px;
      }
    }

    /* MANIFESTO / STATS (First Content Section) */
    .manifesto-overlay {
      position: relative;
      z-index: 10;
      background: transparent;
    }

    #manifesto {
      width: 100%;
      padding: 90px 0;
    }

    .manifesto-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
    }

    .manifesto-statement {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(32px, 4vw, 44px);
      font-weight: 700;
      line-height: 1.1;
      letter-spacing: -0.02em;
      color: var(--ink);
      max-width: 14ch;
    }

    .manifesto-stats {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      border-left: 1px solid var(--line);
      padding-left: 40px;
      position: relative;
    }
    
    /* Reveal border line softly */
    .manifesto-stats::before {
      content: '';
      position: absolute;
      top: 0; left: -1px; bottom: 0;
      width: 1px;
      background: var(--line);
      opacity: 0;
      transition: opacity 1.2s ease 0.3s;
    }
    #manifesto.visible .manifesto-stats::before {
      opacity: 1;
    }

    .trust-item {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
    }

    .trust-num {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 56px;
      font-weight: 800;
      color: var(--ink);
      line-height: 1;
      letter-spacing: -0.04em;
      margin-bottom: 12px;
      display: flex;
      align-items: baseline;
      gap: 3px;
    }

    .trust-suffix {
      font-size: 32px;
      color: var(--blue);
    }

    .trust-label {
      font-size: 15px;
      font-weight: 500;
      color: var(--ink-soft);
      line-height: 1.5;
    }

    @media(max-width:900px) {
      .manifesto-grid {
        grid-template-columns: 1fr;
        gap: 60px;
      }
      .manifesto-stats {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-left: 0;
        padding-top: 40px;
      }
    }

    @media(max-width:500px) {
      .manifesto-stats {
        grid-template-columns: 1fr;
      }
    }

    @media(max-width:460px) {
      .trust-grid {
        grid-template-columns: 1fr;
      }
    }

    /* WORK */
    .work-section {
      position: relative;
      height: 350vh; /* Scroll height for the carousel */
    }

    .work-sticky-wrapper {
      position: sticky;
      top: 0;
      height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      overflow: hidden;
      padding: 88px 0 0; /* Prevent overlap with the fixed navbar */
    }

    .section-head {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 20px;
      flex-wrap: wrap;
      margin-bottom: 52px;
    }

    .section-head h2 {
      font-size: clamp(32px, 4vw, 50px);
    }

    .section-head p {
      font-size: 15.5px;
      color: var(--ink-soft);
      max-width: 38ch;
    }

    .work-track {
      position: relative;
      width: 100%;
      height: 65vh;
      min-height: 450px;
      display: flex;
      align-items: center;
      justify-content: center;
      perspective: 2000px;
      overflow: hidden;
      margin: 40px 0;
    }

    .work-card {
      position: absolute;
      width: clamp(260px, 35vw, 420px);
      border-radius: var(--radius-lg);
      overflow: hidden;
      background: var(--paper-alt);
      border: 1px solid var(--line);
      transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                  opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                  filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
      user-select: none;
      filter: brightness(0.4) saturate(0%);
    }
    
    .work-card.active {
      filter: brightness(1) saturate(100%);
      box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    }

    .work-thumb {
      aspect-ratio: 16/10;
      background: var(--paper-deep);
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }

    /* Thumbnail zoom on hover */
    .work-thumb-placeholder {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      color: var(--ink-muted);
      font-size: 12px;
      border: 1.5px dashed var(--line);
      border-radius: 10px;
      padding: 20px 28px;
      text-align: center;
      transition: transform 0.6s var(--ease-out);
    }
    .work-card:hover .work-thumb-placeholder {
      transform: scale(1.06);
    }

    .work-overlay {
      position: absolute;
      inset: 0;
      background: rgba(20, 20, 15, 0.88);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 28px;
      opacity: 0;
      transition: opacity 0.35s var(--ease-out);
    }

    .work-card:hover .work-overlay {
      opacity: 1;
    }

    .work-overlay h3 {
      color: var(--paper);
      font-size: 20px;
      margin-bottom: 6px;
    }

    .work-overlay p {
      color: rgba(243, 241, 234, 0.7);
      font-size: 13.5px;
      line-height: 1.55;
    }

    .work-tag {
      display: inline-block;
      margin-top: 12px;
      color: rgba(255, 255, 255, 0.5);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }
    .work-tag .tag-cat {
      color: var(--blue);
      font-weight: 700;
    }
    .work-tag .tag-sep {
      opacity: 0.3;
      margin: 0 6px;
    }

    .work-info {
      padding: 22px 24px;
    }

    .work-info h3 {
      font-size: 17px;
      margin-bottom: 4px;
    }

    .work-info p {
      font-size: 13px;
      color: var(--ink-soft);
    }

    .work-nav {
      display: flex;
      gap: 10px;
      margin-top: 24px;
    }

    .work-nav-btn {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      border: 1.5px solid var(--line);
      background: transparent;
      display: grid;
      place-items: center;
      cursor: pointer;
      transition: background 0.22s, border-color 0.22s, transform 0.22s var(--ease-out);
    }

    .work-nav-btn:hover {
      background: var(--ink);
      border-color: var(--ink);
    }

    .work-nav-btn:hover svg {
      stroke: var(--paper);
    }

    .work-nav-btn svg {
      stroke: var(--ink);
      transition: stroke 0.22s;
    }

    /* SKILLS */
    #skills {
      background: var(--paper-alt);
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      padding: 110px 0;
    }

    .skills-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
      background: var(--line);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      overflow: hidden;
      margin-top: 4px;
    }

    /* Bento Box Layout */
    .skill-card:nth-child(1) { grid-column: span 2; }
    .skill-card:nth-child(4) { grid-column: span 2; }
    .skill-card:nth-child(5) { grid-column: span 2; }

    .skill-card {
      background: var(--paper-alt);
      padding: 40px 36px;
      position: relative;
      overflow: hidden;
    }

    .skill-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--blue);
      transform: translateY(101%);
      transition: transform 0.4s var(--ease-out);
      z-index: 0;
    }

    .skill-card:hover::before {
      transform: translateY(0);
    }

    .skill-inner {
      position: relative;
      z-index: 1;
    }

    .skill-icon {
      font-size: 28px;
      margin-bottom: 18px;
      color: var(--blue);
      transition: color 0.3s;
      display: flex;
    }

    .skill-card:hover .skill-icon,
    .skill-card:hover h3,
    .skill-card:hover p {
      color: var(--ink);
    }

    .skill-card h3 {
      font-size: 19px;
      margin-bottom: 10px;
      transition: color 0.3s;
    }

    .skill-card p {
      font-size: 14px;
      color: var(--ink-soft);
      line-height: 1.65;
      transition: color 0.3s;
    }

    .skill-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 18px;
    }

    .skill-tags span {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.05em;
      border: 1px solid var(--line);
      border-radius: var(--radius-pill);
      padding: 3px 10px;
      color: var(--ink-soft);
      transition: color 0.3s, border-color 0.3s, background 0.3s;
    }

    .skill-card:hover .skill-tags span {
      color: rgba(255, 255, 255, 0.9);
      border-color: rgba(255, 255, 255, 0.35);
      background: rgba(255, 255, 255, 0.1);
    }

    @media(max-width:900px) {
      .skills-grid {
        grid-template-columns: 1fr 1fr;
      }
      .skill-card:nth-child(1),
      .skill-card:nth-child(4),
      .skill-card:nth-child(5) {
        grid-column: span 1;
      }
    }

    @media(max-width:560px) {
      .skills-grid {
        grid-template-columns: 1fr;
      }
    }

    /* PROCESS GRAPH */
    .process-graph-section {
      height: 300vh;
      position: relative;
      background: var(--paper-alt); /* Deep dark background */
    }

    .process-sticky-wrapper {
      position: sticky;
      top: 0;
      height: 100vh;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      padding: 100px 0;
    }

    .process-sticky-wrapper .wrap-broad {
      max-width: 95vw;
      margin: 0 auto;
      width: 100%;
      border-left: 1px solid rgba(255, 255, 255, 0.1);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      height: 100%;
      position: relative;
      overflow: visible; /* axes sit on border */
    }

    .graph-axes {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 10;
    }

    .graph-y-axis {
      position: absolute;
      left: -24px;
      top: 20%;
      writing-mode: vertical-rl;
      transform: rotate(180deg);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.15em;
      color: rgba(255, 255, 255, 0.4);
    }

    .graph-x-axis {
      position: absolute;
      right: 0px;
      bottom: -24px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.15em;
      color: rgba(255, 255, 255, 0.4);
    }

    .graph-origin {
      position: absolute;
      left: -16px;
      bottom: -24px;
      font-size: 10px;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.4);
    }

    .graph-tagline {
      position: absolute;
      right: 40px;
      bottom: 40px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.05em;
      line-height: 1.5;
      color: var(--ink);
      max-width: 280px;
      text-transform: uppercase;
      z-index: 10;
    }

    .graph-torch-container {
      position: absolute;
      left: 0;
      top: 10%;
      width: 100%;
      height: 75%;
      pointer-events: none;
      z-index: 5;
    }

    .graph-torch {
      position: absolute;
      width: 600px;
      height: 600px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(59, 76, 255, 0.25) 0%, rgba(59, 76, 255, 0.05) 40%, transparent 70%);
      filter: blur(25px);
      opacity: 0;
      transition: opacity 0.4s var(--ease-out);
      transform: translate(-50%, -50%);
      will-change: left, top;
    }

    .graph-torch-core {
      position: absolute;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #fff;
      box-shadow: 0 0 12px 3px rgba(255, 255, 255, 0.8), 0 0 30px 10px rgba(59, 76, 255, 0.8);
      opacity: 0;
      transition: opacity 0.4s var(--ease-out);
      transform: translate(-50%, -50%);
      will-change: left, top;
    }

    .graph-svg {
      position: absolute;
      left: 0;
      top: 10%;
      width: 100%;
      height: 75%;
      pointer-events: none;
      overflow: visible;
    }

    .graph-curve-bg {
      fill: none;
      stroke: rgba(255, 255, 255, 0.1);
      stroke-width: 1.5px;
    }

    .graph-curve-active {
      fill: none;
      stroke: #fff;
      stroke-width: 2px;
    }

    .graph-nodes-container {
      position: absolute;
      left: 0;
      top: 10%;
      width: 100%;
      height: 75%;
      pointer-events: none;
    }

    .graph-node {
      position: absolute;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      transform: translateY(30px);
      opacity: 0;
      transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .graph-node.active {
      transform: translateY(0);
      opacity: 1;
    }

    .node-content {
      display: flex;
      align-items: flex-start;
      gap: 12px;
    }

    .node-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: #fff;
      margin-top: 8px;
      position: relative;
    }

    .node-dropline {
      width: 1px;
      background: rgba(255, 255, 255, 0.3);
      margin-left: 2px;
    }

    .node-text h3 {
      font-size: 20px;
      font-weight: 500;
      color: var(--ink);
      margin-bottom: 6px;
    }

    .node-text p {
      font-size: 13px;
      color: rgba(255, 255, 255, 0.6);
      line-height: 1.5;
    }

    @media (max-width: 1024px) {
      .node-text h3 { font-size: 16px; }
      .node-text p { font-size: 11px; }
      .graph-tagline { font-size: 9px; right: 20px; bottom: 20px; max-width: 200px; }
    }



    /* JOURNAL */
    #journal {
      background: var(--paper-alt);
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      padding: 110px 0;
    }

    .journal-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .journal-card {
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      overflow: hidden;
      transition: transform 0.8s var(--ease-out), opacity 0.8s var(--ease-out), box-shadow 0.32s;
    }

    .journal-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07);
    }

    .journal-thumb {
      aspect-ratio: 16/8;
      background: var(--paper-deep);
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .journal-thumb-inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      color: var(--ink-muted);
      font-size: 12px;
      border: 1.5px dashed var(--line);
      border-radius: 8px;
      padding: 16px 22px;
      text-align: center;
    }

    .jcat {
      display: inline-block;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      color: var(--blue);
      margin-bottom: 6px;
    }

    .journal-body {
      padding: 24px;
    }

    .journal-body h3 {
      font-size: 18px;
      line-height: 1.3;
      margin-bottom: 10px;
    }

    .journal-body p {
      font-size: 14px;
      color: var(--ink-soft);
      line-height: 1.6;
    }

    .journal-read {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 16px;
      font-size: 13px;
      font-weight: 600;
      color: var(--blue);
      transition: gap 0.2s;
    }

    .journal-card:hover .journal-read {
      gap: 10px;
    }

    @media(max-width:1000px) {
      .journal-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media(max-width:640px) {
      .journal-grid {
        grid-template-columns: 1fr;
      }
    }

    /* FAQ */
    #faq {
      padding: 110px 0;
    }

    .faq-layout {
      display: grid;
      grid-template-columns: 1fr 1.6fr;
      gap: 80px;
      align-items: start;
    }

    .faq-left h2 {
      font-size: clamp(28px, 3.5vw, 42px);
      margin-bottom: 16px;
    }

    .faq-left p {
      font-size: 15.5px;
      color: var(--ink-soft);
      line-height: 1.7;
    }

    .faq-item {
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .faq-item:first-child {
      border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .faq-q {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 22px 0;
      cursor: pointer;
      gap: 20px;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 17px;
      font-weight: 600;
      user-select: none;
      transition: color 0.3s, padding-left 0.3s var(--ease-out), padding-right 0.3s var(--ease-out);
    }

    .faq-q:hover {
      color: var(--blue);
      padding-left: 12px;
      padding-right: 12px;
    }

    .faq-icon {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      border: 1.5px solid var(--line);
      flex-shrink: 0;
      display: grid;
      place-items: center;
      transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease-out), box-shadow 0.3s;
    }

    .faq-q:hover .faq-icon {
      border-color: var(--blue);
      transform: scale(1.1);
      box-shadow: 0 0 15px rgba(59, 76, 255, 0.2);
    }

    .faq-item.open .faq-icon {
      background: var(--blue);
      border-color: var(--blue);
      transform: rotate(45deg);
    }

    .faq-icon svg {
      transition: stroke 0.3s;
      stroke: var(--ink);
    }

    .faq-item.open .faq-icon svg {
      stroke: #fff;
    }

    .faq-body {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows 0.42s var(--ease-out);
    }

    .faq-item.open .faq-body {
      grid-template-rows: 1fr;
    }

    .faq-body-inner {
      overflow: hidden;
    }

    .faq-body-inner p {
      padding: 0 0 22px;
      font-size: 15px;
      color: var(--ink-soft);
      line-height: 1.72;
    }

    @media(max-width:820px) {
      .faq-layout {
        grid-template-columns: 1fr;
        gap: 40px;
      }
    }



    /* CONTACT FORM */
    #contact {
      padding: 110px 0;
      background: var(--paper);
      border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .contact-layout {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 80px;
      align-items: start;
    }

    .contact-left h2 {
      font-size: clamp(34px, 4.5vw, 60px);
      line-height: 1.0;
      letter-spacing: -0.03em;
      margin-bottom: 20px;
    }

    .contact-left p {
      font-size: 16px;
      color: var(--ink-soft);
      line-height: 1.7;
      margin-bottom: 36px;
    }

    .contact-info-list {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .contact-info-item {
      display: flex;
      align-items: center;
      gap: 14px;
      font-size: 15px;
      color: var(--ink-soft);
    }

    .contact-info-icon {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      border: 1px solid var(--line);
      background: var(--paper-alt);
      display: grid;
      place-items: center;
      flex-shrink: 0;
    }

    .contact-info-icon svg {
      stroke: var(--blue);
    }

    .contact-info-item span strong {
      display: block;
      color: var(--ink);
      font-weight: 600;
      font-size: 14px;
      margin-bottom: 2px;
    }

    /* Form styles */
    .contact-form-wrap {
      background: #1C1C22;
      border: 1px solid rgba(0, 0, 0, 0.12);
      border-radius: var(--radius-lg);
      padding: 44px 40px;
      position: relative;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    }

    .contact-form-wrap::before {
      content: '';
      position: absolute;
      top: -80px; right: -80px;
      width: 240px; height: 240px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(59,76,255,0.12) 0%, transparent 70%);
      pointer-events: none;
    }

    .cf-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .cf-group {
      display: flex;
      flex-direction: column;
      gap: 7px;
      margin-bottom: 18px;
      position: relative;
    }

    .cf-group label {
      font-size: 12.5px;
      font-weight: 600;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: var(--ink-muted);
    }

    .cf-group input,
    .cf-group select,
    .cf-group textarea {
      background: #111111;
      border: 1.5px solid rgba(0, 0, 0, 0.1);
      border-radius: var(--radius-sm);
      padding: 12px 16px;
      font-family: 'Inter', sans-serif;
      font-size: 15px;
      color: var(--ink);
      outline: none;
      transition: border-color 0.25s, box-shadow 0.25s;
      width: 100%;
      -webkit-appearance: none;
      appearance: none;
    }

    .cf-group select {
      background-image: url("../assets/icons/select-arrow.svg");
      background-repeat: no-repeat;
      background-position: right 14px center;
      padding-right: 38px;
      cursor: pointer;
    }

    .cf-group select option {
      background: var(--paper-alt);
      color: var(--ink);
    }

    /* Custom Dropdown */
    .custom-select-trigger {
      background: #111111;
      border: 1.5px solid rgba(0, 0, 0, 0.1);
      border-radius: var(--radius-sm);
      padding: 12px 16px;
      font-family: 'Inter', sans-serif;
      font-size: 15px;
      color: var(--ink);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: border-color 0.25s, box-shadow 0.25s;
    }

    .custom-select-trigger:focus, .custom-select-group.open .custom-select-trigger {
      border-color: var(--blue);
      box-shadow: 0 0 0 3px rgba(59,76,255,0.10);
      outline: none;
    }
    
    .custom-select-trigger svg {
      transition: transform 0.2s;
    }
    
    .custom-select-group.open .custom-select-trigger svg {
      transform: rotate(180deg);
    }

    .custom-select-options {
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      right: 0;
      background: #1C1C22;
      border: 1px solid rgba(255, 255, 255, 0.05);
      border-radius: var(--radius-sm);
      box-shadow: 0 10px 30px rgba(0,0,0,0.5);
      z-index: 100;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      list-style: none;
      padding: 6px;
      margin: 0;
      max-height: 240px;
      overflow-y: auto;
    }

    .custom-select-group.open .custom-select-options {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .custom-select-options li {
      padding: 10px 14px;
      color: var(--ink-soft);
      font-size: 14.5px;
      cursor: pointer;
      border-radius: 6px;
      transition: background 0.15s, color 0.15s;
    }

    .custom-select-options li:hover, .custom-select-options li.selected {
      background: rgba(255, 255, 255, 0.05);
      color: var(--ink);
    }

    .cf-group input:focus,
    .cf-group select:focus,
    .cf-group textarea:focus {
      border-color: var(--blue);
      box-shadow: 0 0 0 3px rgba(59,76,255,0.10);
    }

    .cf-group input::placeholder,
    .cf-group textarea::placeholder {
      color: var(--ink-muted);
    }

    .cf-group textarea {
      resize: vertical;
      min-height: 110px;
    }

    .cf-submit {
      width: 100%;
      padding: 16px 24px;
      background: var(--blue);
      color: var(--ink);
      border: none;
      border-radius: var(--radius-pill);
      font-family: 'Space Grotesk', sans-serif;
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      transition: background 0.25s, transform 0.28s var(--ease-out), box-shadow 0.28s;
      margin-top: 8px;
      position: relative;
      overflow: hidden;
    }

    .cf-submit:hover {
      background: var(--blue-deep);
      transform: translateY(-2px);
      box-shadow: 0 12px 28px rgba(59,76,255,0.28);
    }

    .cf-submit:active {
      transform: translateY(0);
    }

    .cf-wa-icon {
      flex-shrink: 0;
    }

    .cf-note {
      text-align: center;
      font-size: 12px;
      color: var(--ink-muted);
      margin-top: 14px;
    }

    .cf-success {
      display: none;
      text-align: center;
      padding: 32px 20px;
    }

    .cf-success-icon {
      width: 56px;
      height: 56px;
      background: rgba(59,76,255,0.12);
      border-radius: 50%;
      display: grid;
      place-items: center;
      margin: 0 auto 16px;
    }

    .cf-success h3 {
      font-size: 22px;
      margin-bottom: 8px;
    }

    .cf-success p {
      font-size: 14px;
      color: var(--ink-soft);
    }

    .cf-consent {
      margin-top: 24px;
      margin-bottom: 24px;
    }
    .consent-label {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      font-size: 13px;
      color: rgba(255, 255, 255, 0.6);
      cursor: pointer;
    }
    .consent-label input[type="checkbox"] {
      appearance: none;
      width: 18px;
      height: 18px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.02);
      position: relative;
      cursor: pointer;
      flex-shrink: 0;
      margin-top: 2px;
      transition: all 0.2s;
    }
    .consent-label input[type="checkbox"]:checked {
      background: #fff;
      border-color: #fff;
    }
    .consent-label input[type="checkbox"]:checked::after {
      content: 'âœ“';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: #000;
      font-size: 12px;
      font-weight: bold;
    }
    .consent-label a {
      color: #fff;
      text-decoration: underline;
    }
    
    /* COOKIE BANNER */
    .cookie-banner {
      position: fixed;
      bottom: 24px;
      left: 50%;
      transform: translateX(-50%) translateY(150%);
      width: calc(100% - 48px);
      max-width: 500px;
      background: rgba(8, 8, 10, 0.95);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 16px;
      padding: 24px;
      z-index: 9999;
      display: flex;
      flex-direction: column;
      gap: 16px;
      opacity: 0;
      visibility: hidden;
      transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .cookie-banner.show {
      transform: translateX(-50%) translateY(0);
      opacity: 1;
      visibility: visible;
    }
    
    .cookie-content p {
      font-size: 13px;
      color: rgba(255, 255, 255, 0.7);
      line-height: 1.5;
      margin: 0;
    }
    
    .cookie-content a {
      color: #fff;
      text-decoration: underline;
    }
    
    .cookie-actions {
      display: flex;
      gap: 12px;
      justify-content: flex-end;
    }
    
    .cookie-btn {
      padding: 10px 20px;
      border-radius: 100px;
      font-size: 13px;
      font-weight: 600;
      color: #000;
      background: #fff;
      border: none;
      cursor: pointer;
      transition: transform 0.3s var(--ease-out), opacity 0.3s;
    }
    
    .cookie-btn:hover {
      transform: scale(1.05);
    }
    
    .cookie-btn-outline {
      background: transparent;
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .cookie-btn-outline:hover {
      border-color: rgba(255, 255, 255, 0.5);
    }
    
    /* LEGAL FOOTER LINKS */
    .footer-legal {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .legal-links {
      display: flex;
      gap: 16px;
    }
    .legal-links a {
      font-size: 13px;
      color: rgba(255, 255, 255, 0.4);
      text-decoration: underline;
    }
    .legal-links a:hover {
      color: rgba(255, 255, 255, 0.8);
    }

    @media(max-width:900px) {
      .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
      }
    }

    @media(max-width:560px) {
      .contact-form-wrap {
        padding: 32px 24px;
      }
      .cf-row {
        grid-template-columns: 1fr;
      }
    }

    /* SOCIAL CONNECT CARD */
    #social-connect {
      padding: 0 0 100px 0;
    }

    .social-connect-card {
      position: relative;
      background: linear-gradient(145deg, rgba(30, 30, 35, 0.4) 0%, rgba(17, 17, 17, 0.6) 100%);
      border-radius: var(--radius-lg);
      padding: 60px 40px;
      text-align: center;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.06);
      box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
      isolation: isolate;
      transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    }

    .social-connect-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    }

    .sc-glow {
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: conic-gradient(from 0deg, transparent 0%, rgba(59,76,255,0.15) 20%, transparent 40%);
      animation: scRotate 8s linear infinite;
      z-index: -1;
      opacity: 0.7;
    }

    @keyframes scRotate {
      100% { transform: rotate(360deg); }
    }

    .sc-content h3 {
      font-size: clamp(28px, 4vw, 36px);
      font-weight: 700;
      letter-spacing: -0.03em;
      margin-bottom: 16px;
      background: linear-gradient(to right, #fff, #A3A198);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .sc-content p {
      font-size: 15px;
      color: var(--ink-soft);
      max-width: 500px;
      margin: 0 auto 40px auto;
      line-height: 1.6;
    }

    .sc-links {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .sc-link {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px 28px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: var(--radius-pill);
      color: var(--ink);
      text-decoration: none;
      font-weight: 600;
      font-size: 15px;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      position: relative;
      overflow: hidden;
    }

    .sc-link svg {
      width: 20px;
      height: 20px;
      fill: currentColor;
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .sc-link::before {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--clr);
      opacity: 0;
      transition: opacity 0.3s;
      z-index: -1;
    }

    .sc-link:hover {
      border-color: var(--clr);
      transform: translateY(-4px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }

    .sc-link:hover::before {
      opacity: 0.15;
    }

    .sc-link:hover svg {
      transform: scale(1.15) rotate(5deg);
      fill: var(--clr);
    }

    @media (max-width: 768px) {
      .social-connect-card { padding: 40px 24px; }
      .sc-links { flex-direction: column; width: 100%; }
      .sc-link { justify-content: center; }
    }

    /* FOOTER */
    footer {
      background: var(--paper-alt);
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      padding: 60px 0 36px;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 52px;
    }

    .footer-brand p {
      font-size: 14px;
      color: var(--ink-soft);
      line-height: 1.7;
      margin-top: 14px;
      max-width: 28ch;
    }

    .footer-col h5 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 12.5px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--ink-muted);
      margin-bottom: 16px;
    }

    .footer-col a {
      display: block;
      font-size: 14px;
      color: var(--ink-soft);
      margin-bottom: 10px;
      transition: color 0.2s;
    }

    .footer-col a:hover {
      color: var(--ink);
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      padding-top: 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
    }

    .footer-bottom p {
      font-size: 13px;
      color: var(--ink-muted);
    }

    .social-row {
      display: flex;
      gap: 10px;
    }

    .social-link {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      border: 1px solid var(--line);
      display: grid;
      place-items: center;
      transition: background 0.22s, border-color 0.22s;
    }

    .social-link:hover {
      background: var(--ink);
      border-color: var(--ink);
    }

    .social-link:hover svg {
      stroke: var(--paper);
    }

    .social-link svg {
      transition: stroke 0.22s;
      stroke: var(--ink-soft);
    }

    @media(max-width:900px) {
      .footer-top {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media(max-width:520px) {
      .footer-top {
        grid-template-columns: 1fr;
      }
    }

    /* SCROLL TOP */
    #scroll-top {
      position: fixed;
      bottom: 28px;
      right: 28px;
      z-index: 100;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--ink);
      display: grid;
      place-items: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s, transform 0.3s;
      transform: translateY(12px);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }

    #scroll-top.show {
      opacity: 1;
      pointer-events: auto;
    /* ====================================================
       MOBILE OVERRIDES (ULTRA-PREMIUM)
    ==================================================== */
    @media (max-width: 768px) {
      html, body { overflow-x: hidden !important; }

      /* Hide custom cursor on touch */
      .cursor-dot, .cursor-outline, .cursor-torch { display: none !important; }
      body { cursor: auto !important; }

      /* Layout Padding */
      .wrap, .wrap-broad { padding: 0 20px !important; }
      
      /* HERO — Maximize impact */
      .hero-we-are { top: 100px !important; left: 20px !important; font-size: 14px !important; letter-spacing: 4px !important; }
      .hero-massive-word { font-size: clamp(48px, 15vw, 120px) !important; letter-spacing: -2px !important; }
      .hero-image-wrapper { max-width: 85% !important; border-radius: 12px !important; box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
      .hero-footer-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
        bottom: 30px !important;
        left: 20px !important;
        right: 20px !important;
      }
      .hero-stat-line { font-size: 12px !important; }
      .hero-disclaimer { max-width: 100% !important; font-size: 13px !important; opacity: 0.8; }

      /* Manifesto */
      .manifesto-overlay { background: transparent !important; }
      #manifesto { padding: 80px 0 60px 0 !important; }
      .manifesto-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
      .manifesto-statement { font-size: clamp(26px, 7.5vw, 40px) !important; line-height: 1.1 !important; letter-spacing: -1px; }
      .manifesto-stats {
        border-left: none !important; border-top: 1px solid var(--line) !important;
        padding-left: 0 !important; padding-top: 40px !important;
        grid-template-columns: 1fr 1fr !important; gap: 32px 24px !important;
      }
      .trust-num { font-size: 42px !important; font-weight: 800 !important; letter-spacing: -1px; }
      .trust-suffix { font-size: 24px !important; color: var(--blue) !important; }
      .trust-label { font-size: 12px !important; opacity: 0.7; }

      /* Core Skills */
      .core-skills-section { padding: 80px 0 !important; }
      .skills-headline { font-size: 12vw !important; margin-bottom: 40px !important; letter-spacing: -2px; }
      .skills-layout { flex-direction: column !important; align-items: stretch !important; }
      .skills-side {
        position: relative !important; top: auto !important; left: auto !important; right: auto !important; transform: none !important; width: 100% !important;
        text-align: left !important; font-size: 14px !important; margin-bottom: 24px !important; opacity: 0.6;
      }
      .skills-center { padding: 0 !important; }
      .skill-row { font-size: 10vw !important; padding: 16px 0 !important; border-bottom: 1px solid rgba(255,255,255,0.05) !important; }
      .skill-row.active { font-size: 11vw !important; padding: 20px 0 !important; color: var(--blue) !important; }
      .skill-image-wrapper { height: 12vw !important; border-radius: 8px !important; }
      .skill-row.active .skill-image-wrapper { width: 16vw !important; }

      /* Work Carousel Native Scroll Override */
      #work { height: auto !important; padding: 80px 0 !important; }
      .work-sticky { position: relative !important; top: 0 !important; height: auto !important; transform: none !important; }
      .work-track { 
        height: auto !important; 
        display: flex !important; 
        overflow-x: auto !important; 
        scroll-snap-type: x mandatory; 
        gap: 20px !important; 
        padding: 20px !important; 
        -webkit-overflow-scrolling: touch;
      }
      .work-track::-webkit-scrollbar { display: none; }
      .work-card { 
        position: relative !important; 
        transform: none !important; 
        flex: 0 0 85vw !important; 
        height: 60vh !important; 
        scroll-snap-align: center; 
        opacity: 1 !important; 
        filter: none !important;
        box-shadow: 0 20px 40px rgba(0,0,0,0.5);
      }
      .section-head { flex-direction: column !important; gap: 12px !important; margin-bottom: 30px !important; }
      .section-head h2 { font-size: clamp(28px, 8vw, 40px) !important; letter-spacing: -1px; }
      .section-head p { font-size: 14px !important; opacity: 0.8; }

      /* Skills Bento Grid */
      #skills { padding: 80px 0 !important; }
      .skills-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
      .skill-card:nth-child(1), .skill-card:nth-child(4), .skill-card:nth-child(5) { grid-column: span 1 !important; }
      .skill-card { padding: 32px 24px !important; border: 1px solid rgba(255,255,255,0.05) !important; background: rgba(255,255,255,0.02) !important; }
      .skill-card h3 { font-size: 24px !important; margin-bottom: 12px !important; }
      .skill-card p { font-size: 14px !important; opacity: 0.7; }

      /* Process Graph - Desktop Parity on Mobile */
      .process-graph-section { height: 120vh !important; } /* Shorter scroll height */
      .process-sticky-wrapper { position: sticky !important; top: 0 !important; height: 100vh !important; display: flex !important; flex-direction: column !important; justify-content: flex-start !important; padding-top: 120px !important; overflow: hidden !important; }
      .wrap-broad { padding: 0 20px !important; height: 80vw !important; max-height: 500px !important; margin: 0 auto !important; position: relative !important; align-self: center !important; }
      
      .node-dropline { display: none !important; }
      
      /* Fix truncation and wrapping */
      .node-text { position: absolute !important; padding: 0 !important; width: 140px !important; z-index: 10 !important; }
      .node-text h3 { font-size: 13px !important; margin-bottom: 4px !important; white-space: normal !important; line-height: 1.2 !important; }
      .node-text p { font-size: 10px !important; line-height: 1.4 !important; white-space: normal !important; opacity: 0.8 !important; }
      
      /* Stagger text completely away from glowing dots to prevent overlap */
      .graph-node:nth-child(1) .node-text { top: 25px !important; left: -10px !important; text-align: left !important; }
      .graph-node:nth-child(2) .node-text { bottom: 25px !important; left: -70px !important; text-align: center !important; }
      .graph-node:nth-child(3) .node-text { bottom: 25px !important; right: 0px !important; left: auto !important; text-align: right !important; }
      
      /* Move 'PROGRESS & TIMELINE' to the TOP */
      .graph-x-axis { bottom: auto !important; top: -30px !important; right: auto !important; left: 0 !important; font-size: 10px !important; }
      
      /* Fix clipping on the '0' origin and tagline */
      .graph-origin { left: 0 !important; bottom: -20px !important; font-size: 10px !important; }
      .graph-y-axis { font-size: 10px !important; top: -10px !important; }
      
      .graph-tagline { font-size: 9px !important; left: 0 !important; right: auto !important; bottom: -40px !important; max-width: 200px !important; text-align: left !important; }

      /* Journal Carousel */
      #journal { padding: 80px 0 !important; }
      .journal-grid { 
        display: flex !important; 
        overflow-x: auto !important; 
        scroll-snap-type: x mandatory; 
        gap: 20px !important; 
        padding-bottom: 20px !important;
        margin: 0 -20px;
        padding: 0 20px 20px 20px;
        -webkit-overflow-scrolling: touch;
      }
      .journal-grid::-webkit-scrollbar { display: none; }
      .journal-card { 
        flex: 0 0 85vw !important; 
        scroll-snap-align: center;
        transform: none !important; 
        opacity: 1 !important;
        background: rgba(255,255,255,0.02);
        border: 1px solid rgba(255,255,255,0.05);
      }
      .journal-thumb { height: 220px !important; }
      .journal-body { padding: 24px !important; }
      .journal-body h3 { font-size: 20px !important; margin: 12px 0; }
      .journal-body p { font-size: 14px !important; opacity: 0.7; }

      /* FAQ */
      #faq { padding: 80px 0 !important; }
      .faq-layout { grid-template-columns: 1fr !important; gap: 40px !important; }
      .faq-q { padding: 24px 0 !important; font-size: 18px !important; }
      .faq-q svg { width: 18px !important; height: 18px !important; }
      .faq-a-inner { font-size: 14px !important; padding-bottom: 24px !important; opacity: 0.7; }

      /* Contact */
      #contact { padding: 80px 0 !important; }
      .contact-band { grid-template-columns: 1fr !important; padding: 40px 24px !important; border-radius: 16px !important; }
      .contact-info h2 { font-size: 32px !important; letter-spacing: -1px; }
      .contact-info-item span { font-size: 15px !important; }
      .contact-form-wrap { padding: 32px 24px !important; }

      /* Footer */
      .footer-top { grid-template-columns: 1fr !important; gap: 40px !important; }
      .footer-brand p { font-size: 14px !important; max-width: 280px !important; opacity: 0.6; }
      .footer-col h5 { font-size: 12px !important; letter-spacing: 1px !important; }
      .footer-col a { font-size: 16px !important; padding: 6px 0 !important; }
      .footer-legal { flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; }
    }
    
    /* Tablet only (769–1024px) */
    @media (min-width: 769px) and (max-width: 1024px) {
      .hero-massive-word { font-size: clamp(72px, 12vw, 180px) !important; }
      .work-card { width: clamp(240px, 40vw, 380px) !important; }
      .skills-grid { grid-template-columns: 1fr 1fr !important; }
      .skill-card:nth-child(1), .skill-card:nth-child(4), .skill-card:nth-child(5) { grid-column: span 2 !important; }
    }
