    /* ===========================
       Custom Properties
    =========================== */
    :root {
      /* Cinematic blue-black base, subtle blue undertone for depth */
      --bg:          #06070a;
      --bg-1:        #0a0c11;
      --bg-2:        #11141c;
      --surface:     #151922;
      --border:      rgba(255,255,255,0.08);
      --border-hover:rgba(59,111,255,0.45);
      --text-1:      #f2f4f8;
      --text-2:      #8a8f9c;
      --text-3:      #4a4f5c;
      /* Single accent, electric blue */
      --accent:      #3b6fff;
      --accent-2:    #6a93ff;
      --accent-dim:  rgba(59,111,255,0.12);
      --accent-glow: rgba(59,111,255,0.22);
      --green:       #2dd4a7;
      /* Glass system, dialed up for visible frost */
      --glass:        rgba(255,255,255,0.06);
      --glass-2:      rgba(255,255,255,0.12);
      --glass-border: rgba(255,255,255,0.18);
      --glass-blur:   blur(26px) saturate(160%);
      --shadow-glass: 0 28px 80px -24px rgba(0,0,0,0.9), 0 0 0 1px rgba(59,111,255,0.06), inset 0 1px 0 rgba(255,255,255,0.10);
      --shadow-lift:  0 40px 110px -28px rgba(20,50,140,0.7), 0 0 0 1px rgba(59,111,255,0.22), inset 0 1px 0 rgba(255,255,255,0.12);
      --fd: 'Anton', sans-serif;
      --fb: 'Outfit', sans-serif;
      --fm: 'Space Mono', monospace;
      --fi: 'Inter', system-ui, sans-serif;
      --maxw: 1240px;
      --navh: 68px;
      --r:   14px;
      --rs:  9px;
      --expo: cubic-bezier(0.16, 1, 0.3, 1);
    }

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

    html {
      scroll-behavior: smooth;
      scrollbar-width: thin;
      scrollbar-color: var(--accent) var(--bg-1);
    }

    body {
      background: var(--bg);
      color: var(--text-1);
      font-family: var(--fb);
      font-size: 16px;
      line-height: 1.6;
      overflow-x: hidden;
      cursor: none;
    }

    body.is-loading { overflow: hidden; }

    /* Freeze hero entrance animations until loader is gone */
    body.is-loading .h-badge,
    body.is-loading .h-name .hw,
    body.is-loading .h-sub,
    body.is-loading .h-desc,
    body.is-loading .h-ctas,
    body.is-loading .h-social,
    body.is-loading .hero-card {
      animation: none;
      opacity: 0;
      clip-path: polygon(0 0, 0 0, 0 120%, 0 120%);
    }

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

    /* ===========================
       Loader
    =========================== */
    #loader {
      position: fixed;
      inset: 0;
      background: var(--bg);
      z-index: 999;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 56px;
      transition: opacity 0.9s var(--expo), visibility 0.9s;
      overflow: hidden;
    }

    /* Breathing color orbs — midnight blue depth */
    #loader::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 65% 55% at 18% 52%, rgba(59,111,255,0.38) 0%, transparent 58%),
        radial-gradient(ellipse 50% 65% at 82% 38%, rgba(59,111,255,0.24) 0%, transparent 52%),
        radial-gradient(ellipse 40% 38% at 52% 88%, rgba(40,70,180,0.2) 0%, transparent 50%);
      animation: orbBreath 10s ease-in-out infinite alternate;
      pointer-events: none;
      z-index: 0;
    }

    @keyframes orbBreath {
      0%   { opacity: 0.6; transform: scale(1) translate(0, 0); }
      50%  { opacity: 1;   transform: scale(1.05) translate(1%, -1%); }
      100% { opacity: 0.7; transform: scale(0.97) translate(-1%, 1%); }
    }

    /* Dot grid — drifts diagonally */
    #loader::after {
      content: '';
      position: absolute;
      inset: -10%;
      background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
      background-size: 44px 44px;
      animation: gridDrift 28s linear infinite;
      pointer-events: none;
      z-index: 0;
    }

    @keyframes gridDrift {
      from { transform: translate(0, 0); }
      to   { transform: translate(44px, 44px); }
    }

    #loader.done {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }

    /* Corner frame brackets */
    .loader-frame {
      position: absolute;
      inset: 36px;
      pointer-events: none;
      opacity: 0;
      animation: lnFade 0.8s ease 0.1s forwards;
      z-index: 1;
    }

    .loader-frame span {
      position: absolute;
      width: 26px;
      height: 26px;
      border-color: rgba(255,255,255,0.12);
      border-style: solid;
      border-width: 0;
    }

    .loader-frame span:nth-child(1) { top: 0;    left: 0;  border-top-width: 1px;    border-left-width: 1px; }
    .loader-frame span:nth-child(2) { top: 0;    right: 0; border-top-width: 1px;    border-right-width: 1px; }
    .loader-frame span:nth-child(3) { bottom: 0; left: 0;  border-bottom-width: 1px; border-left-width: 1px; }
    .loader-frame span:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

    .loader-name {
      display: flex;
      align-items: baseline;
      position: relative;
      z-index: 1;
    }

    .ln-w {
      display: block;
      line-height: 0.9;
      padding-bottom: 0.06em;
    }

    .ln-sp { display: block; width: 0.32em; flex-shrink: 0; }

    .ln-c {
      display: block;
      font-family: var(--fd);
      font-weight: 400;
      font-size: clamp(2.4rem, 7vw, 6rem);
      letter-spacing: -0.01em;
      color: var(--text-1);
      opacity: 0;
      clip-path: polygon(0 0, 0 0, 0 110%, 0 110%);
      filter: blur(8px);
      animation: lnReveal 0.65s var(--expo) forwards;
    }

    /* Stagger — single wave across all 11 letters */
    .loader-name .ln-w:nth-child(1)  .ln-c { animation-delay: 0.00s; }
    .loader-name .ln-w:nth-child(2)  .ln-c { animation-delay: 0.06s; }
    .loader-name .ln-w:nth-child(3)  .ln-c { animation-delay: 0.12s; }
    .loader-name .ln-w:nth-child(4)  .ln-c { animation-delay: 0.18s; }
    .loader-name .ln-w:nth-child(5)  .ln-c { animation-delay: 0.24s; }
    .loader-name .ln-w:nth-child(7)  .ln-c { animation-delay: 0.30s; }
    .loader-name .ln-w:nth-child(8)  .ln-c { animation-delay: 0.36s; }
    .loader-name .ln-w:nth-child(9)  .ln-c { animation-delay: 0.42s; }
    .loader-name .ln-w:nth-child(10) .ln-c { animation-delay: 0.48s; }
    .loader-name .ln-w:nth-child(11) .ln-c { animation-delay: 0.54s; }
    .loader-name .ln-w:nth-child(12) .ln-c { animation-delay: 0.60s; }

    @keyframes lnReveal {
      0%   { opacity: 0; clip-path: polygon(0 0, 0 0, 0 110%, 0 110%);           filter: blur(8px); }
      15%  { opacity: 1; }
      100% { opacity: 1; clip-path: polygon(0 0, 100% 0, 100% 110%, 0 110%);     filter: blur(0); }
    }

    .loader-progress {
      display: flex;
      flex-direction: column;
      gap: 10px;
      opacity: 0;
      animation: lnFade 0.5s ease 0.9s forwards;
      width: min(520px, 88vw);
      position: relative;
      z-index: 1;
    }

    /* Glow behind bar */
    .loader-progress::before {
      content: '';
      position: absolute;
      inset: -16px -24px;
      background: radial-gradient(ellipse at center, rgba(255,255,255,0.035) 0%, transparent 70%);
      pointer-events: none;
      animation: orbBreath 3s ease-in-out infinite;
    }

    .loader-track {
      width: 100%;
      height: 3px;
      background: rgba(255,255,255,0.07);
      border-radius: 2px;
      overflow: hidden;
      position: relative;
    }

    .loader-fill {
      height: 100%;
      width: 0;
      background: linear-gradient(90deg, rgba(255,255,255,0.4), rgba(255,255,255,0.9));
      border-radius: 2px;
      transition: width 1s var(--expo);
      position: relative;
      overflow: hidden;
      box-shadow: 0 0 10px rgba(255,255,255,0.2), 0 0 24px rgba(255,255,255,0.06);
    }

    /* Shimmer sweep */
    .loader-fill::after {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 40%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
      animation: shimmer 1.8s ease-in-out infinite;
      transform: translateX(-150%);
    }

    @keyframes shimmer {
      0%   { transform: translateX(-150%); }
      100% { transform: translateX(350%); }
    }

    /* Leading-edge glow dot */
    .loader-fill::before {
      content: '';
      position: absolute;
      top: 50%; right: 0;
      width: 5px; height: 5px;
      border-radius: 50%;
      background: #fff;
      transform: translate(50%, -50%);
      box-shadow: 0 0 6px 2px rgba(255,255,255,0.6);
      animation: dotPulse 1s ease-in-out infinite;
    }

    @keyframes dotPulse {
      0%, 100% { opacity: 1;   box-shadow: 0 0 6px 2px rgba(255,255,255,0.6); }
      50%       { opacity: 0.5; box-shadow: 0 0 12px 4px rgba(255,255,255,0.25); }
    }

    .loader-bar-row {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .loader-pct {
      font-family: var(--fm);
      font-size: 12px;
      letter-spacing: 0.12em;
      color: rgba(255,255,255,0.45);
      white-space: nowrap;
      min-width: 38px;
      text-align: right;
      flex-shrink: 0;
    }

    @keyframes lnFade { to { opacity: 1; } }

    @media (prefers-reduced-motion: reduce) {
      .ln-c { animation: none; opacity: 1; clip-path: none; filter: none; }
      .loader-progress { animation: none; opacity: 1; }
      #loader::before, #loader::after,
      .loader-fill::after, .loader-fill::before, .loader-progress::before { display: none; }
    }

    /* ===========================
       Custom Cursor
    =========================== */
    .cursor {
      position: fixed;
      width: 38px;
      height: 38px;
      border: 1.5px solid var(--accent);
      border-radius: 50%;
      pointer-events: none;
      z-index: 9999;
      will-change: transform;
      transition: width 0.3s var(--expo), height 0.3s var(--expo),
                  background 0.3s ease, opacity 0.3s ease;
    }

    .cursor-dot {
      position: fixed;
      width: 5px;
      height: 5px;
      background: var(--accent);
      border-radius: 50%;
      pointer-events: none;
      z-index: 9999;
      will-change: transform;
      transition: opacity 0.3s ease;
    }

    .cursor.big {
      width: 64px;
      height: 64px;
      background: var(--accent-dim);
    }

    .cursor.hide, .cursor-dot.hide { opacity: 0; }

    /* ===========================
       Nav
    =========================== */
    #nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      height: var(--navh);
      z-index: 100;
      display: flex;
      align-items: center;
      padding: 0 40px;
      border-bottom: 1px solid transparent;
      transition: background 0.4s ease, border-color 0.4s ease;
    }

    #nav.stuck {
      background: rgba(8,8,8,0.88);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border-bottom-color: var(--border);
    }

    .nav-wrap {
      width: 100%;
      max-width: var(--maxw);
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .nav-logo {
      font-family: var(--fd);
      font-weight: 400;
      font-size: 17px;
      letter-spacing: -0.03em;
    }

    .nav-logo b { color: var(--accent); font-weight: 800; }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 36px;
      list-style: none;
    }

    .nav-links a {
      font-family: var(--fm);
      font-size: 10.5px;
      letter-spacing: 0.13em;
      text-transform: uppercase;
      color: var(--text-2);
      position: relative;
      transition: color 0.2s;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -3px; left: 0;
      width: 0; height: 1px;
      background: var(--accent);
      transition: width 0.3s var(--expo);
    }

    .nav-links a:hover { color: var(--text-1); }
    .nav-links a:hover::after { width: 100%; }

    .nav-hire {
      font-family: var(--fm);
      font-size: 10.5px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--accent);
      border: 1px solid var(--border-hover);
      padding: 9px 18px;
      border-radius: var(--rs);
      transition: background 0.2s, color 0.2s;
    }

    .nav-hire:hover { background: var(--accent); color: #000; }

    /* Wrapper is transparent to layout on desktop, so the nav looks unchanged */
    .nav-menu { display: contents; }

    /* Hamburger toggle, hidden on desktop, shown on mobile */
    .nav-toggle {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 38px; height: 38px;
      padding: 9px;
      background: transparent;
      border: 1px solid var(--border-hover);
      border-radius: var(--rs);
      cursor: pointer;
      z-index: 101;
    }
    .nav-toggle span {
      display: block;
      width: 100%; height: 1.6px;
      background: var(--text-1);
      border-radius: 2px;
      transition: transform 0.3s var(--expo), opacity 0.2s ease;
    }
    body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
    body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

    /* ===========================
       Hero
    =========================== */
    #hero {
      min-height: 100dvh;
      padding: var(--navh) 40px 0;
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
    }

    /* Background texture */
    .hero-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
      background-size: 56px 56px;
      -webkit-mask-image: radial-gradient(ellipse 75% 75% at 40% 50%, black 30%, transparent 80%);
      mask-image: radial-gradient(ellipse 75% 75% at 40% 50%, black 30%, transparent 80%);
      pointer-events: none;
    }

    /* Hero cursor spotlight blob */
    .hero-glow {
      position: absolute;
      top: -280px;
      left: -280px;
      width: 560px;
      height: 560px;
      border-radius: 50%;
      background: radial-gradient(circle at center,
        rgba(255,255,255,0.035) 0%,
        rgba(59,111,255,0.055)  35%,
        transparent 70%);
      filter: blur(72px);
      pointer-events: none;
      z-index: 0;
      will-change: transform;
      opacity: 0;
      transition: opacity 0.7s ease;
    }

    /* Glow orbs */
    .orb-a {
      position: absolute;
      right: 5%;
      top: 25%;
      width: 500px; height: 500px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(59,111,255,0.07) 0%, transparent 70%);
      filter: blur(56px);
      pointer-events: none;
      will-change: transform;
    }

    .orb-b {
      position: absolute;
      left: -8%;
      bottom: 15%;
      width: 360px; height: 360px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(59,111,255,0.04) 0%, transparent 70%);
      filter: blur(80px);
      pointer-events: none;
      will-change: transform;
    }

    .hero-inner {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: var(--maxw);
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 380px;
      gap: 64px;
      align-items: center;
    }

    /* Animate-in keyframes */
    @keyframes up {
      from { opacity: 0; transform: translateY(28px); }
      to   { opacity: 1; transform: translateY(0);    }
    }

    @keyframes right {
      from { opacity: 0; transform: translateX(28px); }
      to   { opacity: 1; transform: translateX(0);    }
    }

    .h-badge {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      font-family: var(--fi);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: rgba(150,180,255,0.85);
      background: rgba(59,111,255,0.14);
      border: 1px solid rgba(99,140,255,0.3);
      padding: 7px 16px;
      border-radius: 100px;
      margin-bottom: 32px;
      opacity: 0;
      animation: badgeIn 0.7s var(--expo) 0.4s forwards;
    }
    @keyframes badgeIn {
      from { opacity: 0; transform: translateY(-14px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .badge-dot {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 0 0 rgba(34,197,94,0.4);
      animation: pulse 2.2s ease infinite;
    }

    @keyframes pulse {
      0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
      50%      { box-shadow: 0 0 0 7px rgba(34,197,94,0); }
    }

    .h-name {
      font-family: var(--fd);
      font-weight: 400;
      font-size: clamp(60px, 8.5vw, 118px);
      line-height: 0.9;
      letter-spacing: -0.045em;
      margin-bottom: 22px;
      min-height: 2em;
      opacity: 1;  /* let .hw handle entrance */
    }

    /* Per-word clip-path reveal */
    .h-name .hw {
      display: inline-block;
      background: linear-gradient(135deg, #f0ede8 0%, rgba(240,237,232,0.72) 55%, rgba(99,140,255,0.85) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      background-size: 200% 200%;
      clip-path: polygon(0 0, 0 0, 0 120%, 0 120%);
      opacity: 0;
      animation: hwReveal 0.9s var(--expo) forwards, shimmerHero 8s ease-in-out infinite;
    }
    .h-name .hw:nth-child(1) { animation-delay: 0.65s, 2.5s; }
    .h-name .hw:nth-child(2) { animation-delay: 0.80s, 2.5s; }
    .h-name .hw:nth-child(3) { animation-delay: 0.95s, 2.5s; }

    @keyframes hwReveal {
      to { opacity: 1; clip-path: polygon(0 0, 100% 0, 100% 120%, 0 120%); }
    }
    @keyframes shimmerHero {
      0%,100% { background-position: 0% 50%; }
      50%      { background-position: 100% 50%; }
    }

    .h-name .ao { color: unset; }

    .h-sub {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      font-family: var(--fi);
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.04em;
      color: var(--text-2);
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border);
      padding: 9px 18px;
      border-radius: 8px;
      margin-bottom: 28px;
      opacity: 0;
      animation: up 0.6s var(--expo) 1.0s forwards;
    }
    .h-sub .sub-sep {
      width: 1px; height: 14px;
      background: var(--border);
      flex-shrink: 0;
    }

    .h-desc {
      font-family: var(--fi);
      font-size: 15.5px;
      line-height: 1.78;
      color: rgba(240,237,232,0.5);
      max-width: 52ch;
      margin-bottom: 44px;
      opacity: 0;
      animation: up 0.6s var(--expo) 1.12s forwards;
    }

    .h-desc strong { color: var(--text-1); font-weight: 700; }

    .h-ctas {
      display: flex;
      align-items: center;
      gap: 14px;
      flex-wrap: wrap;
      opacity: 0;
      animation: up 0.6s var(--expo) 1.05s forwards;
    }

    .btn-a {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      background: var(--accent);
      color: #000;
      font-family: var(--fm);
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 15px 26px;
      border-radius: var(--rs);
      transition: transform 0.35s var(--expo), box-shadow 0.35s ease;
    }

    .btn-a:hover {
      transform: translateY(-2px);
      box-shadow: 0 14px 36px rgba(59,111,255,0.28);
    }

    .btn-b {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      color: var(--text-1);
      font-family: var(--fm);
      font-size: 11px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 15px 26px;
      border-radius: var(--rs);
      border: 1px solid var(--border);
      transition: border-color 0.2s, background 0.2s, transform 0.35s var(--expo);
    }

    .btn-b:hover {
      border-color: var(--border-hover);
      background: var(--accent-dim);
      transform: translateY(-2px);
    }

    .h-social {
      display: flex;
      align-items: center;
      gap: 20px;
      margin-top: 40px;
      padding-top: 36px;
      border-top: 1px solid var(--border);
      opacity: 0;
      animation: up 0.6s var(--expo) 1.15s forwards;
    }

    .h-social-label {
      font-family: var(--fm);
      font-size: 9px;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--text-3);
    }

    .soc-link {
      font-family: var(--fm);
      font-size: 10.5px;
      letter-spacing: 0.07em;
      color: var(--text-2);
      display: flex;
      align-items: center;
      gap: 7px;
      transition: color 0.2s;
    }

    .soc-link:hover { color: var(--accent); }

    /* Hero right panel */
    .hero-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 32px;
      position: relative;
      z-index: 0;
      overflow: hidden;
      opacity: 0;
      animation: right 0.8s var(--expo) 0.9s forwards, hcGlow 7s ease-in-out infinite 1.8s;
    }

    .hero-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 1px;
      background: linear-gradient(90deg, rgba(99,140,255,0.9) 0%, rgba(140,170,255,0.4) 50%, transparent 100%);
    }

    @keyframes hcGlow {
      0%, 100% { box-shadow: 0 0 0 rgba(99,140,255,0); }
      50%      { box-shadow: 0 0 46px rgba(99,140,255,0.13); }
    }

    /* Traveling light beam along the card's top edge */
    .hc-scan {
      position: absolute;
      top: 0; left: -30%;
      width: 30%; height: 1px;
      background: linear-gradient(90deg, transparent, rgba(140,170,255,0.95), transparent);
      animation: hcScan 6s ease-in-out infinite 1.6s;
      pointer-events: none;
      z-index: 1;
    }
    @keyframes hcScan {
      0%, 6%   { left: -30%; }
      55%, 100% { left: 130%; }
    }

    /* Ambient drifting particles inside the card */
    .hc-particle {
      position: absolute;
      bottom: -10px;
      border-radius: 50%;
      opacity: 0;
      pointer-events: none;
      z-index: -1;
      animation: hcParticleFloat linear infinite;
    }
    @keyframes hcParticleFloat {
      0%   { opacity: 0; transform: translateY(0) scale(0.6); }
      15%  { opacity: 0.6; }
      85%  { opacity: 0.12; }
      100% { opacity: 0; transform: translateY(-320px) scale(0.3); }
    }

    .hc-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      margin-bottom: 28px;
    }

    .hc-stat {
      background: var(--bg-2);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 16px 14px;
      transition: transform 0.3s var(--expo), border-color 0.3s, background 0.3s;
    }
    .hc-stat:hover {
      transform: translateY(-3px);
      border-color: rgba(140,170,255,0.4);
      background: rgba(99,140,255,0.07);
    }

    .hc-stat-n {
      font-family: var(--fd);
      font-size: 32px;
      letter-spacing: -0.04em;
      line-height: 1;
      margin-bottom: 6px;
      background: linear-gradient(135deg, #fff 0%, rgba(140,170,255,0.8) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: hcNumGlow 4.5s ease-in-out infinite;
    }
    .hc-stat:nth-child(2) .hc-stat-n { animation-delay: 0.5s; }
    .hc-stat:nth-child(3) .hc-stat-n { animation-delay: 1s; }
    @keyframes hcNumGlow {
      0%, 100% { filter: drop-shadow(0 0 0 rgba(140,170,255,0)); }
      50%      { filter: drop-shadow(0 0 9px rgba(140,170,255,0.5)); }
    }

    .hc-stat-l {
      font-family: var(--fm);
      font-size: 8px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.35);
      line-height: 1.4;
    }

    .hc-divider {
      position: relative;
      height: 1px;
      background: var(--border);
      margin-bottom: 24px;
      overflow: hidden;
    }
    .hc-divider::after {
      content: '';
      position: absolute;
      top: 0; left: -60%;
      width: 60%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(140,170,255,0.7), transparent);
      animation: dividerSweep 5s ease-in-out infinite 2.4s;
    }

    .hc-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 28px;
    }

    .hc-list li {
      display: flex;
      align-items: center;
      gap: 12px;
      font-family: var(--fb);
      font-size: 13.5px;
      font-weight: 400;
      color: rgba(255,255,255,0.72);
      letter-spacing: -0.01em;
      transition: color 0.3s, transform 0.35s var(--expo);
    }
    .hc-list li:hover {
      color: var(--text-1);
      transform: translateX(5px);
    }

    .hc-list li::before {
      content: '';
      width: 16px; height: 1px;
      background: var(--accent);
      flex-shrink: 0;
      transition: width 0.35s var(--expo), background 0.3s;
    }
    .hc-list li:hover::before {
      width: 28px;
      background: linear-gradient(90deg, var(--accent), rgba(140,170,255,0.3));
    }

    .hc-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .hc-location {
      font-family: var(--fm);
      font-size: 9.5px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.3);
    }

    .hc-tz {
      font-family: var(--fm);
      font-size: 9.5px;
      letter-spacing: 0.1em;
      color: rgba(255,255,255,0.2);
    }

    /* ===========================
       Marquee
    =========================== */
    .marquee {
      padding: 28px 0;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      overflow: hidden;
    }

    .marquee-track {
      display: flex;
      width: max-content;
      animation: scroll 28s linear infinite;
    }

    .marquee-track:hover { animation-play-state: paused; }

    @keyframes scroll {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }

    .m-item {
      display: flex;
      align-items: center;
      gap: 20px;
      padding: 0 20px;
      white-space: nowrap;
    }

    .m-text {
      font-family: var(--fd);
      font-weight: 400;
      font-size: 14px;
      letter-spacing: 0.01em;
      text-transform: uppercase;
      color: var(--text-3);
      transition: color 0.2s;
    }

    .marquee-track:hover .m-text { color: var(--text-2); }

    .m-sep { color: var(--accent); font-size: 16px; line-height: 1; }

    /* ===========================
       Section base
    =========================== */
    section { padding: 110px 40px; }

    .wrap {
      width: 100%;
      max-width: var(--maxw);
      margin: 0 auto;
    }

    .sec-label {
      display: flex;
      align-items: center;
      gap: 10px;
      font-family: var(--fi);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(140,170,255,0.9);
      margin-bottom: 14px;
    }

    .sec-label::before {
      content: '';
      width: 24px;
      height: 2px;
      background: linear-gradient(90deg, rgba(99,140,255,0.9), rgba(99,140,255,0.3));
      border-radius: 2px;
      flex-shrink: 0;
    }

    .sec-heading {
      font-family: var(--fd);
      font-weight: 400;
      font-size: clamp(36px, 4.5vw, 58px);
      letter-spacing: -0.025em;
      line-height: 1.0;
      text-transform: uppercase;
      background: linear-gradient(135deg, var(--text-1) 40%, rgba(240,237,232,0.45) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* Clip-path reveal for section headings */
    [data-r] .sec-heading {
      clip-path: polygon(0 0, 0 0, 0 120%, 0 120%);
      transition: clip-path 1.0s var(--expo) 0.15s;
    }
    [data-r].on .sec-heading {
      clip-path: polygon(0 0, 100% 0, 100% 120%, 0 120%);
    }

    /* Scroll reveal */
    [data-r] {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.7s var(--expo), transform 0.7s var(--expo);
    }
    [data-r].on { opacity: 1; transform: none; }
    [data-r][data-d="1"] { transition-delay: 0.1s; }
    [data-r][data-d="2"] { transition-delay: 0.2s; }
    [data-r][data-d="3"] { transition-delay: 0.3s; }
    [data-r][data-d="4"] { transition-delay: 0.4s; }

    /* ===========================
       About Me
    =========================== */
    #about { background: #0a0a0a; }

    #about .wrap {
      display: grid;
      grid-template-columns: 48% 52%;
      gap: 72px;
      align-items: center;
    }

    /* Left column */
    .am-label {
      font-family: var(--fm);
      font-size: 9.5px;
      letter-spacing: 0.28em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 22px;
      display: flex;
      align-items: center;
      gap: 10px;
      opacity: 0;
      transform: translateY(16px);
      transition: opacity 0.6s var(--expo), transform 0.6s var(--expo);
    }
    .am-label::before {
      content: '';
      width: 20px;
      height: 1px;
      background: var(--accent);
      flex-shrink: 0;
    }
    .am-label.on { opacity: 1; transform: none; }

    .am-heading {
      font-family: var(--fd);
      font-weight: 400;
      font-size: clamp(26px, 2.8vw, 40px);
      line-height: 1.12;
      color: var(--text-1);
      margin-bottom: 24px;
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.7s var(--expo) 0.1s, transform 0.7s var(--expo) 0.1s;
    }
    .am-heading.on { opacity: 1; transform: none; }

    .am-heading .eng { color: #4169e1; }

    .am-body {
      font-family: var(--fb);
      font-size: 15px;
      line-height: 1.82;
      color: rgba(255,255,255,0.58);
      margin-bottom: 16px;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.7s var(--expo) 0.2s, transform 0.7s var(--expo) 0.2s;
    }
    .am-body.on { opacity: 1; transform: none; }
    .am-body strong { color: var(--text-1); font-weight: 500; }

    /* Stats row */
    .am-stats {
      display: flex;
      gap: 0;
      margin: 32px 0;
      padding: 28px 0;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      opacity: 0;
      transform: translateY(16px);
      transition: opacity 0.65s var(--expo) 0.3s, transform 0.65s var(--expo) 0.3s;
    }
    .am-stats.on { opacity: 1; transform: none; }

    .am-stat {
      flex: 1;
      padding-right: 20px;
      margin-right: 20px;
      border-right: 1px solid var(--border);
    }
    .am-stat:last-child { border-right: none; padding-right: 0; margin-right: 0; }

    .am-stat-num {
      font-family: var(--fd);
      font-weight: 400;
      font-size: clamp(28px, 3vw, 38px);
      line-height: 1;
      margin-bottom: 6px;
      background: linear-gradient(135deg, #fff 0%, rgba(140,170,255,0.9) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .am-stat-num sup {
      font-size: 0.75em;
      -webkit-text-fill-color: rgba(140,170,255,0.9);
      vertical-align: super;
    }

    .am-stat-label {
      font-family: var(--fm);
      font-size: 8.5px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--text-3);
      line-height: 1.5;
    }

    .am-close {
      font-family: var(--fm);
      font-size: 10.5px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-3);
      opacity: 0;
      transform: translateY(16px);
      transition: opacity 0.6s var(--expo) 0.42s, transform 0.6s var(--expo) 0.42s;
    }
    .am-close.on { opacity: 1; transform: none; }

    /* Right column — side by side floating cards */
    .photo-collage {
      display: flex;
      align-items: flex-end;
      gap: 14px;
      width: 100%;
    }

    /* Each card wrapper carries the float animation */
    .ph-pos {
      flex: 1;
      min-width: 0;
    }
    .ph-pos:nth-child(1) { padding-bottom: 40px; }
    .ph-pos:nth-child(2) { padding-bottom: 10px; }
    .ph-pos:nth-child(3) { padding-bottom: 24px; }

    @keyframes pFloatA { 0%,100%{ transform: translateY(0);    } 50%{ transform: translateY(-18px); } }
    @keyframes pFloatB { 0%,100%{ transform: translateY(0);    } 50%{ transform: translateY(-18px); } }
    @keyframes pFloatC { 0%,100%{ transform: translateY(0);    } 50%{ transform: translateY(-18px); } }

    .ph-pos.floating:nth-child(1) { animation: pFloatA 3.8s ease-in-out 0s   infinite; }
    .ph-pos.floating:nth-child(2) { animation: pFloatB 3.8s ease-in-out 1.1s infinite; }
    .ph-pos.floating:nth-child(3) { animation: pFloatC 3.8s ease-in-out 2s   infinite; }

    /* Inner card: image + hover lift */
    .ph-float {
      width: 100%;
      border-radius: 14px;
      overflow: hidden;
      box-shadow: 0 20px 52px rgba(0,0,0,0.65);
      opacity: 0;
      cursor: pointer;
      transition: opacity 0.6s var(--expo), transform 0.38s var(--expo), box-shadow 0.35s ease;
    }
    .ph-float.visible { opacity: 1; }
    .ph-float:hover {
      transform: scale(1.05) translateY(-8px);
      box-shadow: 0 38px 76px rgba(0,0,0,0.82);
    }

    .ph-float img {
      width: 100%;
      height: 290px;
      object-fit: cover;
      object-position: top center;
      display: block;
      pointer-events: none;
    }

    /* ===========================
       Projects
    =========================== */
    #projects { background: var(--bg); }

    .proj-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-bottom: 52px;
    }

    .proj-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 18px;
    }

    .pc {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 30px;
      position: relative;
      overflow: hidden;
      transition: border-color 0.3s, transform 0.4s var(--expo), box-shadow 0.3s;
    }

    .pc:hover {
      border-color: var(--border-hover);
      transform: translateY(-4px);
      box-shadow: 0 20px 48px rgba(0,0,0,0.45);
    }

    .pc::after {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(550px circle at var(--mx, 50%) var(--my, 50%), rgba(59,111,255,0.2), transparent 50%);
      opacity: 0;
      transition: opacity 0.4s;
      pointer-events: none;
    }

    .pc:hover::after { opacity: 1; }

    .pc.w8 { grid-column: span 8; }
    .pc.w4 { grid-column: span 4; }
    .pc.w6 { grid-column: span 6; }
    .pc.w7 { grid-column: span 7; }
    .pc.w5 { grid-column: span 5; }

    .pc-num {
      font-family: var(--fi);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--text-3);
      margin-bottom: 20px;
    }

    .pc-icon {
      width: 40px; height: 40px;
      border-radius: 8px;
      background: var(--accent-dim);
      border: 1px solid var(--border-hover);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      margin-bottom: 20px;
      position: relative;
      z-index: 1;
    }

    .pc-title {
      font-family: var(--fi);
      font-weight: 800;
      font-size: 18px;
      letter-spacing: -0.03em;
      line-height: 1.2;
      margin-bottom: 10px;
      color: var(--text-1);
      position: relative;
      z-index: 1;
    }

    .pc-desc {
      font-size: 13.5px;
      line-height: 1.72;
      color: var(--text-2);
      margin-bottom: 22px;
      position: relative;
      z-index: 1;
    }

    .pc-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      position: relative;
      z-index: 1;
    }

    .pc-tag {
      font-family: var(--fm);
      font-size: 11px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #ffffff;
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border);
      padding: 4px 9px;
      border-radius: 4px;
    }

    .pc:hover .pc-tag {
      border-color: var(--border-hover);
    }

    /* ===========================
       Experience
    =========================== */
    #experience { background: var(--bg-1); }

    #experience .wrap {
      display: grid;
      grid-template-columns: 300px 1fr;
      gap: 72px;
      align-items: start;
    }

    .exp-left { position: sticky; top: 108px; }

    .exp-meta {
      margin-top: 36px;
      padding-top: 28px;
      border-top: 1px solid var(--border);
    }

    .exp-meta-label {
      font-family: var(--fm);
      font-size: 9px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--text-3);
      margin-bottom: 8px;
    }

    .exp-meta-title {
      font-family: var(--fd);
      font-weight: 400;
      font-size: 15px;
      letter-spacing: -0.01em;
      margin-bottom: 3px;
    }

    .exp-meta-sub {
      font-family: var(--fm);
      font-size: 10px;
      letter-spacing: 0.06em;
      color: var(--text-2);
    }

    .timeline {
      display: flex;
      flex-direction: column;
      position: relative;
    }

    .timeline::before {
      content: '';
      position: absolute;
      left: 0; top: 8px; bottom: 8px;
      width: 1px;
      background: var(--border);
    }

    .tl-item {
      padding-left: 30px;
      padding-bottom: 44px;
      position: relative;
    }

    .tl-item:last-child { padding-bottom: 0; }

    .tl-dot {
      position: absolute;
      left: -4px; top: 8px;
      width: 9px; height: 9px;
      border-radius: 50%;
      background: var(--bg-1);
      border: 2px solid var(--border);
      transition: border-color 0.3s, background 0.3s;
    }

    .tl-item:hover .tl-dot {
      border-color: var(--accent);
      background: var(--accent);
    }

    .tl-period {
      font-family: var(--fm);
      font-size: 11px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--text-3);
      margin-bottom: 8px;
    }

    .tl-company {
      font-family: var(--fi);
      font-weight: 800;
      font-size: 22px;
      letter-spacing: -0.03em;
      margin-bottom: 4px;
      background: linear-gradient(135deg, var(--text-1) 60%, rgba(240,237,232,0.5) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .tl-role {
      font-family: var(--fi);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(140,170,255,0.9);
      margin-bottom: 16px;
    }

    .tl-pts {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 9px;
    }

    .tl-pts li {
      font-size: 15px;
      line-height: 1.65;
      color: var(--text-2);
      display: flex;
      gap: 10px;
    }

    .tl-pts li::before {
      content: '/';
      color: var(--accent);
      font-family: var(--fm);
      flex-shrink: 0;
    }

    /* ===========================
       Video Work
    =========================== */
    #videos { background: var(--bg-1); }

    .vid-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-bottom: 48px;
      flex-wrap: wrap;
      gap: 24px;
    }

    .vid-tabs {
      display: flex;
      gap: 4px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 4px;
    }

    .vt {
      font-family: var(--fm);
      font-size: 10px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--text-3);
      background: none;
      border: none;
      cursor: pointer;
      padding: 9px 18px;
      border-radius: 5px;
      transition: background 0.22s, color 0.22s;
    }
    .vt:hover { color: var(--text-1); }
    .vt.active { background: var(--accent); color: #f0ede8; }

    .vid-cat { display: none; }
    .vid-cat.active { display: block; }

    /* Reels: 4 vertical cards */
    .vid-grid-reels {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    .vid-reel-wrap {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .vid-reel-title {
      font-family: var(--fm);
      font-size: 10px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--text-2);
      /* Keep titles to one line so every card starts at the same height */
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* Standard grids */
    .vid-grid { display: grid; gap: 16px; }
    .vid-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
    .vid-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

    /* Video card */
    .vid-card {
      position: relative;
      border-radius: 12px;
      overflow: hidden;
      background: #0d0d0d;
      border: 1px solid var(--border);
    }
    .vid-card.reel { aspect-ratio: 9 / 16; }
    .vid-card.wide { aspect-ratio: 16 / 9; }

    .vid-card video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* In fullscreen, show the video at its true aspect ratio (letterboxed),
       not cropped/zoomed like the thumbnail card. Separate rules per vendor
       prefix so an unknown selector doesn't drop the whole group. */
    .vid-card video:fullscreen { object-fit: contain; }
    .vid-card video:-webkit-full-screen { object-fit: contain; }
    .vid-card video:-moz-full-screen { object-fit: contain; }

    /* Play overlay */
    .vid-overlay {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 14px;
      background: rgba(0,0,0,0.42);
      transition: background 0.25s;
      cursor: pointer;
    }
    .vid-overlay:hover { background: rgba(0,0,0,0.28); }

    .vid-play-btn {
      width: 60px; height: 60px;
      border-radius: 50%;
      background: rgba(255,255,255,0.9);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.32s var(--expo), background 0.2s;
      flex-shrink: 0;
    }
    .vid-overlay:hover .vid-play-btn {
      transform: scale(1.12);
      background: #fff;
    }

    /* CSS play triangle */
    .vid-play-icon {
      width: 0; height: 0;
      border-style: solid;
      border-width: 11px 0 11px 20px;
      border-color: transparent transparent transparent #0a0a0a;
      margin-left: 4px;
    }

    .vid-label {
      font-family: var(--fm);
      font-size: 10px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.8);
      text-align: center;
      padding: 0 20px;
    }

    /* Hide overlay while playing */
    .vid-card.playing .vid-overlay { display: none; }

    /* Reel card: gradient overlay + bottom label */
    .vid-card.reel {
      transition: transform 0.35s var(--expo), border-color 0.25s, box-shadow 0.3s;
    }
    .vid-card.reel:hover {
      transform: translateY(-4px);
      border-color: var(--border-hover);
      box-shadow: 0 16px 40px rgba(0,0,0,0.5);
    }
    .vid-card.reel .vid-overlay {
      background: rgba(0,0,0,0.36);
      transition: background 0.25s;
    }
    .vid-card.reel .vid-overlay:hover { background: rgba(0,0,0,0.22); }
    .vid-card.reel .vid-label { display: none; }
    .vid-card.reel .vid-play-btn { width: 50px; height: 50px; }

    /* ===========================
       Skills bento
    =========================== */
    #skills { background: var(--bg); }

    .bento {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 14px;
      margin-top: 52px;
    }

    .bt {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 28px;
      transition: border-color 0.3s, transform 0.3s var(--expo);
      position: relative;
      overflow: hidden;
    }

    .bt:hover {
      border-color: var(--border-hover);
      transform: translateY(-2px);
    }

    .bt.s5 { grid-column: span 5; }
    .bt.s4 { grid-column: span 4; }
    .bt.s3 { grid-column: span 3; }
    .bt.s7 { grid-column: span 7; }
    .bt.s6 { grid-column: span 6; }

    .bt.hot {
      background: linear-gradient(135deg, rgba(59,111,255,0.13) 0%, rgba(59,111,255,0.04) 60%);
      border-color: var(--border-hover);
    }

    .bt-icon { font-size: 28px; margin-bottom: 18px; display: block; }

    .bt-title {
      font-family: var(--fb);
      font-weight: 600;
      font-size: 16px;
      letter-spacing: -0.02em;
      color: var(--text-1);
      margin-bottom: 7px;
    }

    .bt.hot .bt-title { color: var(--accent); }

    .bt-desc {
      font-size: 13px;
      line-height: 1.6;
      color: var(--text-2);
      margin-bottom: 18px;
    }

    .bt-tools {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .bt-tool {
      font-family: var(--fm);
      font-size: 11px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #ffffff;
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border);
      padding: 4px 9px;
      border-radius: 4px;
    }

    /* ===========================
       Certifications
    =========================== */
    /* ===========================
       Gear
    =========================== */
    #gear { background: var(--bg); }

    .gear-em {
      font-family: 'Playfair Display', serif;
      font-style: italic;
      font-weight: 700;
      color: var(--accent);
      letter-spacing: 0;
      text-transform: none;
    }

    .gear-layout {
      display: grid;
      grid-template-columns: 240px 1fr;
      gap: 0;
      align-items: start;
      margin-top: 56px;
    }

    .gear-sidebar {
      position: sticky;
      top: 108px;
      padding-right: 44px;
      border-right: 1px solid var(--border);
    }

    .gear-cat-num {
      font-family: var(--fm);
      font-size: 9px;
      letter-spacing: 0.2em;
      color: var(--text-3);
      margin-bottom: 14px;
    }

    .gear-cat-title {
      font-family: var(--fd);
      font-size: 30px;
      letter-spacing: -0.01em;
      color: var(--text-1);
      line-height: 1;
      margin-bottom: 8px;
    }

    .gear-cat-sub {
      font-family: var(--fm);
      font-size: 10.5px;
      letter-spacing: 0.13em;
      text-transform: uppercase;
      color: var(--text-2);
      margin-bottom: 20px;
    }

    .gear-cat-specs {
      font-family: var(--fm);
      font-size: 10px;
      letter-spacing: 0.04em;
      color: rgba(255,255,255,0.55);
      line-height: 1.7;
      margin-bottom: 12px;
    }

    .gear-cat-desc {
      font-family: var(--fb);
      font-size: 13px;
      line-height: 1.72;
      color: rgba(255,255,255,0.38);
    }

    .gear-grid {
      padding-left: 44px;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .gear-item {
      border-radius: var(--r);
      overflow: hidden;
      background: var(--surface);
      border: 1px solid var(--border);
      transition: border-color 0.25s, transform 0.35s var(--expo);
      position: relative;
    }

    .gear-item:hover {
      border-color: var(--border-hover);
      transform: translateY(-3px);
    }

    .gear-img {
      width: 100%;
      overflow: hidden;
    }

    .gear-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.6s var(--expo);
    }

    .gear-item:hover .gear-img img { transform: scale(1.03); }

    .gear-item--wide .gear-img { height: 380px; }

    .gear-pair {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }

    .gear-pair .gear-item .gear-img { height: 250px; }

    .gear-info {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      padding: 14px 18px;
    }

    .gear-name {
      font-family: var(--fb);
      font-weight: 600;
      font-size: 14px;
      letter-spacing: -0.01em;
      color: var(--text-1);
      margin-bottom: 4px;
    }

    .gear-spec {
      font-family: var(--fm);
      font-size: 10px;
      letter-spacing: 0.06em;
      color: rgba(255,255,255,0.4);
    }

    .gear-tag {
      font-family: var(--fm);
      font-size: 9px;
      letter-spacing: 0.13em;
      text-transform: uppercase;
      padding: 4px 9px;
      border-radius: 4px;
      white-space: nowrap;
      flex-shrink: 0;
      margin-top: 2px;
    }

    .gear-tag.blue    { background: rgba(99,102,241,0.15); color: #818cf8; border: 1px solid rgba(129,140,248,0.18); }
    .gear-tag.orange  { background: rgba(234,88,12,0.15);  color: #fb923c; border: 1px solid rgba(251,146,60,0.18); }
    .gear-tag.green   { background: rgba(22,163,74,0.15);  color: #4ade80; border: 1px solid rgba(74,222,128,0.18); }

    @media (max-width: 1024px) {
      .gear-layout { grid-template-columns: 1fr; gap: 40px; }
      .gear-sidebar { position: static; padding-right: 0; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 28px; }
      .gear-grid { padding-left: 0; }
    }

    @media (max-width: 640px) {
      .gear-pair { grid-template-columns: 1fr; }
      .gear-item--wide .gear-img { height: 220px; }
    }

    #certifications { background: var(--bg-1); }

    .cert-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
      gap: 14px;
      margin-top: 52px;
    }

    .cert-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 22px 24px;
      display: flex;
      align-items: flex-start;
      gap: 14px;
      transition: border-color 0.2s, transform 0.3s var(--expo);
      position: relative;
      overflow: hidden;
    }

    .cert-card:hover {
      border-color: var(--border-hover);
      transform: translateY(-2px);
    }

    .cert-icon {
      width: 38px; height: 38px;
      border-radius: 8px;
      background: var(--accent-dim);
      border: 1px solid var(--border-hover);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 17px;
      flex-shrink: 0;
    }

    .cert-name {
      font-family: var(--fd);
      font-weight: 400;
      font-size: 13.5px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      margin-bottom: 3px;
    }

    .cert-by {
      font-family: var(--fm);
      font-size: 9px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-3);
    }

    /* ===========================
       Contact
    =========================== */
    #contact {
      position: relative;
      overflow: hidden;
      text-align: center;
      padding: 150px 40px;
      background: var(--bg);
    }

    .contact-ghost {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-family: var(--fd);
      font-weight: 400;
      font-size: clamp(70px, 14vw, 190px);
      letter-spacing: -0.06em;
      color: rgba(255,255,255,0.018);
      pointer-events: none;
      white-space: nowrap;
      user-select: none;
    }

    .contact-inner {
      position: relative;
      z-index: 1;
      max-width: 680px;
      margin: 0 auto;
    }

    .contact-heading {
      font-family: var(--fd);
      font-weight: 400;
      font-size: clamp(44px, 6vw, 76px);
      letter-spacing: -0.045em;
      line-height: 1;
      margin-bottom: 22px;
    }

    .contact-heading span { color: var(--accent); }

    .contact-sub {
      font-size: 16px;
      color: var(--text-2);
      line-height: 1.75;
      margin-bottom: 44px;
      max-width: 48ch;
      margin-left: auto;
      margin-right: auto;
    }

    .contact-email-btn {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-family: var(--fd);
      font-weight: 400;
      font-size: clamp(18px, 2.2vw, 26px);
      letter-spacing: -0.02em;
      color: var(--text-1);
      background: var(--surface);
      border: 1px solid var(--border);
      padding: 18px 30px;
      border-radius: var(--r);
      cursor: pointer;
      border: none;
      background: var(--surface);
      border: 1px solid var(--border);
      transition: border-color 0.2s, transform 0.35s var(--expo), box-shadow 0.3s;
    }

    .contact-email-btn:hover {
      border-color: var(--border-hover);
      transform: translateY(-2px);
      box-shadow: 0 14px 40px rgba(59,111,255,0.1);
    }

    .copy-icon { font-size: 14px; opacity: 0.45; transition: opacity 0.2s; }
    .contact-email-btn:hover .copy-icon { opacity: 1; }

    .contact-links {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin-top: 24px;
    }

    .clink {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-family: var(--fm);
      font-size: 10.5px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-2);
      border: 1px solid var(--border);
      padding: 11px 18px;
      border-radius: var(--rs);
      transition: color 0.2s, border-color 0.2s, background 0.2s;
    }

    .clink:hover {
      color: var(--accent);
      border-color: var(--border-hover);
      background: var(--accent-dim);
    }

    /* Toast */
    #toast {
      position: fixed;
      bottom: 28px;
      left: 50%;
      transform: translateX(-50%) translateY(16px);
      background: var(--accent);
      color: #000;
      font-family: var(--fm);
      font-size: 10.5px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      font-weight: 500;
      padding: 11px 22px;
      border-radius: var(--rs);
      opacity: 0;
      pointer-events: none;
      z-index: 300;
      transition: opacity 0.3s var(--expo), transform 0.3s var(--expo);
    }

    #toast.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    /* ===========================
       Footer
    =========================== */
    footer {
      border-top: 1px solid var(--border);
      padding: 28px 40px;
    }

    .footer-inner {
      width: 100%;
      max-width: var(--maxw);
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .footer-name {
      font-family: var(--fd);
      font-weight: 400;
      font-size: 14px;
      letter-spacing: -0.01em;
    }

    .footer-copy {
      font-family: var(--fm);
      font-size: 9.5px;
      letter-spacing: 0.13em;
      text-transform: uppercase;
      color: var(--text-3);
    }

    .footer-links {
      display: flex;
      gap: 22px;
    }

    .footer-links a {
      font-family: var(--fm);
      font-size: 9.5px;
      letter-spacing: 0.13em;
      text-transform: uppercase;
      color: var(--text-3);
      transition: color 0.2s;
    }

    .footer-links a:hover { color: var(--accent); }

    /* Scramble accent chars */
    .sc { color: var(--accent); opacity: 0.65; }

    /* ===========================
       Responsive
    =========================== */
    @media (max-width: 1024px) {
      .hero-inner { grid-template-columns: 1fr; }
      .hero-card { display: none; }
      #about .wrap { grid-template-columns: 1fr !important; gap: 56px !important; }
      #experience .wrap { grid-template-columns: 1fr; gap: 44px; }
      .exp-left { position: static; }
      .pc.w8, .pc.w7 { grid-column: span 12; }
      .pc.w4, .pc.w5 { grid-column: span 6; }
      .pc.w6 { grid-column: span 12; }
      .bt.s5, .bt.s7 { grid-column: span 6; }
      .bt.s4, .bt.s3 { grid-column: span 6; }
      .bt.s6 { grid-column: span 12; }
      .proj-header { flex-direction: column; align-items: flex-start; gap: 18px; }
    }

    @media (max-width: 768px) {
      section { padding: 72px 20px; }
      #nav { padding: 0 20px; }
      #hero { padding: var(--navh) 20px 0; }
      #contact { padding: 90px 20px; }
      footer { padding: 24px 20px; }

      /* Mobile navigation: hamburger reveals a slide-down panel */
      .nav-toggle { display: flex; }

      .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        position: fixed;
        top: var(--navh); left: 0; right: 0;
        max-height: calc(100dvh - var(--navh));
        overflow-y: auto;
        background: rgba(8,8,8,0.97);
        -webkit-backdrop-filter: blur(24px);
        backdrop-filter: blur(24px);
        border-bottom: 1px solid var(--border);
        padding: 12px 20px 26px;
        transform: translateY(-14px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.28s var(--expo), transform 0.28s var(--expo), visibility 0.28s;
      }
      body.nav-open .nav-menu {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
      }

      .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
      }
      .nav-links li { width: 100%; }
      .nav-links a {
        display: block;
        width: 100%;
        padding: 15px 2px;
        font-size: 13px;
        color: var(--text-1);
        border-bottom: 1px solid var(--border);
      }
      .nav-links a::after { display: none; }

      .nav-hire {
        align-self: flex-start;
        margin-top: 20px;
        font-size: 12px;
        padding: 12px 22px;
      }

      .h-name { font-size: 52px; }

      .pc.w8, .pc.w7, .pc.w6, .pc.w5, .pc.w4 { grid-column: span 12; }
      .bt.s5, .bt.s7, .bt.s4, .bt.s3, .bt.s6  { grid-column: span 12; }

      .about-stats { grid-template-columns: repeat(3, 1fr); }

      .footer-inner { flex-direction: column; gap: 14px; text-align: center; }
      .footer-links { gap: 14px; }

      .contact-links { flex-wrap: wrap; justify-content: center; }

      .cursor, .cursor-dot { display: none; }
      body { cursor: auto; }

      .cert-grid { grid-template-columns: 1fr; }
      .vid-grid-reels { grid-template-columns: repeat(2, 1fr); }
      .vid-grid.cols-3, .vid-grid.cols-2 { grid-template-columns: 1fr; }
      .vid-header { align-items: flex-start; }
    }

    @media (max-width: 480px) {
      .h-name { font-size: 38px; }
      .vid-grid-reels { grid-template-columns: 1fr; }
      .vid-tabs { width: 100%; }
      .vt { flex: 1; padding: 9px 8px; text-align: center; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
      }
    }

    /* ===========================
       WOW LAYER — Enhanced FX
    =========================== */

    /* Nav logo gradient */
    .nav-logo {
      background: linear-gradient(135deg, var(--text-1) 0%, rgba(140,170,255,0.7) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-size: 19px;
    }
    .nav-logo b { -webkit-text-fill-color: transparent; }

    /* h-desc stronger link color for <strong> */
    .h-desc strong {
      color: var(--text-1);
      font-weight: 700;
      font-family: var(--fi);
    }

    /* Hero orb — more vivid */
    .orb-a {
      background: radial-gradient(circle, rgba(99,140,255,0.12) 0%, transparent 70%) !important;
    }
    .orb-b {
      background: radial-gradient(circle, rgba(99,140,255,0.08) 0%, transparent 70%) !important;
    }

    /* Marquee items more visible */
    .m-text { color: rgba(255,255,255,0.2) !important; }
    .marquee-track:hover .m-text { color: rgba(255,255,255,0.45) !important; }

    /* Section base — tighter, more dramatic */
    section { position: relative; }

    /* Contact section — dramatic heading */
    .contact-heading {
      font-size: clamp(48px, 6.5vw, 88px) !important;
      background: linear-gradient(135deg, var(--text-1) 50%, rgba(240,237,232,0.35) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      letter-spacing: -0.04em !important;
    }
    .contact-heading span {
      background: linear-gradient(135deg, rgba(140,170,255,1) 0%, rgba(99,140,255,0.8) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* Skills bento — Inter font for tool names */
    .bt { font-family: var(--fi); }

    /* About stat label */
    .am-stat-label {
      font-family: var(--fi) !important;
      font-size: 10px !important;
      font-weight: 600 !important;
      letter-spacing: 0.1em !important;
    }

    /* hc-stat label */
    .hc-stat-l {
      font-family: var(--fi) !important;
      font-size: 9px !important;
      font-weight: 600 !important;
    }

    /* Experience period */
    .tl-period {
      font-family: var(--fi) !important;
      font-size: 10px !important;
      font-weight: 600 !important;
      letter-spacing: 0.12em !important;
      color: rgba(140,170,255,0.5) !important;
    }

    /* Project tag style update */
    .pc-tag {
      font-family: var(--fi) !important;
      font-size: 10px !important;
      font-weight: 600 !important;
      letter-spacing: 0.04em !important;
    }

    /* ── Horizontal animated divider lines ── */
    .wow-divider {
      width: 100%;
      height: 1px;
      background: linear-gradient(90deg, transparent 0%, rgba(99,140,255,0.4) 30%, rgba(140,170,255,0.2) 70%, transparent 100%);
      position: relative;
      overflow: hidden;
    }
    .wow-divider::after {
      content: '';
      position: absolute; top: 0; left: -100%;
      width: 60%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(140,170,255,0.6), transparent);
      animation: dividerSweep 4s ease-in-out infinite 2s;
    }
    @keyframes dividerSweep {
      0%   { left: -60%; }
      100% { left: 160%; }
    }

    /* ── Staggered grid children ── */
    [data-stagger] > * {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.6s var(--expo), transform 0.6s var(--expo);
    }
    [data-stagger].on > *:nth-child(1) { opacity:1; transform:none; transition-delay:0s; }
    [data-stagger].on > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.08s; }
    [data-stagger].on > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.16s; }
    [data-stagger].on > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.24s; }
    [data-stagger].on > *:nth-child(5) { opacity:1; transform:none; transition-delay:0.32s; }
    [data-stagger].on > *:nth-child(6) { opacity:1; transform:none; transition-delay:0.40s; }
    [data-stagger].on > *:nth-child(7) { opacity:1; transform:none; transition-delay:0.48s; }
    [data-stagger].on > *:nth-child(8) { opacity:1; transform:none; transition-delay:0.56s; }

    /* ── About section accent ── */
    .am-body strong {
      font-family: var(--fi) !important;
      font-weight: 700 !important;
      color: var(--text-1) !important;
    }

    /* ── Skills bento improvements ── */
    .bt-label {
      font-family: var(--fi) !important;
      font-weight: 700 !important;
      font-size: 14px !important;
      letter-spacing: -0.02em !important;
    }

    /* ── Cert card improvements ── */
    .cert-card { position: relative; overflow: hidden; }
    .cert-name {
      font-family: var(--fi) !important;
      font-weight: 700 !important;
      letter-spacing: -0.02em !important;
    }

    /* ── Contact email button ── */
    .contact-email-btn {
      font-family: var(--fi) !important;
      font-size: 15px !important;
      font-weight: 500 !important;
    }

    /* ── Footer ── */
    .footer-copy {
      font-family: var(--fi) !important;
      font-size: 12px !important;
    }

    /* @property for conic border rotation */
    @property --ba { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
    @keyframes rotateBorder { to { --ba: 360deg; } }

    /* Conic gradient animated border on project cards */
    .grad-border {
      position: absolute; inset: -1px;
      border-radius: calc(var(--r) + 1px);
      background: conic-gradient(from var(--ba), var(--accent) 0%, rgba(99,140,255,0.4) 20%, transparent 40%, var(--accent) 100%);
      z-index: -1; opacity: 0;
      transition: opacity 0.4s;
      animation: rotateBorder 3s linear infinite;
      pointer-events: none;
    }
    .pc:hover .grad-border { opacity: 1; }
    .pc { position: relative; overflow: visible !important; }

    /* 3D tilt on cards */
    .pc {
      transition: transform 0.12s ease, border-color 0.3s, box-shadow 0.3s !important;
    }
    .pc:hover {
      transform: perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-6px) !important;
      box-shadow: 0 28px 56px rgba(0,0,0,0.55) !important;
    }
    .bt {
      transition: transform 0.12s ease, border-color 0.3s, box-shadow 0.3s !important;
    }
    .bt:hover {
      transform: perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-4px) !important;
      box-shadow: 0 16px 40px rgba(0,0,0,0.4) !important;
    }

    /* Clip-path reveal handled in main CSS via [data-r].on .sec-heading */

    /* Timeline line draw */
    .timeline::before {
      transform-origin: top;
      transform: scaleY(0);
      transition: transform 1.6s var(--expo);
      background: linear-gradient(to bottom, var(--accent), rgba(59,111,255,0.15)) !important;
    }
    .timeline.line-on::before { transform: scaleY(1); }

    /* Ambient floating particles */
    .ap {
      position: fixed; border-radius: 50%;
      opacity: 0; pointer-events: none;
      animation: apFloat linear infinite;
      z-index: 0;
    }
    @keyframes apFloat {
      0%   { opacity: 0; transform: translateY(0) scale(0.6); }
      12%  { opacity: 0.35; }
      88%  { opacity: 0.1; }
      100% { opacity: 0; transform: translateY(-100vh) scale(0.2); }
    }

    /* Hero noise grain overlay */
    .hero-noise {
      position: absolute; inset: 0; pointer-events: none; z-index: 1;
      opacity: 0.025;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      background-size: 180px 180px;
      animation: noiseShift 6s steps(2) infinite;
      mix-blend-mode: screen;
    }
    @keyframes noiseShift {
      0%  { background-position: 0 0; }
      25% { background-position: -8px 4px; }
      50% { background-position: 4px -6px; }
      75% { background-position: -4px 8px; }
    }

    /* Contact heading accent glow */
    .contact-heading span {
      position: relative;
      animation: accentGlow 3s ease-in-out infinite;
    }
    @keyframes accentGlow {
      0%,100% { filter: drop-shadow(0 0 6px rgba(59,111,255,0.5)); }
      50%      { filter: drop-shadow(0 0 22px rgba(59,111,255,1)); }
    }

    /* Scroll to top button */
    #scrollTop {
      position: fixed; bottom: 28px; right: 28px;
      width: 40px; height: 40px; border-radius: 50%;
      background: var(--surface); border: 1px solid var(--border);
      color: var(--text-2); cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      font-size: 15px; font-family: var(--fm);
      opacity: 0; transform: translateY(12px);
      transition: opacity 0.3s var(--expo), transform 0.3s var(--expo), border-color 0.2s, color 0.2s, box-shadow 0.2s;
      z-index: 90;
    }
    #scrollTop.show { opacity: 1; transform: translateY(0); }
    #scrollTop:hover { border-color: var(--border-hover); color: var(--accent); box-shadow: 0 8px 24px rgba(59,111,255,0.2); }

    /* Marquee enhanced fade edges */
    .marquee { position: relative; }
    .marquee::before, .marquee::after {
      content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
    }
    .marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
    .marquee::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

    /* Cert card top line reveal */
    .cert-card::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
      background: linear-gradient(90deg, var(--accent), rgba(99,140,255,0.5));
      transform: scaleX(0); transform-origin: left;
      transition: transform 0.5s var(--expo);
    }
    .cert-card:hover::before { transform: scaleX(1); }

    /* Gear item shimmer */
    .gear-item::after {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(59,111,255,0.12), transparent 55%);
      opacity: 0; transition: opacity 0.4s; pointer-events: none;
    }
    .gear-item:hover::after { opacity: 1; }

    /* Experience timeline dot ring pulse */
    @keyframes dotRing {
      0%   { box-shadow: 0 0 0 0 rgba(59,111,255,0.4); }
      70%  { box-shadow: 0 0 0 8px rgba(59,111,255,0); }
      100% { box-shadow: 0 0 0 0 rgba(59,111,255,0); }
    }
    .tl-item:hover .tl-dot { animation: dotRing 1.2s ease infinite; }

    /* ===== Scroll Progress Bar ===== */
    #sp {
      position: fixed;
      top: 0; left: 0;
      width: 100%;
      height: 2px;
      background: var(--accent);
      transform-origin: left;
      transform: scaleX(0);
      z-index: 9999;
      pointer-events: none;
      will-change: transform;
    }

    /* ===== Spotlight on cards ===== */
    .bt::after, .cert-card::after, .gear-item::after, .hero-card::after {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(59,111,255,0.15), transparent 55%);
      opacity: 0;
      transition: opacity 0.4s;
      pointer-events: none;
      z-index: 1;
    }

    .bt:hover::after, .cert-card:hover::after, .gear-item:hover::after, .hero-card:hover::after { opacity: 1; }

    /* Lift card children above spotlight */
    .bt > *, .cert-card > * { position: relative; z-index: 2; }

    /* ===== Hero card 3D tilt ===== */
    .hero-card {
      transition: transform 0.12s ease, border-color 0.3s, box-shadow 0.3s;
    }

    /* ===========================
       Geo Widget (hover-reveal location)
    =========================== */
    .geo-widget {
      width: 100%;
      cursor: default;
      outline: none;
    }

    .geo-row {
      display: flex;
      align-items: center;
      gap: 9px;
      justify-content: space-between;
    }

    .geo-left {
      display: flex;
      align-items: center;
      gap: 9px;
    }

    .geo-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--accent);
      position: relative;
      flex-shrink: 0;
      animation: geoAmbient 2.6s ease infinite;
    }
    @keyframes geoAmbient {
      0%, 100% { box-shadow: 0 0 0 0 rgba(99,140,255,0.35); }
      50%      { box-shadow: 0 0 0 6px rgba(99,140,255,0); }
    }
    .geo-dot::after {
      content: '';
      position: absolute; inset: -5px;
      border: 1px solid var(--accent);
      border-radius: 50%;
      opacity: 0;
    }
    .geo-widget:hover .geo-dot::after,
    .geo-widget:focus-visible .geo-dot::after {
      animation: geoPing 1.7s var(--expo) infinite;
    }
    @keyframes geoPing {
      0%   { opacity: 0.55; transform: scale(0.4); }
      100% { opacity: 0; transform: scale(2.4); }
    }

    .geo-hint {
      font-family: var(--fm);
      font-size: 8.5px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.18);
      transition: opacity 0.25s var(--expo);
    }
    .geo-widget:hover .geo-hint,
    .geo-widget:focus-visible .geo-hint { opacity: 0; }

    .geo-detail-wrap {
      display: grid;
      grid-template-rows: 0fr;
      opacity: 0;
      transition: grid-template-rows 0.5s var(--expo), opacity 0.3s var(--expo);
    }
    .geo-widget:hover .geo-detail-wrap,
    .geo-widget:focus-visible .geo-detail-wrap {
      grid-template-rows: 1fr;
      opacity: 1;
    }
    .geo-detail {
      overflow: hidden;
      min-height: 0;
      display: flex;
      align-items: center;
      gap: 10px;
      padding-top: 12px;
      margin-top: 12px;
      border-top: 1px solid var(--border);
    }
    .geo-coords, .geo-clock, .geo-tz-full {
      font-family: var(--fm);
      font-size: 9.5px;
      letter-spacing: 0.08em;
      color: rgba(255,255,255,0.4);
      white-space: nowrap;
    }
    .geo-clock { color: var(--accent); font-weight: 700; }
    .geo-sep { color: rgba(255,255,255,0.15); font-size: 9px; }

    /* ===========================
       Process Pipeline
    =========================== */
    .pipeline {
      display: flex;
      align-items: stretch;
      flex-wrap: nowrap;
      gap: 0;
      margin-top: 8px;
    }
    .pl-step {
      flex: 1 1 0;
      min-width: 0;
      padding: 22px 16px;
      border-radius: 14px;
      border: 1px solid var(--border);
      background: var(--surface);
      transition: border-color 0.3s, transform 0.3s var(--expo), background 0.3s;
    }
    .pl-step:hover {
      border-color: rgba(59,111,255,0.4);
      background: rgba(59,111,255,0.06);
      transform: translateY(-4px);
    }
    .pl-num {
      font-family: var(--fm);
      font-size: 11px;
      letter-spacing: 0.1em;
      color: var(--accent);
      margin-bottom: 10px;
    }
    .pl-name {
      font-family: var(--fi);
      font-size: 15px;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 8px;
      color: var(--text-1);
    }
    .pl-desc {
      font-family: var(--fb);
      font-size: 12.5px;
      line-height: 1.55;
      color: rgba(255,255,255,0.4);
    }
    .pl-arrow {
      display: flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 26px;
      color: rgba(255,255,255,0.18);
    }

    @media (max-width: 860px) {
      .pipeline { flex-wrap: wrap; gap: 12px; }
      .pl-arrow { display: none; }
      .pl-step { flex: 1 1 calc(50% - 6px); min-width: 140px; }
    }
    @media (max-width: 520px) {
      .pl-step { flex: 1 1 100%; }
    }

    /* =====================================================
       CINEMATIC GLASS LAYER  (electric-blue reinvention)
       ===================================================== */

    /* Atmospheric depth, animated electric aurora + film grain */
    body::before {
      content: '';
      position: fixed;
      inset: -20%;
      z-index: -2;
      pointer-events: none;
      background:
        radial-gradient(48% 42% at 80% -2%, rgba(59,111,255,0.30), transparent 58%),
        radial-gradient(42% 38% at 4% 102%, rgba(106,147,255,0.20), transparent 55%),
        radial-gradient(38% 34% at 52% 48%, rgba(40,70,180,0.18), transparent 66%);
      filter: blur(20px);
      animation: auroraDrift 22s ease-in-out infinite alternate;
    }
    @keyframes auroraDrift {
      0%   { transform: translate3d(-2%, -1%, 0) scale(1);    opacity: 0.9; }
      50%  { transform: translate3d(3%, 2%, 0)  scale(1.08);  opacity: 1; }
      100% { transform: translate3d(-1%, 3%, 0) scale(1.03);  opacity: 0.85; }
    }

    /* Hero, vivid electric light pools + overhead beam */
    .orb-a { background: radial-gradient(circle, rgba(59,111,255,0.28) 0%, transparent 68%) !important; filter: blur(60px) !important; }
    .orb-b { background: radial-gradient(circle, rgba(106,147,255,0.20) 0%, transparent 70%) !important; filter: blur(80px) !important; }
    .hero-grid { -webkit-mask-image: radial-gradient(ellipse 80% 80% at 42% 48%, black 25%, transparent 78%); mask-image: radial-gradient(ellipse 80% 80% at 42% 48%, black 25%, transparent 78%); opacity: 1.4; }
    #hero::before {
      content: ''; position: absolute; left: 50%; top: -32%;
      width: 130%; height: 80%; transform: translateX(-50%);
      background: conic-gradient(from 180deg at 50% 0%, transparent 42%, rgba(59,111,255,0.16) 50%, transparent 58%);
      filter: blur(28px); mix-blend-mode: screen; pointer-events: none; z-index: 0;
    }
    #hero { border-bottom: 1px solid rgba(59,111,255,0.14); }

    /* ===== Redesigned hero composition ===== */
    .hero-inner { grid-template-columns: 1.04fr 0.96fr !important; gap: 72px !important; align-items: center; }
    .hero-lead { position: relative; z-index: 2; }
    .h-kicker {
      font-family: var(--fm); font-size: 11px; letter-spacing: 0.30em;
      text-transform: uppercase; color: var(--accent-2);
      margin: 0 0 16px; opacity: 0; animation: up 0.6s var(--expo) 0.5s forwards;
    }
    .h-name { margin-bottom: 26px; }
    /* Solid, bold headline (gradient text-fill was rendering faint); keep clip-path reveal */
    .h-name .hw {
      background: none !important;
      -webkit-text-fill-color: var(--text-1) !important;
      color: var(--text-1) !important;
      text-shadow: 0 0 44px rgba(59,111,255,0.28);
    }
    .h-name .ao { color: var(--accent-2) !important; -webkit-text-fill-color: var(--accent-2) !important; }
    .h-desc { max-width: 44ch; }

    .hero-visual {
      position: relative; z-index: 2;
      width: min(420px, 100%); margin: 0 auto;
      opacity: 0; animation: up 0.95s var(--expo) 0.85s forwards;
    }
    .hv-frame {
      position: relative; width: 100%; aspect-ratio: 4 / 5;
      border-radius: 22px; overflow: hidden;
      border: 1px solid var(--glass-border);
      box-shadow: var(--shadow-lift);
      background: var(--bg-1);
    }
    .hv-frame img {
      width: 100%; height: 100%; object-fit: cover; display: block;
      filter: contrast(1.06) saturate(1.05) brightness(0.96);
      transition: transform 1.1s var(--expo);
    }
    .hv-frame:hover img { transform: scale(1.04); }
    .hv-shade {
      position: absolute; inset: 0; pointer-events: none;
      background:
        linear-gradient(180deg, transparent 38%, rgba(6,7,10,0.82) 100%),
        radial-gradient(120% 75% at 82% 0%, rgba(59,111,255,0.28), transparent 55%);
    }
    .hv-now {
      position: absolute; left: 14px; bottom: 14px; z-index: 2;
      display: inline-flex; align-items: center; gap: 8px;
      font-family: var(--fm); font-size: 10px; letter-spacing: 0.06em; color: var(--text-1);
      background: rgba(6,7,10,0.5);
      -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
      border: 1px solid var(--glass-border); border-radius: 100px; padding: 8px 14px;
    }
    .hv-now .geo-dot {
      position: static; width: 7px; height: 7px; border-radius: 50%;
      background: var(--green); animation: pulse 2.2s ease infinite;
    }
    .hv-now .geo-dot::after { content: none; }
    .hv-now .geo-clock { color: var(--accent-2); font-weight: 700; }
    .hv-now .geo-sep { color: rgba(255,255,255,0.28); }
    .hv-now-tz { color: var(--text-2); }

    .hv-chip {
      position: absolute; z-index: 3;
      display: flex; flex-direction: column; gap: 3px; align-items: flex-start;
      background: linear-gradient(160deg, var(--glass-2), var(--glass));
      -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
      border: 1px solid var(--glass-border); border-radius: 14px; padding: 12px 16px;
      box-shadow: var(--shadow-glass);
      animation: chipFloat 6s ease-in-out infinite;
    }
    .hv-chip b { font-family: var(--fi); font-weight: 800; font-size: 22px; color: var(--text-1); line-height: 1; }
    .hv-chip span { font-family: var(--fm); font-size: 8.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); }
    .hv-chip-1 { top: 5%; right: -7%; animation-delay: 0s; }
    .hv-chip-2 { top: 46%; right: -12%; animation-delay: 1.3s; }
    .hv-chip-3 { bottom: 7%; left: -8%; animation-delay: 2.5s; }
    @keyframes chipFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

    @media (max-width: 880px) {
      .hero-inner { grid-template-columns: 1fr !important; gap: 40px !important; }
      .hero-visual { order: -1; width: min(300px, 76vw); }
      .hv-chip-1 { right: 0; }
      .hv-chip-2 { right: -4%; }
      .hv-chip-3 { left: 0; }
      .h-desc { max-width: 100%; }
    }
    body::after {
      content: '';
      position: fixed;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      opacity: 0.045;
      mix-blend-mode: overlay;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      background-size: 190px 190px;
    }

    /* Nav, always faintly glassy, fully frosted once stuck */
    #nav { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
    #nav.stuck {
      background: rgba(6,7,10,0.68);
      -webkit-backdrop-filter: var(--glass-blur);
      backdrop-filter: var(--glass-blur);
      border-bottom-color: var(--glass-border);
    }

    /* Glass surfaces, every card/panel becomes frosted electric glass */
    .hero-card,
    .pc,
    .bt,
    .cert-card,
    .vid-card,
    .gear-item {
      background: linear-gradient(160deg, var(--glass-2), var(--glass)) !important;
      -webkit-backdrop-filter: var(--glass-blur);
      backdrop-filter: var(--glass-blur);
      border: 1px solid var(--glass-border);
      border-radius: var(--r);
      box-shadow: var(--shadow-glass);
      transition: transform .55s var(--expo), box-shadow .55s var(--expo),
                  border-color .4s ease, background .4s ease;
    }
    /* Featured case-study cards keep their electric tint, gain the glass frame */
    .pc.w8[style*="border-top"] { background: linear-gradient(160deg, rgba(59,111,255,0.10), rgba(59,111,255,0.02)) !important; }

    .pc:hover,
    .bt:hover,
    .cert-card:hover,
    .gear-item:hover {
      transform: translateY(-6px);
      border-color: var(--border-hover);
      box-shadow: var(--shadow-lift);
    }
    .vid-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-lift); }

    /* Timeline cards, glass-friendly transition without breaking the rail */
    .tl-item { transition: transform .5s var(--expo), border-color .4s ease; }

    /* Buttons, solid accent glows, ghost button turns to glass */
    .btn-a {
      box-shadow: 0 10px 34px -10px rgba(59,111,255,0.65);
      transition: transform .12s ease, box-shadow .4s var(--expo), filter .3s ease;
    }
    .btn-a:hover { box-shadow: 0 16px 46px -10px rgba(59,111,255,0.85); filter: brightness(1.06); }
    .btn-b {
      background: var(--glass);
      -webkit-backdrop-filter: blur(10px);
      backdrop-filter: blur(10px);
      border: 1px solid var(--glass-border);
      transition: background .3s ease, border-color .3s ease, transform .12s ease;
    }
    .btn-b:hover { background: var(--glass-2); border-color: var(--border-hover); }

    /* Section headings, subtle light-to-electric sheen */
    .sec-heading, .contact-heading {
      background: linear-gradient(180deg, var(--text-1) 0%, rgba(242,244,248,0.74) 70%, rgba(106,147,255,0.9) 130%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    /* Accessibility, visible keyboard focus on the electric accent */
    a:focus-visible,
    button:focus-visible,
    .magnetic:focus-visible,
    [tabindex]:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 3px;
      border-radius: 5px;
    }

    /* Touch / coarse pointers, kill the custom cursor, restore native */
    @media (hover: none), (pointer: coarse) {
      body { cursor: auto !important; }
      #cur, #cdot { display: none !important; }
    }

    /* Reduced motion, show everything, stop the heavy stuff */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
      }
      .h-name .hw, .h-badge, .h-sub, .h-desc, .h-ctas, .h-social,
      .hero-card, [data-r], [data-stagger] {
        opacity: 1 !important;
        clip-path: none !important;
        transform: none !important;
      }
    }

    /* ===========================
       Multi-page helpers
    =========================== */
    /* Active nav link on the current page */
    .nav-links a[aria-current="page"] { color: var(--text-1); }

    /* Sub-pages have no hero, so the first section needs clearance below the fixed nav */
    body.subpage section:first-of-type { padding-top: 134px; }
    @media (max-width: 760px) {
      body.subpage section:first-of-type { padding-top: 104px; }
    }

    /* Homepage explore previews: anchor cards reuse .pc, with a hover affordance */
    a.pc { color: inherit; text-decoration: none; }
    .pc-go {
      display: inline-flex; align-items: center; gap: 7px; margin-top: 20px;
      font-family: var(--fm); font-size: 10px; letter-spacing: 0.14em;
      text-transform: uppercase; color: var(--accent);
    }
    .pc-go svg { transition: transform 0.4s var(--expo); }
    a.pc:hover .pc-go svg { transform: translateX(4px); }

