      @font-face{
        font-family: "Inter";
        font-style: normal;
        font-weight: 400 500 600 ;
        font-display: swap;
        src: url("./fonts/Inter-roman.var.woff2") format("woff2");
      }

      @font-face{
        font-family: "JetBrains Mono";
        font-style: normal;
    
        font-display: swap;
        src: url("./fonts/JetBrainsMono[wght].woff2") format("woff2");
      }
/* =========================
   PHOSPHOR ICONS
========================= */

/* Regular */
@font-face{
  font-family: "Phosphor";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("./icons/regular/Phosphor.woff2") format("woff2");
}

/* Bold */
@font-face{
  font-family: "Phosphor";
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url("./icons/bold/Phosphor-Bold.woff2") format("woff2");
}
    :root{
      --brand-accent: #3B82F6;
      --brand-accent-dim: rgba(59, 130, 246, 0.15);
      --brand-secondary: #F59E0B;

      --bg: #09090b;
      --surface-1: #18181bb5;
      --surface-2: #27272a;
      --surface-3: #3f3f46;

      --border: rgba(255, 255, 255, 0.08);
      --border-hover: rgba(255, 255, 255, 0.15);

      --text-main: #f4f4f5;
      --text-muted: #a1a1aa;
      --text-dim: #7e7e85;

      --max-width: 1024px;
      --radius: 16px;
      --radius-sm: 8px;

      --font-ui: 'Inter', system-ui, -apple-system, sans-serif;
      --font-mono: 'JetBrains Mono', monospace;

      --text-sm: clamp(0.8125rem, 0.8rem + 0.1vw, 0.875rem);
      --text-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
      --text-lg: clamp(1.125rem, 1.1rem + 0.2vw, 1.25rem);
      --text-xl: clamp(2rem, 1.8rem + 1vw, 3rem);
      }


    html[data-theme="light"] {
      --bg: #fafafa;
      --surface-1: #ffffff99;
      --surface-2: #f4f4f5;
      --surface-3: #e4e4e7;
      --border: rgba(0, 0, 0, 0.08);
      --border-hover: rgba(0, 0, 0, 0.15);
      --text-main: #18181b;
      --text-muted: #52525b;
      --text-dim: #8d8d9e;
    }
    
    *, *::before, *::after { box-sizing: border-box;  -webkit-tap-highlight-color: #3b81f72b; }

    body {
      margin: 0;
      font-family: var(--font-ui);
      color: var(--text-main);
      line-height: 1.6;
      font-size: var(--text-base);
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    body::before{
      content:"";
      position:fixed;
      inset:0;
      z-index:-1;
      background:
        radial-gradient(circle at 15% 0%, rgba(59, 130, 246, 0.1), transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08), transparent 40%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    }

    @media (hover: none), (max-width: 900px) {
      body::before{
        background:
          radial-gradient(circle at 15% 0%, rgba(59, 130, 246, 0.08), transparent 40%),
          radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08), transparent 40%);
      }
    }

    a { color: inherit; text-decoration: none; transition: color 0.2s; }
    @media (hover: hover) and (pointer: fine) {
      a:hover { color: var(--brand-accent); }
    }
    strong { font-weight: 600; color: var(--text-main); }
    i.ph { font-size: 1.1em; vertical-align: -0.15em; }

    .wrap {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: clamp(20px, 5vw, 40px) 24px 80px;
    }

    .topbar {
      position: sticky;
      top: 16px;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 8px 9px 8px 8px;
      background: rgb(28 28 32 / 65%);
      border: 1px solid var(--border);
      border-radius: 999px;
      box-shadow: -3px 20px 40px -10px rgba(0, 0, 0, 0.5);
      transform: translateZ(0);
      transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }


    @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
      .topbar {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
      }
    }

    @media (hover: none), (max-width: 900px) {
      .topbar {

        background: rgba(24, 24, 27, 0.65);
      }
    }
    html {
       scrollbar-gutter: stable;
       background-color: var(--bg);
    }

    html[data-theme="light"] .topbar { background: rgba(255, 255, 255, 0.65); 
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);}

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      overflow: hidden;
    }

    .mark {
      width: 36px;
      height: 36px;
      flex-shrink: 0;
      border-radius: 999px;
      overflow: hidden;
      background: var(--surface-2);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .mark img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    

    .brand-text strong { display: block; font-size: 14px; line-height: 1.2; }

    .brand-text span {
      display: block;
      font-size: 11px;
      color: var(--text-muted);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 200px;
    }

    .actions { display: flex; gap: 8px; align-items: center; }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 16px;
      font-size: 13px;
      font-weight: 500;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: var(--surface-2);
      color: var(--text-muted);
      cursor: pointer;
      transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
      white-space: nowrap;
      height: 36px;
    }

    @media (hover: hover) and (pointer: fine) {
      .btn:hover {
        background: var(--surface-3);
        color: var(--text-main);
        border-color: var(--border-hover);
      }
    }

    .btn.primary {
      background: var(--text-main);
      color: var(--bg);
      border-color: var(--text-main);
      font-weight: 600;
    }

    .btn.primary:hover {
      background: var(--text-muted);
      border-color: var(--text-muted);
    }

    .btn.icon { padding: 0; width: 36px; justify-content: center; }

    .hero {
      margin-top: 48px;
      margin-bottom: 48px;
    }

    .kicker {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 20px;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 12px;
      border-radius: 8px;
      background: var(--surface-2);
      border: 1px solid var(--border);
      font-size: 11px;
      font-family: var(--font-mono);
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.02em;
      font-weight: 500;
    }

    .badge-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--brand-accent);
      box-shadow: 0 0 8px var(--brand-accent);
    }

    .badge-dot.gold { background: var(--brand-secondary); box-shadow: 0 0 8px var(--brand-secondary); }

    h1 {
      font-size: var(--text-xl);
      letter-spacing: -0.03em;
      line-height: 1.1;
      margin: 36px 0 12px 0;
      color: var(--text-main);
    }

    .role-title {
      font-size: var(--text-lg);
      color: var(--brand-accent);
      font-weight: 500;
      margin-bottom: 24px;
      font-family: var(--font-mono);
      opacity: 0.9;
    }

    .intro {
      font-size: var(--text-base);
      color: var(--text-muted);
      max-width: 75ch;
      margin-bottom: 40px;
      font-weight: 400;
    }



    .quick-stats {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 16px;
    }

    .stat-card {
      padding: 20px;
      background: var(--surface-1);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .stat-label {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text-dim);
      font-family: var(--font-mono);
      display: flex; align-items: center; gap: 6px;
    }

    .stat-value {
      font-size: 14px;
      font-weight: 500;
      line-height: 1.4;
      color: var(--text-main);
    }

    .main-grid {
      display: grid;
      grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
      gap: 30px;
    }
    aside {
    padding-top: 9px;
    }   
    .section-title {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-dim);
      font-weight: 700;
      margin: 0 0 20px 0;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .section-title i { font-size: 14px; }

    .section-title::after {
      content: "";
      height: 1px;
      flex: 1;
      background: var(--border);
    }

    .accordion {
      background: var(--surface-1);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      margin-bottom: 16px;
      overflow: hidden;
      transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }

    @media (hover: hover) and (pointer: fine) {
      .accordion:hover {
        border-color: var(--border-hover);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      }
    }

    .accordion summary {
      padding: 20px 24px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
      list-style: none;
    }

    .accordion summary::-webkit-details-marker { display: none; }

    .acc-header {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .acc-title { font-size: 16px; font-weight: 600; color: var(--text-main); }
    .acc-subtitle { font-size: 13px; color: var(--text-muted); }

    .acc-meta {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }

    .status-badge {
      font-size: 10px;
      font-family: var(--font-mono);
      padding: 4px 8px;
      border-radius: 6px;
      background: var(--brand-accent-dim);
      color: var(--brand-accent);
      font-weight: 600;
      text-transform: uppercase;
      border: 1px solid #3b81f72b;
      min-width: 84px;
      text-align: center;
      margin-left: -1px;
      margin-top: -1px;;
    }

    .acc-icon {
      color: var(--text-dim);
      font-weight: bold;
      transition: transform 0.2s;
    }

    details[open] .acc-icon { transform: rotate(180deg); }

    .acc-content {
      padding: 0 24px 24px;
      border-top: 1px solid var(--border);
      margin-top: -1px;
      padding-top: 20px;
      font-size: var(--text-sm);
      color: var(--text-muted);
    }
    .acc-content p {
      margin-top: 0;
    }
    .acc-content ul { padding-left: 20px; margin: 0; }
    .acc-content li { margin-bottom: 8px; }
    .acc-content li:last-child { margin-bottom: 0px; }
    .project-btn {
      margin-top: 26px;
    }
    .tag-cloud {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 20px;
    }
    .tag {
      font-size: 11px;
      padding: 6px 12px;
      border-radius: 99px;
      background: var(--surface-2);
      border: 1px solid var(--border);
      color: var(--text-muted);
      transition: background-color 0.2s, color 0.2s, border-color 0.2s;
      font-weight: 500;
    }

    @media (hover: hover) and (pointer: fine) {
      .tag:hover { background: var(--surface-3); color: var(--text-main); border-color: var(--text-dim); }
    }

    .gallery-section {
      width: 100%;
      overflow: hidden;
      position: relative;
      margin-bottom: 40px;
      margin-top: -6px;
    }

    .gallery-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
    }

    .gallery-nav { display: flex; gap: 8px; }

    .nav-btn {
      width: 32px; height: 32px;
      display: flex; align-items: center; justify-content: center;
      border: 1px solid var(--border);
      background: var(--surface-1);
      color: var(--text-muted);
      border-radius: 50%;
      cursor: pointer;
      transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
    }

    @media (hover: hover) and (pointer: fine) {
      .nav-btn:hover { background: var(--surface-2); color: var(--text-main); transform: scale(1.05); }
    }

    .slider-track {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      padding-bottom: 20px;
      scrollbar-width: none;
      -ms-overflow-style: none;
      padding-top: 5px;

    }
button#lbPrev {
    position: absolute;
    top: auto;
    bottom: 50%;
    left: 24px;
}
button#lbNext {
    position: absolute;
    top: auto;
    bottom: 50%;
    right: 24px;
}
button#lbPrev, button#lbNext {
background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    .slider-track::-webkit-scrollbar { display: none; }
    backdrop-filter: blur(11px);
}
    .slide-card {
      flex: 0 0 calc(50% - 10px);
      scroll-snap-align: start;
      border-radius: var(--radius);
      background: var(--surface-1);
      border: 1px solid var(--border);
      overflow: hidden;
      cursor: zoom-in;
      transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
      padding: 0;
    }

    @media (hover: hover) and (pointer: fine) {
      .slide-card:hover {
        transform: translateY(-4px);
        border-color: var(--brand-accent);
        box-shadow: 0px 5px 20px -14px rgba(0, 0, 0, 0.9);
      }
    }

    .slide-img-wrap {
      height: 240px;
      background: var(--surface-2);
      overflow: hidden;
      position: relative;
    }

    .slide-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
        object-position: top;
    }

    @media (hover: hover) and (pointer: fine) {
      .slide-card:hover img { transform: scale(1.05); }
    }

    .slide-img-wrap::after {
      content: "🔍";
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.3);
      display: flex; align-items: center; justify-content: center;
      font-size: 24px;
      opacity: 0;
      transition: opacity 0.3s;
    }

    @media (hover: hover) and (pointer: fine) {
      .slide-card:hover .slide-img-wrap::after { opacity: 1; }
    }

    .slide-info {
      padding: 16px;
      border-top: 1px solid var(--border);
    }

    .slide-title { font-size: 14px; font-weight: 600; color: var(--text-main); }

    .slide-meta {
      font-size: 11px;
      color: var(--text-dim);
      font-family: var(--font-mono);
      margin-top: 4px;
      text-transform: uppercase;
    }

    .sidebar-card {
      background: var(--surface-1);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px;
      margin-bottom: 24px;
    }

    .sidebar-card h3 {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text-muted);
      margin: 0 0 20px;
      display: flex; align-items: center; gap: 8px;
    }

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

    .info-item { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }

    .info-label { color: var(--text-dim); display: flex; align-items: center; gap: 6px; }

    .info-value { color: var(--text-main); font-weight: 500; text-align: right; }

    .info-value a { border-bottom: 1px solid var(--border); padding-bottom: 1px; }

    @media (hover: hover) and (pointer: fine) {
      .info-value a:hover { border-color: var(--brand-accent); color: var(--brand-accent); }
    }

    .tech-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .tech-grid .tag { font-size: 11px; padding: 4px 10px; }
/*
    .card {
      padding: 24px;
      background: var(--surface-1);
      border-radius: var(--radius);
      border: 1px solid var(--border);
    }
*/

    .card ul {
      margin-bottom: 24px;
    }


    .card ul li + li {
        margin-top: 12px;
      }

    #lightbox {
      position: fixed;
      inset: 0;
      z-index: 9999;
      background: rgba(3, 7, 18, 0.95);
      display: none;
      align-items: center;
      justify-content: center;
    }
      figcaption.lbCaption {
          display: none;
      }
     .lb-ui {
    width: 55vw;
    border-radius: 10px;
    overflow: hidden;
}
   figure.lbFigure {
    overflow-y: scroll;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}
    @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
      #lightbox { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
    }

    @media (hover: none), (max-width: 900px) {
      #lightbox { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
    }

    #lightbox.active { display: flex; animation: fadeUp 0.3s cubic-bezier(0.16, 1, 0.3, 1); backdrop-filter: blur(12px)!important; }

    #lightbox img {
      max-width: 100%;
      max-height: auto;
      border-radius: 8px;
      box-shadow: 0 0 50px rgba(0,0,0,0.5);
    }

    #lbClose {
      position: absolute;
      top: 24px; right: 24px;
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.1);
      color: white;
      width: 48px; height: 48px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 24px;
      display: flex; align-items: center; justify-content: center;
      transition: all 0.2s;
      backdrop-filter: blur(12px);
    }

    @media (hover: hover) and (pointer: fine) {
      #lbClose:hover, button#lbPrev:hover, button#lbNext:hover { background: white; color: black; }
    }

    @keyframes fadeUp { from { opacity: 0; } to { opacity: 1;  } }

    @media (max-width: 900px) {
      .main-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
      }

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

      .actions .btn span { display: none; }
      .actions .btn { padding: 8px; width: 36px; justify-content: center; }
    }
 .nodesktop {
    display: none;
  }
    @media (max-width: 600px) {
      .topbar {
        position: fixed;
        left: 24px;
        right: 24px;
        bottom: 20px;
        top: auto;
        padding: 6px;
        border-radius: 999px;
        background: rgba(24, 24, 27, 0.55);
      }
    .hero {
      margin-top: 0px;
    }
      .nodesktop {
    display: block;
  }

      .quick-stats { grid-template-columns: 1fr; }

      .slide-card { flex: 0 0 100%; }

      .wrap { padding-bottom: 120px; padding-top: 24px; }

      h1 { font-size: 2rem; }

      .accordion summary { 
      padding: 16px;
      flex-direction: column-reverse;
      }
      .acc-header {
        width: 100%;;
      }
      .acc-meta {
        width: 100%;
        justify-content: space-between;
      }
      .acc-content { padding: 16px; width:100%; }
      .acc-content p {
        margin-top: 0;
      }
      figure.lbFigure {
        text-align: center;
        margin: 0;
      }
      #lightbox.active {
    display: flex;
    animation: fadeUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    align-items: flex-start;
    padding-top: 8%;
    }
    .brand-text {
    margin-bottom: -2px;
    }
    .lb-ui {
    width: 85vw;
}
    }

    @media print {
      body { background: white; color: black; }
      .topbar, .gallery-section, .nav-btn, .actions { display: none; }
      .wrap { padding: 0; max-width: none; }
      .hero, .sidebar-card, .accordion, .card { border: none; box-shadow: none; padding: 0; margin-bottom: 20px; background: none; }
      .main-grid { display: block; }
      a { text-decoration: underline; color: black; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation: none !important;
        transition: none !important;
      }
    }
    /* Custom scrollbar — Lightbox figure (desktop only) */
@media (hover: hover) and (pointer: fine) {

  figure.lbFigure {
    overflow-y: auto;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: var(--surface-3) transparent;
  }

  /* WebKit browsers */
  figure.lbFigure::-webkit-scrollbar {
    width: 8px;
  }

  figure.lbFigure::-webkit-scrollbar-track {
    background: transparent;
  }

  figure.lbFigure::-webkit-scrollbar-thumb {
    background-color: var(--surface-3);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: background-color 0.2s ease;
  }

  figure.lbFigure::-webkit-scrollbar-thumb:hover {
    background-color: var(--brand-accent);
  }


  
}

