/* ============================================================
   JAKUB MYTYL PORTFOLIO — CLEANED STYLE.CSS
   ============================================================ */

/* ============================================================
   VARIABLES & RESET
   ============================================================ */
   :root {
    --accent: #a3e635;
    --accent-soft: rgba(163,230,53,.12);
    --accent-border: rgba(163,230,53,.22);
    --cyan: #a78bfa;
    --cyan-soft: rgba(167,139,250,.10);
    --cyan-border: rgba(167,139,250,.22);
    --green: #a3e635;
    --bg: #0b0b0c;
    --panel: rgba(20,20,23,.82);
    --panel-dark: rgba(14,14,17,.88);
    --border: rgba(255,255,255,.08);
    --border-gold: rgba(163,230,53,.18);
    --text: #f0f0f2;
    --muted: #b0b0b8;
    --muted2: #c4c4cc;
    --radius: 1.35rem;
    --radius-sm: .85rem;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
  }
  
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    scroll-behavior: smooth;
  }
  
  body {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    overflow-x: clip;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background:
      radial-gradient(ellipse at 12% 10%, rgba(163,230,53,.10) 0%, transparent 32%),
      radial-gradient(ellipse at 88% 20%, rgba(167,139,250,.07) 0%, transparent 30%),
      radial-gradient(ellipse at 50% 80%, rgba(163,230,53,.04) 0%, transparent 40%),
      linear-gradient(160deg, #090909 0%, #0f0f11 50%, #080808 100%);
  }
  
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 22px 22px;
  }
  
  body::after {
    content: "";
    position: fixed;
    inset: -20%;
    z-index: 0;
    pointer-events: none;
    filter: blur(28px);
    background:
      radial-gradient(circle at 18% 28%, rgba(163,230,53,.065), transparent 26%),
      radial-gradient(circle at 82% 65%, rgba(167,139,250,.05), transparent 28%);
    animation: ambientFloat 20s ease-in-out infinite alternate;
  }
  
  img, video, canvas, svg {
    max-width: 100%;
  }
  
  button, a {
    -webkit-tap-highlight-color: transparent;
  }
  
  a {
    color: inherit;
    text-decoration: none;
    transition: color .2s, opacity .2s;
  }
  
  p {
    font-weight: 400;
    letter-spacing: -.005em;
  }
  
  h1, h2, h3,
  .profile-name,
  .section-header h2,
  .proj-card h3,
  .tl-head h3 {
    font-family: var(--font-display);
    letter-spacing: -.02em;
  }
  
  .side-info a,
  .side-info span,
  .tl-company,
  .tl-body p,
  .proj-card p,
  .skill-name {
    line-height: 1.7;
  }
  
  /* ============================================================
     NAVIGATION
     ============================================================ */
  .topbar {
    position: sticky;
    top: 0;
    z-index: 200;
    width: 100%;
    max-width: 100%;
    background: rgba(9,9,10,.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    animation: navSlide .65s cubic-bezier(.2,.8,.2,1) both;
  }
  
  .nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: .75rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .nav-logo {
    margin-right: auto;
    flex-shrink: 0;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -.02em;
    border: 0;
    background: none;
    padding: 0;
    cursor: pointer;
  }
  
  .nav-logo-dot {
    color: var(--accent);
  }

  .nav-logo-img {
    display: block;
    height: 26px;
    width: auto;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: .25rem;
    list-style: none;
  }
  
  .nav-links a {
    padding: .42rem .78rem;
    border-radius: 999px;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .01em;
    transition: color .2s, background .2s;
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--accent);
    background: var(--accent-soft);
  }
  
  .nav-links a.nav-cta {
    padding: .42rem .95rem;
    color: #111;
    background: var(--accent);
    font-weight: 800;
  }
  
  .nav-links a.nav-cta:hover {
    color: #000;
    background: #bef264;
  }
  
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    padding: .4rem;
    border: 0;
    background: none;
    cursor: pointer;
  }
  
  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--muted2);
    transition: transform .3s, opacity .3s;
  }
  
  .hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  /* ============================================================
     MAIN LAYOUT
     ============================================================ */
  .page-shell {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1.75rem 4rem;
  }
  
  .app-layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: stretch;
  }
  
  .content-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  
  /* ============================================================
     SIDEBAR
     ============================================================ */
  /* sidebar outer — transparent stretch container */
  .sidebar {
    align-self: stretch;
    max-width: 100%;
  }

  /* sidebar inner — visual card + sticky behavior */
  .sidebar-inner {
    position: sticky;
    top: 5.5rem;
    display: flex;
    flex-direction: column;
    padding: 1.6rem 1.3rem 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: 0 24px 72px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.04);
    animation: sidebarIn .7s cubic-bezier(.2,.8,.2,1) .1s both;
  }

  .sidebar-inner::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -30%;
    width: 120%;
    height: 80%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(163,230,53,.07), transparent 65%);
  }
  
  .avatar-wrap {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 1.1rem;
  }
  
  .avatar-ring {
    position: absolute;
    inset: -5px;
    overflow: hidden;
    border-radius: 1.65rem;
    opacity: .75;
    background: conic-gradient(from 200deg, var(--accent), var(--cyan), var(--green), var(--accent));
  }
  
  .avatar-ring::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(115deg, transparent 15%, rgba(255,255,255,.92) 45%, rgba(255,255,255,.98) 50%, rgba(255,255,255,.92) 55%, transparent 85%);
    transform: translateX(-140%);
    animation: avatarShimmer 2.4s ease-in-out infinite;
  }
  
  .avatar-ring::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 1.35rem;
    background: var(--bg);
  }
  
  .avatar {
    position: relative;
    z-index: 2;
    width: 110px;
    height: 110px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 1.45rem;
    background: #18181b;
  }
  
  .avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .profile {
    text-align: center;
  }
  
  .profile-name {
    margin-bottom: .55rem;
    color: #fff;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e2 50%, rgba(163,230,53,.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.03em;
  }
  
  .profile-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .32rem .85rem;
    border: 1px solid var(--accent-border);
    border-radius: 999px;
    color: var(--accent);
    background: var(--accent-soft);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    box-shadow: 0 0 18px rgba(163,230,53,.08);
  }

  .profile-badge::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: .75;
  }
  
  .divider {
    height: 1px;
    margin: 1.2rem 0;
    background: var(--border);
  }

  .sidebar-spacer {
    margin-top: auto;
    margin-bottom: 1rem;
  }
  
  .side-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .55rem;
  }

  .side-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: .75rem;
    align-items: center;
    padding: .4rem .35rem;
    border-radius: .75rem;
    transition: background .2s;
  }

  .side-item:hover {
    background: rgba(255,255,255,.035);
  }

  .side-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 1px solid var(--border);
    border-radius: .75rem;
    color: var(--accent);
    background: rgba(255,255,255,.04);
    font-size: 1rem;
    transition: border-color .22s, box-shadow .22s, background .22s;
  }

  .side-icon svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .side-item:hover .side-icon {
    border-color: var(--accent-border);
    background: var(--accent-soft);
    box-shadow: 0 0 16px rgba(163,230,53,.12);
  }

  .side-info small {
    display: block;
    margin-bottom: .1rem;
    color: var(--muted);
    font-size: .63rem;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
  }

  .side-info a,
  .side-info span,
  .copy-email {
    max-width: 100%;
    overflow-wrap: anywhere;
    color: var(--text);
    font-size: .86rem;
    font-weight: 500;
  }

  .side-info a:hover,
  .copy-email:hover {
    color: var(--accent);
  }

  .copy-email {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    cursor: pointer;
    text-align: left;
  }

  /* ── STATUS CHIP ── */
  .sidebar-status {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem .85rem;
    border: 1px solid rgba(163,230,53,.22);
    border-radius: 999px;
    background: rgba(163,230,53,.07);
    color: var(--green);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .02em;
    cursor: default;
    transition: background .2s, border-color .2s;
  }

  .sidebar-status:hover {
    background: rgba(163,230,53,.12);
    border-color: rgba(163,230,53,.35);
  }

  .status-dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 3px rgba(163,230,53,.22);
    animation: pulse 2.5s ease-in-out infinite;
  }
  
  /* ============================================================
     SECTIONS
     ============================================================ */
  .section {
    position: relative;
    max-width: 100%;
    margin-bottom: 1.5rem;
    padding: 2.5rem 2rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: 0 18px 52px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.035);
  }
  
  .section-header {
    margin-bottom: 1.75rem;
  }
  
  .kicker {
    display: block;
    margin-bottom: .4rem;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .08em;
  }
  
  .section-header h2 {
    letter-spacing: -.03em;
    color: #fff;
    background: linear-gradient(135deg, #ffffff 0%, #e8e8ea 40%, rgba(163,230,53,.88) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.1;
    overflow-wrap: anywhere;
  }
  
  /* ============================================================
     ABOUT
     ============================================================ */
  .about-section {
    position: relative;
  }
  
  .about-lead {
    position: relative;
    z-index: 1;
    max-width: 100%;
    padding: 1.25rem 1.35rem;
    margin-bottom: .75rem;
    overflow: hidden;
    border: 1px solid rgba(163,230,53,.16);
    border-radius: var(--radius-sm);
    background:
      radial-gradient(circle at 0% 0%, rgba(163,230,53,.09), transparent 48%),
      radial-gradient(circle at 100% 80%, rgba(167,139,250,.06), transparent 52%),
      rgba(255,255,255,.025);
  }
  
  .about-lead::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent, rgba(255,255,255,.04), transparent);
    transform: translateX(-120%);
    animation: aboutSweep 7s ease-in-out infinite;
    pointer-events: none;
  }
  
  .about-lead-small,
  .about-lead > strong,
  .about-lead > p {
    position: relative;
    z-index: 1;
  }
  
  .about-lead-small {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .55rem;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .about-lead-small::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 2px rgba(163,230,53,.22);
    animation: pulse 2.5s ease-in-out infinite;
  }
  
  .about-lead > strong {
    display: block;
    max-width: 820px;
    margin-bottom: .65rem;
    color: #fff;
    background: linear-gradient(135deg, #ffffff 0%, #e8e8ea 45%, rgba(163,230,53,.88) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.045em;
  }
  
  .about-lead > p {
    max-width: 820px;
    margin: 0;
    color: var(--muted2);
    font-size: clamp(.98rem, 1.4vw, 1.12rem);
    line-height: 1.65;
  }
  
  .about-lead + br {
    display: none;
  }
  
  .stats-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(167,139,250,.16);
    border-radius: var(--radius-sm);
    background:
      radial-gradient(circle at 100% 0%, rgba(167,139,250,.08), transparent 45%),
      rgba(14,14,17,.72);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 18px 50px rgba(0,0,0,.16);
  }
  
  .stat-item {
    min-width: 0;
    text-align: center;
  }
  
  .stat-num,
  .stat-suffix {
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
  }
  
  .stat-suffix {
    color: var(--accent);
  }
  
  .stat-label {
    display: block;
    margin-top: .4rem;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
  }
  
  .stat-divider {
    width: 1px;
    min-height: 56px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,.12), transparent);
  }
  
  .about-areas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
  }
  
  .area-item {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: .9rem;
    padding: 1.05rem;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.018));
    transition: transform .25s, border-color .25s, background .25s;
  }

  .area-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    background: linear-gradient(90deg, var(--accent), rgba(163,230,53,.15));
    opacity: .35;
    transition: opacity .25s;
  }

  .area-item:hover::before { opacity: 1; }

  /* CRM — cyan */
  .about-areas .area-item:nth-child(2)::before {
    background: linear-gradient(90deg, var(--cyan), rgba(167,139,250,.15));
  }

  /* DEV — green */
  .about-areas .area-item:nth-child(3)::before {
    background: linear-gradient(90deg, var(--green), rgba(163,230,53,.15));
  }

  .area-item:hover {
    transform: translateY(-4px);
    border-color: rgba(163,230,53,.24);
    background:
      radial-gradient(circle at 0% 0%, rgba(163,230,53,.075), transparent 55%),
      rgba(255,255,255,.035);
  }

  /* Hover per kolor */
  .about-areas .area-item:nth-child(2):hover {
    border-color: rgba(167,139,250,.26);
    background:
      radial-gradient(circle at 0% 0%, rgba(167,139,250,.065), transparent 55%),
      rgba(255,255,255,.035);
  }

  .about-areas .area-item:nth-child(3):hover {
    border-color: rgba(163,230,53,.26);
    background:
      radial-gradient(circle at 0% 0%, rgba(163,230,53,.06), transparent 55%),
      rgba(255,255,255,.035);
  }
  
  .area-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(163,230,53,.22);
    border-radius: 14px;
    color: var(--accent);
    background: rgba(163,230,53,.08);
    box-shadow: 0 0 18px rgba(163,230,53,.08);
    font-family: var(--font-mono);
    font-size: .7rem;
    font-weight: 900;
  }
  
  /* Ikona CRM — cyan */
  .about-areas .area-item:nth-child(2) .area-icon {
    color: var(--cyan);
    border-color: var(--cyan-border);
    background: var(--cyan-soft);
    box-shadow: 0 0 18px rgba(167,139,250,.08);
  }

  /* Ikona DEV — green */
  .about-areas .area-item:nth-child(3) .area-icon {
    color: var(--green);
    border-color: rgba(163,230,53,.25);
    background: rgba(163,230,53,.1);
    box-shadow: 0 0 18px rgba(163,230,53,.08);
  }

  .area-item strong {
    display: block;
    margin-bottom: .35rem;
    color: #fff;
    font-size: .95rem;
  }
  
  .area-item p {
    margin: 0;
    color: var(--muted2);
    font-size: .82rem;
    line-height: 1.62;
  }

  /* career goal callout */
  .career-goal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem .75rem;
    margin-top: 1rem;
    padding: .7rem 1rem;
    border: 1px solid rgba(163,230,53,.2);
    border-radius: .8rem;
    background: rgba(163,230,53,.04);
    font-family: var(--font-mono);
    font-size: .76rem;
    color: var(--text-muted);
    line-height: 1.5;
  }

  .career-goal-label {
    color: var(--accent);
    font-weight: 700;
    font-size: .64rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  /* about CTA buttons */
  .about-cta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.5rem;
  }

  .cta-btn {
    display: inline-flex;
    align-items: center;
    padding: .72rem 1.4rem;
    border-radius: .75rem;
    font-family: var(--font-mono);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
    transition: transform .2s, background .2s, border-color .2s, color .2s, box-shadow .2s;
    cursor: pointer;
  }

  .cta-btn-primary {
    background: var(--accent);
    color: #000;
    border: 1px solid transparent;
  }

  .cta-btn-primary:hover {
    background: #ffd84d;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(163,230,53,.28);
  }

  .cta-btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
  }

  .cta-btn-secondary:hover {
    border-color: rgba(163,230,53,.4);
    color: var(--accent);
    transform: translateY(-2px);
  }

  /* ============================================================
     SKILLS
     ============================================================ */
  .skills-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 2rem;
    align-items: start;
  }
  
  .skills-bars {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
  }
  
  .skill-item {
    position: relative;
    padding: .15rem 0;
  }
  
  .skill-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    margin-bottom: .55rem;
  }
  
  .skill-name {
    min-width: 0;
    color: var(--muted2);
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .01em;
  }
  
  .skill-val {
    padding: .18rem .58rem;
    border: 1px solid rgba(163,230,53,.28);
    border-radius: 999px;
    color: var(--accent);
    background: linear-gradient(180deg, rgba(163,230,53,.16), rgba(163,230,53,.07));
    box-shadow: 0 0 14px rgba(163,230,53,.06);
    font-family: var(--font-mono);
    font-size: .66rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .08em;
    white-space: nowrap;
  }
  
  .skill-track {
    position: relative;
    width: 100%;
    height: 9px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
    box-shadow: inset 0 1px 2px rgba(0,0,0,.45);
  }
  
  .skill-fill {
    position: relative;
    width: 0;
    min-width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--c1), var(--c2));
    box-shadow: 0 0 18px color-mix(in srgb, var(--c1) 38%, transparent);
    transition: width 1.15s cubic-bezier(.2,.8,.2,1);
  }
  
  .skill-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.38) 50%, transparent 100%);
    transform: translateX(-110%);
    animation: barShine 2.5s ease-in-out infinite 1.15s;
  }
  
  .skill-fill::before {
    content: "";
    position: absolute;
    right: 3px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    opacity: 0;
    background: rgba(255,255,255,.86);
    box-shadow: 0 0 8px rgba(255,255,255,.35);
    transform: translateY(-50%);
    transition: opacity .3s .75s;
  }
  
  .skill-fill.animated::before {
    opacity: 1;
  }
  
  .tools-panel {
    padding: 1.3rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--panel-dark);
  }
  
  .chip-cloud,
  .tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
  }
  
  .chip,
  .tag {
    max-width: 100%;
    border-radius: 999px;
    font-weight: 600;
    transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
  }
  
  .chip {
    padding: .3rem .65rem;
    border: 1px solid rgba(255,255,255,.1);
    color: var(--muted2);
    background: rgba(255,255,255,.05);
    font-size: .73rem;
    cursor: default;
  }
  
  .chip:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,.2);
    background: rgba(255,255,255,.09);
  }
  
  .gold-chip,
  .tag {
    color: #d9f99d;
    border: 1px solid var(--accent-border);
    background: var(--accent-soft);
  }

  .tag {
    font-family: var(--font-mono);
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .01em;
  }

  .gold-chip:hover,
  .tag:hover {
    transform: translateY(-2px);
    border-color: rgba(163,230,53,.38);
    background: rgba(163,230,53,.18);
    box-shadow: 0 0 14px rgba(163,230,53,.1);
  }

  .chip-react {
    color: #7dd3fc;
    border: 1px solid rgba(125,211,252,.28);
    background: rgba(125,211,252,.08);
  }

  .chip-react:hover {
    border-color: rgba(125,211,252,.45);
    background: rgba(125,211,252,.14);
    box-shadow: 0 0 12px rgba(125,211,252,.1);
  }

  .chip-supabase {
    color: #86efac;
    border: 1px solid rgba(134,239,172,.28);
    background: rgba(134,239,172,.08);
  }

  .chip-supabase:hover {
    border-color: rgba(134,239,172,.45);
    background: rgba(134,239,172,.14);
    box-shadow: 0 0 12px rgba(134,239,172,.1);
  }
  
  /* ============================================================
     SKILL CARDS GRID
     ============================================================ */
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .skill-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .65rem;
    padding: 1.35rem;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    background: var(--panel-dark);
    transition: transform .28s, border-color .28s, box-shadow .28s;
    will-change: transform;
  }

  .skill-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 0% 0%, rgba(163,230,53,.08), transparent 60%);
    opacity: 0;
    transition: opacity .28s;
  }

  .skill-card:hover {
    transform: translateY(-5px);
    border-color: rgba(163,230,53,.32);
    box-shadow: 0 20px 50px rgba(0,0,0,.28), 0 0 28px rgba(163,230,53,.07), inset 0 1px 0 rgba(163,230,53,.28);
  }

  .skill-card:hover::before { opacity: 1; }

  .skill-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
  }

  .skill-abbr {
    color: rgba(255,255,255,.14);
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: .12em;
  }

  .skill-level {
    padding: .22rem .65rem;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: .63rem;
    font-weight: 800;
    letter-spacing: .09em;
    white-space: nowrap;
  }

  .badge-gold   { color: var(--accent); border: 1px solid var(--accent-border); background: var(--accent-soft); }
  .badge-cyan   { color: var(--cyan);   border: 1px solid var(--cyan-border);   background: var(--cyan-soft); }
  .badge-green  { color: var(--green);  border: 1px solid rgba(163,230,53,.25); background: rgba(163,230,53,.1); }
  .badge-orange { color: #fb923c;       border: 1px solid rgba(251,146,60,.3);   background: rgba(251,146,60,.1); }
  .badge-muted  { color: var(--muted);  border: 1px solid rgba(255,255,255,.1);  background: rgba(255,255,255,.05); }

  .skill-card h3 {
    color: #fff;
    font-family: var(--font-display);
    font-size: .97rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.02em;
  }

  .skill-card p {
    flex: 1;
    margin: 0;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.62;
  }

  .skill-dots {
    display: flex;
    gap: .32rem;
    margin-top: .2rem;
  }

  .dot {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.07);
  }

  .dot.on {
    background: var(--accent);
    border-color: rgba(163,230,53,.4);
    box-shadow: 0 0 5px rgba(163,230,53,.5);
    transition: box-shadow .25s;
  }

  .skill-card:hover .dot.on {
    box-shadow: 0 0 9px rgba(163,230,53,.8), 0 0 16px rgba(163,230,53,.3);
  }

  /* ============================================================
     CURRENTLY LEARNING
     ============================================================ */
  .learning-panel {
    position: relative;
    margin-top: 2rem;
    padding: 1.4rem;
    overflow: hidden;
    border: 1px solid rgba(167,139,250,.18);
    border-radius: var(--radius-sm);
    background:
      radial-gradient(circle at 0% 0%, rgba(167,139,250,.08), transparent 55%),
      rgba(14,14,17,.78);
    box-shadow: 0 18px 52px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.035);
  }
  
  .learning-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent, rgba(255,255,255,.035), transparent);
    transform: translateX(-120%);
    animation: learningSweep 6s ease-in-out infinite;
  }
  
  .learning-panel h3,
  .learning-panel > p,
  .learning-grid {
    position: relative;
    z-index: 1;
  }
  
  .learning-panel h3 {
    margin-bottom: .55rem;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.1;
    letter-spacing: -.03em;
  }
  
  .learning-panel > p {
    max-width: 780px;
    margin-bottom: 1.2rem;
    color: var(--muted2);
    font-size: .9rem;
    line-height: 1.7;
  }
  
  .learning-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
  }
  
  .learning-item {
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: .95rem;
    background: rgba(255,255,255,.035);
    transition: transform .25s, border-color .25s, background .25s;
  }
  
  .learning-item:hover {
    transform: translateY(-4px);
    border-color: rgba(167,139,250,.28);
    background: rgba(167,139,250,.055);
  }
  
  .learning-item span {
    display: block;
    margin-bottom: .55rem;
    color: rgba(167,139,250,.75);
    font-family: var(--font-mono);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
  }
  
  .learning-item strong {
    display: block;
    margin-bottom: .35rem;
    color: #fff;
    font-size: .92rem;
  }
  
  .learning-item p {
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.55;
  }
  
  /* ============================================================
     RESUME / TIMELINE
     ============================================================ */
  .timeline-col {
    display: flex;
    flex-direction: column;
  }
  
  .tl-group-label {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.25rem;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .tl-group-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(163,230,53,.22), transparent);
  }

  .tl-group-label.cyan-label {
    color: var(--cyan);
  }

  .tl-group-label.cyan-label::after {
    background: linear-gradient(90deg, rgba(167,139,250,.22), transparent);
  }
  
  .tl-item {
    position: relative;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 1rem;
    margin-bottom: 1.25rem;
  }
  
  .tl-item:not(:last-of-type)::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 20px;
    bottom: -1.25rem;
    width: 1px;
    background: linear-gradient(to bottom, rgba(163,230,53,.3), transparent);
  }
  
  .tl-dot {
    position: relative;
    z-index: 1;
    width: 18px;
    height: 18px;
    margin-top: 1.1rem;
    flex-shrink: 0;
    border-radius: 50%;
  }
  
  .gold-dot {
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(163,230,53,.15), 0 0 16px rgba(163,230,53,.4);
  }
  
  .cyan-dot {
    background: var(--cyan);
    box-shadow: 0 0 0 4px rgba(167,139,250,.12), 0 0 16px rgba(167,139,250,.35);
  }
  
  .tl-body {
    position: relative;
    overflow: hidden;
    padding: 1.3rem 1.4rem 1.3rem 1.65rem;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    background: var(--panel-dark);
    transition: transform .28s, box-shadow .28s;
  }

  .tl-body::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 2px 0 0 2px;
    background: linear-gradient(to bottom, var(--accent), rgba(163,230,53,.15));
    transition: background .28s;
  }

  .cyan-glass::before {
    background: linear-gradient(to bottom, var(--cyan), rgba(167,139,250,.12));
  }

  .tl-body:hover {
    transform: translateX(4px);
    box-shadow: 0 12px 36px rgba(0,0,0,.28), inset 0 1px 0 rgba(163,230,53,.18);
  }

  .cyan-glass:hover {
    transform: translateX(4px);
    box-shadow: 0 12px 36px rgba(0,0,0,.28), inset 0 1px 0 rgba(167,139,250,.18);
  }

  .tl-body:hover::before {
    background: linear-gradient(to bottom, var(--accent), rgba(163,230,53,.32));
  }

  .cyan-glass:hover::before {
    background: linear-gradient(to bottom, var(--cyan), rgba(167,139,250,.28));
  }
  
  .cyan-glass {
    border-color: var(--cyan-border);
  }
  
  .tl-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .55rem;
  }
  
  .tl-head h3 {
    margin-bottom: .25rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    overflow-wrap: anywhere;
    letter-spacing: -.01em;
  }

  .tl-company {
    display: block;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .005em;
  }
  
  .tl-date {
    flex-shrink: 0;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .28rem .65rem;
    border: 1px solid var(--accent-border);
    border-radius: 999px;
    color: var(--accent);
    background: var(--accent-soft);
    font-family: var(--font-mono);
    font-size: .66rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: .03em;
  }

  .tl-now-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 5px rgba(163,230,53,.8);
    animation: pulse 2.5s ease-in-out infinite;
  }

  .cyan-glass .tl-now-dot {
    background: var(--cyan);
    box-shadow: 0 0 5px rgba(167,139,250,.8);
  }

  .cyan-glass .tl-date {
    color: var(--cyan);
    border-color: var(--cyan-border);
    background: var(--cyan-soft);
  }
  
  .tl-body p {
    margin-bottom: .75rem;
    color: var(--muted2);
    font-size: .87rem;
    line-height: 1.68;
  }
  
  .tag {
    padding: .25rem .55rem;
    font-size: .72rem;
  }
  
  .cyan-tag {
    color: #c4b5fd;
    border-color: var(--cyan-border);
    background: var(--cyan-soft);
  }
  
  .cyan-tag:hover {
    background: rgba(167,139,250,.18);
  }
  
  /* ============================================================
     PROJECTS
     ============================================================ */
  .project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .proj-divider {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem 0 .2rem;
  }

  .proj-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(163,230,53,.18), transparent);
  }

  .proj-divider:first-child {
    padding-top: 0;
  }

  .proj-divider-label {
    font-family: var(--font-mono);
    font-size: .68rem;
    color: var(--muted);
    letter-spacing: .08em;
    white-space: nowrap;
  }

  .proj-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1.4rem;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    background: var(--panel-dark);
    transition: transform .28s, border-color .28s, box-shadow .28s;
    will-change: transform;
  }
  
  .proj-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(circle at 8% 0%, rgba(163,230,53,.09), transparent 55%),
      radial-gradient(circle at 95% 100%, rgba(167,139,250,.05), transparent 55%);
  }
  
  .proj-card::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -80%;
    width: 40%;
    height: 180%;
    pointer-events: none;
    background: linear-gradient(115deg, transparent, rgba(255,255,255,.07), transparent);
    transform: rotate(8deg);
    transition: left .65s ease;
  }
  
  .proj-card:hover {
    transform: translateY(-6px);
    border-color: rgba(163,230,53,.36);
    box-shadow: 0 24px 60px rgba(0,0,0,.3), 0 0 36px rgba(163,230,53,.08), inset 0 1px 0 rgba(163,230,53,.22);
  }
  
  .proj-card:hover::after {
    left: 130%;
  }
  
  .featured-card {
    grid-column: span 2;
    border-color: rgba(163,230,53,.26);
    border-top: 2px solid rgba(163,230,53,.48);
    background: linear-gradient(135deg, rgba(20,20,23,.95), rgba(14,14,17,.98));
  }

  .featured-card:hover {
    border-top-color: rgba(163,230,53,.72);
  }
  
  .proj-meta,
  .proj-card h3,
  .proj-card p,
  .project-details,
  .proj-card .tag-row,
  .proj-card .proj-link {
    position: relative;
    z-index: 1;
  }
  
  .proj-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
  }
  
  .proj-num {
    color: rgba(255,255,255,.28);
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
  }
  
  .proj-type {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
  }
  
  .proj-status {
    margin-left: auto;
    padding: .22rem .6rem;
    border-radius: 999px;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  
  .s-live {
    color: var(--green);
    border: 1px solid rgba(163,230,53,.25);
    background: rgba(163,230,53,.12);
  }
  
  .s-wip {
    color: var(--cyan);
    border: 1px solid var(--cyan-border);
    background: var(--cyan-soft);
  }
  
  .s-concept {
    color: var(--muted);
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.05);
  }
  
  .proj-card h3 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    overflow-wrap: anywhere;
  }
  
  .proj-card p {
    color: var(--muted2);
    font-size: .87rem;
    line-height: 1.68;
  }
  
  .project-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin: .25rem 0 .15rem;
  }
  
  .compact-details {
    grid-template-columns: 1fr;
  }
  
  .project-details div {
    padding: .85rem;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: .9rem;
    background: rgba(255,255,255,.035);
  }
  
  .project-details span {
    display: block;
    margin-bottom: .35rem;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
  }
  
  .project-details p {
    margin: 0;
    color: var(--muted2);
    font-size: .78rem;
    line-height: 1.55;
  }
  
  .proj-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: auto;
    color: var(--accent);
    font-size: .85rem;
    font-weight: 700;
    transition: gap .2s, color .2s;
  }
  
  .proj-link:hover {
    gap: .65rem;
    color: #bef264;
  }
  
  .link-arr {
    transition: transform .2s;
  }
  
  .proj-link:hover .link-arr,
  .github-link:hover .link-arr {
    transform: translateX(3px);
  }
  
  .projects-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding: 1.2rem 1.5rem;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,.025);
  }
  
  .projects-footer .kicker {
    flex-shrink: 0;
  }
  
  .projects-footer p {
    flex: 1;
    min-width: 160px;
    margin: 0;
    color: var(--muted);
    font-size: .85rem;
  }
  
  .github-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: .55rem;
    padding: .5rem 1rem;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    color: var(--muted2);
    font-family: var(--font-mono);
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
    transition: color .2s, border-color .2s, background .2s, transform .2s;
  }
  
  .github-link:hover {
    transform: translateY(-2px);
    color: var(--accent);
    border-color: rgba(163,230,53,.3);
    background: rgba(163,230,53,.06);
  }
  
  .github-icon {
    display: inline-flex;
    align-items: center;
    color: inherit;
    opacity: .7;
  }

  .github-icon svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }
  
  /* ============================================================
     FEATURED CARD LAYOUT
     ============================================================ */
  .featured-card h3 {
    font-size: 1.5rem;
  }

  .featured-body {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
  }

  .featured-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
  }

  .featured-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: .1rem;
  }

  .proj-link-big {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .78rem 1.35rem;
    border: 1px solid rgba(163,230,53,.38);
    border-radius: 999px;
    color: #111;
    background: var(--accent);
    font-family: var(--font-display);
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background .2s, border-color .2s, transform .2s, box-shadow .2s, gap .2s;
  }

  .proj-link-big:hover {
    background: #bef264;
    border-color: rgba(163,230,53,.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(163,230,53,.22);
    gap: .8rem;
  }

  .proj-link-big .link-arr {
    transition: transform .2s;
  }

  .proj-link-big:hover .link-arr {
    transform: translateX(3px);
  }

  /* Ghost number decoration */
  .proj-ghost-num {
    position: absolute;
    right: .8rem;
    bottom: -.08em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255,255,255,.09);
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.05em;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    transition: -webkit-text-stroke-color .28s, transform .28s;
  }

  .proj-card:hover .proj-ghost-num {
    -webkit-text-stroke-color: rgba(163,230,53,.28);
    transform: translateX(-4px);
  }

  /* ============================================================
     CONTACT
     ============================================================ */
  .contact-section {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto 4rem;
    padding: 0 1.75rem;
  }
  
  .contact-inner {
    position: relative;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    max-width: 100%;
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3rem);
    overflow: hidden;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: 0 24px 72px rgba(0,0,0,.28);
  }

  .contact-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(circle at 20% 0%,  rgba(163,230,53,.10), transparent 55%),
      radial-gradient(circle at 85% 90%, rgba(167,139,250,.07),  transparent 50%);
  }

  /* ── LEFT COLUMN ── */
  .contact-left {
    flex: 1;
    position: relative;
    z-index: 1;
    min-width: 0;
  }

  .contact-left .kicker { margin-bottom: .5rem; }

  .contact-inner h2 {
    margin-bottom: .65rem;
    background: linear-gradient(135deg, #ffffff 0%, #e8e8ea 40%, rgba(163,230,53,.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.045em;
  }

  .contact-left > p {
    margin-bottom: 1.6rem;
    color: var(--muted2);
    line-height: 1.7;
    font-size: .98rem;
  }

  /* ── TERMINAL WIDGET ── */
  .contact-terminal {
    padding: 1rem 1.25rem;
    border: 1px solid var(--cyan-border);
    border-radius: var(--radius-sm);
    background: rgba(8,8,11,.78);
    font-family: var(--font-mono);
    font-size: .78rem;
    line-height: 2;
    color: var(--muted);
  }

  .contact-terminal > div { white-space: nowrap; }
  .ct-key   { color: var(--accent); }
  .ct-green { color: var(--green); }
  .ct-val   { color: var(--muted2); }

  .ct-cursor {
    display: inline-block;
    color: var(--accent);
    animation: termBlink .85s step-end infinite;
  }

  @keyframes termBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
  }

  /* ── RIGHT COLUMN ── */
  .contact-right {
    flex: 0 0 310px;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    position: relative;
    z-index: 1;
  }

  .contact-card-link {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .9rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,.025);
    text-decoration: none;
    color: var(--text);
    transition: border-color .22s, background .22s, transform .22s;
  }

  .contact-card-link:hover {
    border-color: var(--border-gold);
    background: rgba(163,230,53,.07);
    transform: translateX(5px);
    box-shadow: inset 0 1px 0 rgba(163,230,53,.18);
  }

  .contact-card-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: .65rem;
    border: 1px solid var(--border-gold);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 1.15rem;
    transition: background .22s, box-shadow .22s;
  }

  .contact-card-icon svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .contact-card-link:hover .contact-card-icon {
    background: rgba(163,230,53,.18);
    box-shadow: 0 0 18px rgba(163,230,53,.22);
  }

  .contact-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 0;
  }

  .contact-card-label {
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .contact-card-value {
    font-size: .85rem;
    color: var(--muted2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .contact-card-arr {
    flex-shrink: 0;
    color: var(--muted);
    font-size: 1rem;
    transition: color .22s, transform .22s;
  }

  .contact-card-link:hover .contact-card-arr {
    color: var(--accent);
    transform: translateX(3px);
  }
  
  /* ============================================================
     FOOTER
     ============================================================ */
  .footer {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1.75rem 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
    font-size: .8rem;
  }

  /* gradient separator */
  .footer::before {
    content: "";
    position: absolute;
    top: 0; left: 1.75rem; right: 1.75rem;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      var(--accent-border) 25%,
      var(--cyan-border) 60%,
      transparent 100%
    );
  }

  /* center group */
  .footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    text-align: center;
  }

  .footer-tagline {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: .7rem;
    font-weight: 400;
    letter-spacing: .04em;
    opacity: .8;
  }

  .footer-copy {
    color: var(--muted);
    font-size: .78rem;
  }

  /* right nav */
  .footer-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }

  .footer-nav a {
    color: var(--muted);
    font-size: .8rem;
    transition: color .2s;
  }

  .footer-nav a:hover {
    color: var(--accent);
  }
  
  .footer-egg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
  }
  
  .egg-icon {
    position: relative;
    display: block;
    width: 20px;
    height: 27px;
    border-radius: 55% 55% 48% 48%;
    background: linear-gradient(135deg, #a3e635, #bef264);
    box-shadow: 0 0 18px rgba(163,230,53,.35);
    transform: rotate(-8deg);
    transition: transform .25s, box-shadow .25s;
  }
  
  .egg-icon::before {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    top: 8px;
    height: 3px;
    border-radius: 999px;
    background: rgba(17,17,17,.35);
    box-shadow: 0 6px 0 rgba(17,17,17,.25), 0 12px 0 rgba(17,17,17,.18);
  }
  
  .footer-egg:hover .egg-icon {
    transform: translateY(-3px) rotate(8deg);
    box-shadow: 0 0 28px rgba(163,230,53,.55);
  }
  
  /* ============================================================
     EASTER EGGS PAGE
     ============================================================ */
  .egg-body {
    overflow-x: hidden;
  }
  
  .egg-page {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.75rem;
  }
  
  .egg-hero {
    position: relative;
    min-height: 52vh;
    display: grid;
    align-content: center;
    justify-items: center;
    padding: clamp(2rem, 6vw, 4rem);
    overflow: hidden;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    background:
      radial-gradient(circle at 50% 0%, rgba(163,230,53,.12), transparent 55%),
      radial-gradient(circle at 90% 80%, rgba(167,139,250,.08), transparent 45%),
      var(--panel);
    box-shadow: 0 28px 90px rgba(0,0,0,.35);
    text-align: center;
  }
  
  .egg-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.035), transparent);
    transform: translateX(-120%);
    animation: eggSweep 5s ease-in-out infinite;
  }
  
  .egg-hero h1 {
    margin-bottom: 1.2rem;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 7rem);
    line-height: .9;
    letter-spacing: -.07em;
    text-shadow: 0 0 36px rgba(163,230,53,.14);
  }
  
  .egg-hero p {
    max-width: 720px;
    color: var(--muted2);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.75;
  }
  
  .egg-terminal {
    width: min(520px, 100%);
    margin-top: 2rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(167,139,250,.22);
    border-radius: var(--radius-sm);
    background: rgba(5,10,12,.7);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
    color: rgba(217,251,255,.82);
    font-family: var(--font-mono);
    font-size: .78rem;
    line-height: 2;
    text-align: left;
  }
  
  .egg-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
  }
  
  .egg-card {
    position: relative;
    padding: 1.6rem;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: 0 18px 52px rgba(0,0,0,.22);
    transition: transform .28s, border-color .28s, box-shadow .28s;
  }
  
  .egg-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(circle at 0% 0%, rgba(163,230,53,.09), transparent 55%),
      radial-gradient(circle at 100% 100%, rgba(167,139,250,.055), transparent 55%);
  }
  
  .egg-card:hover {
    transform: translateY(-5px);
    border-color: rgba(163,230,53,.38);
    box-shadow: 0 24px 70px rgba(0,0,0,.32), 0 0 30px rgba(163,230,53,.06);
  }
  
  .egg-card-wide {
    grid-column: span 2;
  }
  
  .egg-card-top,
  .egg-card h2,
  .egg-card p,
  .egg-card code {
    position: relative;
    z-index: 1;
  }
  
  .egg-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  /* .egg-card-top span is now .egg-num-badge — styled above */

  .egg-card-top small {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  
  .egg-card h2 {
    margin-bottom: .75rem;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.55rem;
    line-height: 1.1;
  }
  
  .egg-card p {
    margin-bottom: 1.1rem;
    color: var(--muted2);
    font-size: .92rem;
    line-height: 1.75;
  }
  
  .egg-card strong {
    color: var(--accent);
  }
  
  .egg-card code {
    display: inline-flex;
    padding: .55rem .85rem;
    border-radius: 999px;
    color: #111;
    background: var(--accent);
    box-shadow: 0 0 24px rgba(163,230,53,.18);
    font-family: var(--font-mono);
    font-size: .82rem;
    font-weight: 800;
  }
  
  .egg-note {
    margin-top: 1.5rem;
    padding: 1.2rem 1.4rem;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--radius-sm);
    color: var(--muted);
    background: rgba(255,255,255,.025);
  }
  
  .egg-note span {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  
  .egg-note p {
    margin-top: .35rem;
    font-size: .86rem;
    line-height: 1.7;
  }

  /* ── GHOST NUMBERS ── */
  .egg-ghost-num {
    position: absolute;
    bottom: -.15em;
    right: .2rem;
    z-index: 0;
    color: rgba(163,230,53,.055);
    font-family: var(--font-display);
    font-size: 7rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.06em;
    pointer-events: none;
    user-select: none;
    transition: color .3s;
  }

  .egg-ghost-sym { font-size: 6.5rem; }

  .egg-card:hover .egg-ghost-num {
    color: rgba(163,230,53,.10);
  }

  /* ── NUMBER BADGE (replaces plain span in card-top) ── */
  .egg-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 1.55rem;
    padding: 0 .5rem;
    border: 1px solid var(--border-gold);
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent) !important;
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
  }

  .egg-num-badge--sym {
    font-size: .85rem;
    letter-spacing: 0;
  }

  /* ── TERMINAL HERO ── */
  .et-prompt { color: rgba(255,255,255,.3); }
  .et-cmd    { color: var(--muted2); }
  .et-dot, .et-paren { color: var(--accent); opacity: .7; }
  .et-green  { color: var(--green); }
  .et-gold   { color: var(--accent); }
  .et-cyan   { color: var(--cyan); }

  .et-cursor {
    display: inline-block;
    color: var(--accent);
    animation: termBlink .85s step-end infinite;
  }

  /* ── WIDE CARD LAYOUT ── */
  .egg-wide-body {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    gap: 2.5rem;
    margin-top: .5rem;
  }

  .egg-wide-text {
    flex: 1;
    min-width: 0;
  }

  .egg-wide-text h2 {
    margin-bottom: .75rem;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.55rem;
    line-height: 1.1;
  }

  .egg-wide-text p {
    color: var(--muted2);
    font-size: .92rem;
    line-height: 1.75;
    margin-bottom: 0;
  }

  .egg-quote {
    flex: 0 0 auto;
    max-width: 240px;
    padding: 1.1rem 1.25rem;
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: rgba(163,230,53,.06);
  }

  .egg-quote p {
    margin: 0;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.6;
  }

  /* card-top z-index fix after ghost num added */
  .egg-card-top { z-index: 1; }
  .egg-card h2  { z-index: 1; }
  .egg-card p   { z-index: 1; }
  .egg-card code { z-index: 1; }

  .egg-intro {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    pointer-events: none;
    background: #050505;
    animation: introHide 1.65s ease forwards;
  }
  
  .intro-egg {
    position: relative;
    width: 72px;
    height: 96px;
    border-radius: 55% 55% 48% 48%;
    background:
      radial-gradient(circle at 35% 25%, rgba(255,255,255,.9) 0 8%, transparent 9%),
      linear-gradient(135deg, #a3e635, #bef264);
    box-shadow: 0 0 28px rgba(163,230,53,.45), 0 0 80px rgba(163,230,53,.18);
    animation: eggBurst 1.45s cubic-bezier(.2,.8,.2,1) forwards;
  }
  
  .intro-egg::before {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    top: 30px;
    height: 7px;
    border-radius: 999px;
    background: rgba(17,17,17,.35);
    box-shadow: 0 16px 0 rgba(17,17,17,.25), 0 32px 0 rgba(17,17,17,.18);
  }
  
  .intro-egg::after {
    content: "";
    position: absolute;
    inset: -40px;
    border-radius: 999px;
    opacity: 0;
    background: radial-gradient(circle, rgba(255,255,255,.95), rgba(163,230,53,.35) 35%, transparent 65%);
    transform: scale(.2);
    animation: eggFlash 1.45s ease forwards;
  }
  
  .egg-page,
  .egg-body .topbar,
  .egg-body .footer {
    animation: pageRevealAfterEgg .9s ease 1.35s both;
  }
  
  /* ============================================================
     HACKED SCREEN
     ============================================================ */
  #hacked-screen {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #000;
    animation: hackedFadeIn .35s ease both;
  }

  #hacked-screen.hide {
    animation: hackedFadeOut .7s ease forwards;
  }

  .matrix-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    opacity: .72;
  }

  .hacked-content {
    position: relative;
    z-index: 3;
    display: grid;
    justify-items: center;
    padding: 2rem;
    text-align: center;
    transform: translateY(-8px);
  }

  .hacked-skull {
    width: min(230px, 56vw);
    height: auto;
    image-rendering: pixelated;
    filter:
      drop-shadow(0 0 10px rgba(0,255,65,.7))
      drop-shadow(0 0 24px rgba(0,200,50,.35))
      drop-shadow(0 0 40px rgba(0,255,65,.2));
    animation: skullGlitch 1.05s infinite steps(2, end);
  }

  .hacked-title {
    position: relative;
    margin-top: 1rem;
    color: #00ff41;
    font-family: var(--font-mono);
    font-size: clamp(2.6rem, 8vw, 5.4rem);
    font-weight: 900;
    letter-spacing: .18em;
    text-shadow: 0 0 12px #00ff41, 0 0 30px rgba(0,255,65,.45);
    animation: hackedTextGlitch .72s infinite;
  }

  .hacked-title::before,
  .hacked-title::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .hacked-title::before {
    color: #00cc33;
    opacity: .72;
    clip-path: inset(0 0 52% 0);
    transform: translateX(-3px);
  }

  .hacked-title::after {
    color: #39ff14;
    opacity: .65;
    clip-path: inset(52% 0 0 0);
    transform: translateX(3px);
  }

  .hacked-subtitle {
    margin-top: .35rem;
    color: #7fff8c;
    font-family: var(--font-mono);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-shadow: 0 0 14px rgba(0,255,65,.4);
    text-transform: uppercase;
  }

  .hacked-terminal {
    width: min(520px, calc(100vw - 2rem));
    margin-top: 1.1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(0,255,65,.3);
    border-radius: 14px;
    color: rgba(0,255,65,.88);
    background: rgba(0,8,2,.78);
    box-shadow: 0 0 30px rgba(0,255,65,.1), inset 0 1px 0 rgba(0,255,65,.06);
    font-family: var(--font-mono);
    font-size: .72rem;
    line-height: 1.65;
    text-align: left;
  }

  .hacked-terminal div {
    opacity: 0;
    transform: translateY(4px);
    animation: terminalLine .28s ease forwards;
  }

  .hacked-terminal div:nth-child(1) { animation-delay: .35s; }
  .hacked-terminal div:nth-child(2) { animation-delay: .75s; }
  .hacked-terminal div:nth-child(3) { animation-delay: 1.15s; }
  .hacked-terminal div:nth-child(4) { animation-delay: 1.55s; }
  .hacked-terminal div:nth-child(5) { animation-delay: 1.95s; }

  .hacked-scanline {
    position: absolute;
    left: 0;
    right: 0;
    top: -20%;
    z-index: 2;
    height: 18%;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgba(0,255,65,.06), rgba(0,255,65,.1), transparent);
    animation: scanlineMove 2.1s linear infinite;
  }
  
  /* ============================================================
     KONAMI DEBUG GAME
     ============================================================ */
  #debug-game-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: clamp(.75rem, 2vw, 1.5rem);
    background: radial-gradient(circle at 50% 30%, rgba(163,230,53,.12), transparent 36%), rgba(0,0,0,.84);
    backdrop-filter: blur(14px);
  }
  
  .debug-game-card {
    position: relative;
    width: min(960px, calc(100vw - 2rem), calc((100vh - 9rem) * 1.714));
    max-height: calc(100vh - 2rem);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(163,230,53,.25);
    border-radius: 18px;
    background: radial-gradient(circle at 0% 0%, rgba(163,230,53,.08), transparent 48%), rgba(14,14,17,.96);
    box-shadow: 0 30px 90px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.05);
  }
  
  .debug-game-close {
    position: absolute;
    top: .85rem;
    right: .85rem;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    color: var(--muted2);
    background: rgba(255,255,255,.05);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
  }
  
  .debug-game-close:hover {
    color: var(--accent);
    border-color: var(--accent-border);
  }
  
  .debug-game-head {
    display: grid;
    gap: .2rem;
    padding: 1.3rem 1.4rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  
  .debug-game-head span {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .1em;
  }
  
  .debug-game-head strong {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: -.03em;
  }
  
  .debug-game-head small {
    color: var(--muted);
    font-size: .82rem;
  }
  
  #debug-game-canvas {
    display: block;
    width: 100%;
    aspect-ratio: 12 / 7;
    height: auto;
    max-height: calc(100vh - 9rem);
    object-fit: contain;
    flex: 0 1 auto;
    background: #080808;
    image-rendering: auto;
  }
  
  .debug-game-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 1.4rem 1.1rem;
    border-top: 1px solid rgba(255,255,255,.08);
    color: var(--muted2);
    font-family: var(--font-mono);
    font-size: .78rem;
  }
  
  #debug-game-score {
    color: var(--accent);
    font-weight: 800;
  }
  
  #debug-game-status {
    color: var(--cyan);
    font-weight: 800;
  }
  
  /* ============================================================
     REVEAL, SCROLLBAR, RESPONSIVE
     ============================================================ */
  .reveal {
    opacity: 0;
    transform: translateY(26px) scale(.985);
    filter: blur(7px);
    transition:
      opacity .75s cubic-bezier(.2,.8,.2,1),
      transform .75s cubic-bezier(.2,.8,.2,1),
      filter .75s cubic-bezier(.2,.8,.2,1);
    transition-delay: var(--delay, 0s);
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: #0b0b0c; }
  ::-webkit-scrollbar-thumb {
    border: 2px solid #0b0b0c;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(163,230,53,.5), rgba(167,139,250,.3));
  }

  :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
  }

  .nav-links a:focus-visible,
  .nav-logo:focus-visible,
  .hamburger:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 999px;
  }

  .cta-btn:focus-visible,
  .proj-link:focus-visible,
  .github-link:focus-visible,
  .contact-card-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
  }

  .proj-link-big:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 999px;
  }

  .copy-email:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
  }
  
  @media (max-width: 1100px) {
    .page-shell { padding: 1.25rem 1rem 3rem; }
    .app-layout { grid-template-columns: 1fr; }
    .sidebar { align-self: auto; }
    .sidebar-inner { position: relative; top: auto; }
    .skills-layout { grid-template-columns: 1fr; }
    .tools-panel { order: -1; }

    /* sidebar spacer not needed when static */
    .sidebar-spacer { margin-top: 1.2rem; }

    .skills-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .learning-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* contact wraps to column on tablet */
    .contact-inner {
      flex-wrap: wrap;
    }

    .contact-right {
      flex: 1 1 100%;
    }
  }
  
  @media (max-width: 900px) {
    .stats-row {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .stat-divider {
      display: none;
    }
  
    .about-areas,
    .project-details {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 760px) {
    body {
      padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
    }
  
    .nav-inner {
      min-height: 56px;
      padding: .8rem 1rem;
    }
  
    .topbar .nav-links {
      display: none;
      position: fixed;
      inset: 56px 0 auto;
      z-index: 199;
      flex-direction: column;
      gap: .35rem;
      padding: 1rem;
      border-bottom: 1px solid var(--border);
      background: rgba(9,9,10,.97);
    }
  
    .nav-links.open { display: flex; }
    .nav-links a { border-radius: .65rem; padding: .65rem 1rem; font-size: .9rem; }
    .hamburger { display: flex; }
  
    .page-shell {
      padding: 1rem .85rem 2.4rem;
    }
  
    .app-layout {
      gap: 1rem;
    }
  
    .sidebar-inner,
    .section,
    .contact-inner {
      border-radius: 1.15rem;
    }

    .sidebar-inner {
      padding: 1.45rem 1rem 1.2rem;
    }
  
    .section {
      padding: 1.35rem 1rem;
      margin-bottom: 1rem;
    }
  
    .section-header {
      margin-bottom: 1.15rem;
    }
  
    .section-header h2 {
      font-size: clamp(2.05rem, 11vw, 3.3rem);
      line-height: .95;
      letter-spacing: -.065em;
    }
  
    #resume .section-header h2 {
      font-size: clamp(2rem, 10vw, 3rem);
    }
  
    .kicker {
      font-size: .68rem;
    }
  
    .about-cta {
      flex-direction: column;
    }

    .cta-btn {
      justify-content: center;
      text-align: center;
    }

    .about-lead {
      padding: 1.05rem;
    }
  
    .about-lead > strong {
      font-size: clamp(1.45rem, 9vw, 2.1rem);
    }
  
    .about-lead > p {
      font-size: .95rem;
      line-height: 1.65;
    }
  
    .stats-row {
      grid-template-columns: 1fr;
      padding: 1rem;
    }
  
    .stat-item {
      padding: .25rem 0;
    }
  
    .area-item {
      grid-template-columns: 1fr;
      gap: .75rem;
    }
  
    .area-icon {
      width: 42px;
      height: 42px;
    }
  
    .skills-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .skills-layout,
    .project-grid,
    .learning-grid,
    .egg-grid {
      grid-template-columns: 1fr;
    }
  
    .featured-card,
    .egg-card-wide {
      grid-column: span 1;
    }
  
    .featured-body {
      flex-direction: column;
      align-items: flex-start;
      gap: 1.1rem;
    }

    .proj-ghost-num {
      font-size: 4rem;
    }

    .tools-panel,
    .proj-card {
      padding: 1rem;
    }

    .tl-body {
      padding: 1rem 1rem 1rem 1.35rem;
    }
  
    .chip-cloud,
    .tag-row {
      gap: .4rem;
    }
  
    .chip,
    .tag {
      font-size: .68rem;
    }
  
    .skill-meta {
      grid-template-columns: 1fr;
      gap: .35rem;
      align-items: start;
    }
  
    .skill-val {
      justify-self: start;
    }
  
    .tl-head {
      flex-direction: column;
      gap: .4rem;
    }

    .tl-date {
      align-self: flex-start;
    }
  
    .tl-item {
      grid-template-columns: 16px minmax(0, 1fr);
      gap: .75rem;
    }
  
    .tl-item:not(:last-of-type)::after {
      left: 7px;
    }
  
    .tl-dot {
      width: 15px;
      height: 15px;
    }
  
    .projects-footer {
      flex-direction: column;
      align-items: flex-start;
      gap: .75rem;
    }
  
    .contact-section {
      padding: 0 .85rem;
      margin-bottom: 2.2rem;
    }
  
    .contact-inner {
      padding: 1.6rem 1rem 1.8rem;
      flex-direction: column;
      gap: 1.5rem;
    }

    .contact-right {
      flex: unset;
      width: 100%;
    }

    .contact-inner h2 {
      font-size: clamp(2.1rem, 12vw, 3.2rem);
    }

    /* terminal wraps on small screens */
    .contact-terminal > div {
      white-space: normal;
    }

    .footer {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      gap: .6rem;
      padding: 1.25rem .9rem calc(5rem + env(safe-area-inset-bottom));
    }

    .footer::before {
      left: 1rem;
      right: 1rem;
    }

    .footer-nav {
      flex-wrap: wrap;
      justify-content: center;
      gap: .65rem .9rem;
    }
  
    .egg-page {
      padding: 2rem 1rem 3rem;
    }
  
    .egg-hero {
      min-height: auto;
      padding: 3rem 1.2rem;
    }

    .egg-terminal {
      font-size: .68rem;
    }

    .egg-wide-body {
      flex-direction: column;
      gap: 1.25rem;
    }

    .egg-quote {
      max-width: 100%;
      width: 100%;
    }
  
    .debug-game-head strong {
      font-size: 1.1rem;
    }
  
    .debug-game-head small {
      padding-right: 2rem;
      font-size: .72rem;
    }
  
    .debug-game-footer {
      flex-direction: column;
      gap: .25rem;
    }
  
    #egg-banner {
      max-width: calc(100vw - 1.5rem) !important;
      white-space: normal !important;
      text-align: center;
      bottom: calc(1rem + env(safe-area-inset-bottom)) !important;
    }
  }
  
  @media (max-width: 430px) {
    .skills-grid {
      grid-template-columns: 1fr;
    }

    .page-shell,
    .contact-section {
      padding-left: .65rem;
      padding-right: .65rem;
    }
  
    .section,
    .contact-inner,
    .sidebar-inner {
      border-radius: 1rem;
    }
  
    .section-header h2,
    .contact-inner h2 {
      font-size: clamp(1.95rem, 10.5vw, 2.8rem);
    }
  
    .profile-name {
      font-size: 1.95rem;
    }
  
    .side-item {
      grid-template-columns: 38px minmax(0, 1fr);
    }

    .side-icon {
      width: 38px;
      height: 38px;
    }

    .side-info a,
    .side-info span,
    .copy-email {
      font-size: .84rem;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation: none !important;
      transition: none !important;
    }
  
    .reveal {
      opacity: 1;
      transform: none;
      filter: none;
    }
  
    .skill-fill {
      transition: none;
    }
  }
  
  /* ============================================================
     SCROLL PROGRESS BAR
     ============================================================ */
  #scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--cyan));
    box-shadow: 0 0 8px rgba(163,230,53,.4), 0 0 20px rgba(167,139,250,.2);
    pointer-events: none;
  }

  /* ============================================================
     CUSTOM CURSOR
     ============================================================ */
  .has-custom-cursor,
  .has-custom-cursor * {
    cursor: none !important;
  }

  #cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    pointer-events: none;
    z-index: 1000002;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px rgba(163,230,53,.9), 0 0 16px rgba(163,230,53,.35);
    transition: opacity 0.2s, width 0.15s, height 0.15s, box-shadow 0.15s;
  }

  #cursor-dot.cursor-hover {
    width: 9px;
    height: 9px;
    box-shadow: 0 0 14px rgba(163,230,53,.8), 0 0 28px rgba(163,230,53,.3);
  }

  .cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    background: var(--accent);
    pointer-events: none;
    z-index: 1000001;
    transform: translate(-50%, -50%);
    /* size: 5px → ~1.4px across 6 dots */
    width:   calc(5px - var(--i) * 0.6px);
    height:  calc(5px - var(--i) * 0.6px);
    /* opacity: 0.55 → ~0.07 */
    opacity: calc(0.55 - var(--i) * 0.08);
    transition: opacity 0.2s;
  }

  .cursor-trail.cursor-hover {
    opacity: calc(0.3 - var(--i) * 0.04);
  }

  /* ============================================================
     BACKGROUND ORBS
     ============================================================ */
  .bg-orbs {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }

  .bg-orb {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
  }

  .orb-1 {
    width: min(55vw, 700px);
    height: min(55vw, 700px);
    top: -15%;
    left: -12%;
    background: radial-gradient(circle at center, rgba(163,230,53,.10) 0%, transparent 70%);
    filter: blur(90px);
    animation: bgOrb1 28s ease-in-out infinite;
  }

  .orb-2 {
    width: min(45vw, 580px);
    height: min(45vw, 580px);
    top: 15%;
    right: -10%;
    background: radial-gradient(circle at center, rgba(167,139,250,.07) 0%, transparent 70%);
    filter: blur(80px);
    animation: bgOrb2 35s ease-in-out infinite;
  }

  .orb-3 {
    width: min(40vw, 500px);
    height: min(40vw, 500px);
    bottom: 5%;
    left: 15%;
    background: radial-gradient(circle at center, rgba(163,230,53,.055) 0%, transparent 70%);
    filter: blur(75px);
    animation: bgOrb3 30s ease-in-out infinite;
  }

  .orb-4 {
    width: min(35vw, 420px);
    height: min(35vw, 420px);
    bottom: -8%;
    right: 8%;
    background: radial-gradient(circle at center, rgba(163,230,53,.065) 0%, transparent 70%);
    filter: blur(85px);
    animation: bgOrb4 38s ease-in-out infinite;
  }

  /* ============================================================
     KEYFRAMES
     ============================================================ */
  @keyframes bgOrb1 {
    0%   { transform: translate(0, 0)      scale(1); }
    25%  { transform: translate(60px, 45px)  scale(1.05); }
    50%  { transform: translate(25px, 85px)  scale(.96); }
    75%  { transform: translate(-45px, 35px) scale(1.07); }
    100% { transform: translate(0, 0)      scale(1); }
  }

  @keyframes bgOrb2 {
    0%   { transform: translate(0, 0)        scale(1); }
    30%  { transform: translate(-55px, 65px)  scale(1.04); }
    60%  { transform: translate(35px, -40px)  scale(.95); }
    100% { transform: translate(0, 0)        scale(1); }
  }

  @keyframes bgOrb3 {
    0%   { transform: translate(0, 0)       scale(1); }
    35%  { transform: translate(70px, -50px) scale(1.06); }
    70%  { transform: translate(-30px, 40px) scale(.93); }
    100% { transform: translate(0, 0)       scale(1); }
  }

  @keyframes bgOrb4 {
    0%   { transform: translate(0, 0)        scale(1); }
    20%  { transform: translate(-40px, -60px) scale(1.08); }
    55%  { transform: translate(50px, 30px)   scale(.97); }
    80%  { transform: translate(20px, -35px)  scale(1.04); }
    100% { transform: translate(0, 0)        scale(1); }
  }

  @keyframes ambientFloat {
    from { transform: translate(-1.5%,-1%) scale(1); }
    to { transform: translate(1.5%, 1%) scale(1.04); }
  }
  
  @keyframes navSlide {
    from { opacity: 0; transform: translateY(-14px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes sidebarIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
  }
  
  @keyframes avatarShimmer {
    0% { transform: translateX(-160%) skewX(-15deg); opacity: 0; }
    8% { opacity: 1; }
    42% { transform: translateX(160%) skewX(-15deg); opacity: 1; }
    43%, 100% { transform: translateX(160%) skewX(-15deg); opacity: 0; }
  }
  
  @keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(163,230,53,.18); }
    50% { box-shadow: 0 0 0 6px rgba(163,230,53,.28); }
  }
  
  @keyframes barShine {
    0% { transform: translateX(-110%); opacity: 0; }
    10% { opacity: 1; }
    55%, 100% { transform: translateX(110%); opacity: 0; }
  }
  
  @keyframes learningSweep {
    0%, 55% { transform: translateX(-120%); opacity: 0; }
    65% { opacity: 1; }
    100% { transform: translateX(120%); opacity: 0; }
  }
  
  @keyframes aboutSweep {
    0%, 58% { transform: translateX(-120%); opacity: 0; }
    68% { opacity: 1; }
    100% { transform: translateX(120%); opacity: 0; }
  }
  
  @keyframes eggSweep {
    0%, 55% { transform: translateX(-120%); opacity: 0; }
    65% { opacity: 1; }
    100% { transform: translateX(120%); opacity: 0; }
  }
  
  @keyframes orbSpin { to { transform: rotate(360deg); } }
  @keyframes orbSpinReverse { to { transform: rotate(-360deg); } }
  
  @keyframes orbBreath {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.08) rotate(2deg); }
  }
  
  @keyframes sparkOrbit1 {
    from { transform: rotate(0deg) translateX(96px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(96px) rotate(-360deg); }
  }
  
  @keyframes sparkOrbit2 {
    from { transform: rotate(130deg) translateX(72px) rotate(-130deg); }
    to { transform: rotate(490deg) translateX(72px) rotate(-490deg); }
  }
  
  @keyframes sparkOrbit3 {
    from { transform: rotate(260deg) translateX(52px) rotate(-260deg); }
    to { transform: rotate(620deg) translateX(52px) rotate(-620deg); }
  }
  
  @keyframes eggBurst {
    0% { transform: scale(.4) rotate(-12deg); opacity: 0; }
    25% { transform: scale(1) rotate(5deg); opacity: 1; }
    48% { transform: scale(1.08) rotate(-4deg); }
    58% { transform: scale(.92) rotate(2deg); }
    72% { transform: scale(1.9); opacity: 1; }
    82% { transform: scale(8); opacity: 0; }
    100% { transform: scale(12); opacity: 0; }
  }
  
  @keyframes eggFlash {
    0%, 45% { opacity: 0; transform: scale(.2); }
    65% { opacity: .8; transform: scale(1.2); }
    78% { opacity: 1; transform: scale(18); }
    100% { opacity: 0; transform: scale(28); }
  }
  
  @keyframes introHide {
    0%, 82% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
  }
  
  @keyframes pageRevealAfterEgg {
    from { opacity: 0; transform: translateY(14px); filter: blur(8px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
  }
  
  @keyframes hackedFadeIn { from { opacity: 0; } to { opacity: 1; } }
  @keyframes hackedFadeOut { to { opacity: 0; } }
  @keyframes scanlineMove { from { top: -20%; } to { top: 120%; } }
  @keyframes terminalLine { to { opacity: 1; transform: translateY(0); } }
  
  @keyframes skullGlitch {
    0%, 100% { transform: translate(0, 0) scale(1); }
    18% { transform: translate(-2px, 1px) scale(1.01); }
    36% { transform: translate(2px, -1px) scale(.995); }
    54% { transform: translate(-1px, -2px) scale(1.008); }
    72% { transform: translate(1px, 2px) scale(1); }
  }
  
  @keyframes hackedTextGlitch {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-2px); }
    40% { transform: translateX(2px); }
    60% { transform: translateX(-1px); }
    80% { transform: translateX(1px); }
  }
}


/* ============================================================
   LANGUAGE SWITCHER (PL/EN)
   ============================================================ */
.nav-lang {
  display: inline-flex;
  align-items: center;
  gap: .15rem;
  margin-left: .35rem;
  font-family: var(--font-mono);
}

.nav-lang .lang-link {
  padding: .42rem .5rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  transition: color .2s, background .2s;
}

.nav-lang .lang-link:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-lang .lang-active {
  color: var(--accent);
}

.nav-lang .lang-sep {
  color: rgba(255,255,255,.18);
  font-size: .78rem;
}

/* ============================================================
   PROFILE SUB-BADGE + CV BUTTON
   ============================================================ */
.profile-badge-sub {
  display: block;
  margin-top: .45rem;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  margin-top: .8rem;
  padding: .72rem 1.2rem;
  border: 1px solid rgba(163,230,53,.38);
  border-radius: 999px;
  color: #111;
  background: var(--accent);
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}

.cv-btn:hover {
  background: #bef264;
  border-color: rgba(163,230,53,.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(163,230,53,.22);
}

.cv-btn svg {
  flex-shrink: 0;
}

/* ============================================================
   PROJECT EXTRAS — code links, case study, client quote
   ============================================================ */
.featured-right-col {
  flex-direction: column;
  align-items: flex-end;
  gap: .9rem;
}

.proj-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: auto;
}

.proj-links .proj-link {
  margin-top: 0;
}

.case-study {
  position: relative;
  z-index: 1;
  margin-top: 1.1rem;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: .9rem;
  background: rgba(255,255,255,.03);
}

.case-study summary {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .85rem 1.1rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  list-style: none;
  transition: color .2s;
}

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

.case-study summary:hover {
  color: #bef264;
}

.case-study[open] summary .link-arr {
  transform: rotate(90deg);
}

.case-study summary .link-arr {
  transition: transform .2s;
}

.case-study-body {
  display: grid;
  gap: .75rem;
  padding: .25rem 1.1rem 1.1rem;
}

.case-study-item .case-study-label {
  display: block;
  margin-bottom: .3rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.case-study-item p {
  margin: 0;
  color: var(--muted2);
  font-size: .82rem;
  line-height: 1.65;
}

.client-quote {
  margin: .35rem 0 0;
  padding: .85rem 1.1rem;
  border-left: 2px solid var(--accent);
  border-radius: 0 .75rem .75rem 0;
  background: rgba(163,230,53,.05);
}

.client-quote p {
  margin: 0 0 .35rem;
  color: var(--text);
  font-size: .86rem;
  font-style: italic;
  line-height: 1.6;
}

.client-quote cite {
  color: var(--muted);
  font-size: .74rem;
  font-style: normal;
  font-weight: 600;
}

@media (max-width: 720px) {
  .featured-right-col {
    align-items: flex-start;
  }
}

/* ============================================================
   BUTTON SHEEN MICROINTERACTION
   ============================================================ */
.proj-link-big,
.cv-btn {
  position: relative;
  overflow: hidden;
}

.proj-link-big::after,
.cv-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-18deg);
  transition: left .55s ease;
  pointer-events: none;
}

.proj-link-big:hover::after,
.cv-btn:hover::after {
  left: 135%;
}

/* ============================================================
   PLAYGROUND — NAV CMDK BUTTON
   ============================================================ */
.nav-cmdk {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}

.nav-cmdk:hover {
  color: var(--accent);
  border-color: var(--accent-border);
  background: var(--accent-soft);
}

.nav-cmdk kbd {
  padding: .12rem .4rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: .4rem;
  background: rgba(255,255,255,.06);
  font-family: inherit;
  font-size: .62rem;
}

/* ============================================================
   PLAYGROUND — COMMAND PALETTE
   ============================================================ */
#cmdk-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 1rem 0;
  background: rgba(5,5,7,.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

#cmdk-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cmdk-box {
  width: 100%;
  max-width: 560px;
  overflow: hidden;
  border: 1px solid rgba(163,230,53,.28);
  border-radius: 1rem;
  background: rgba(13,13,16,.98);
  box-shadow: 0 30px 90px rgba(0,0,0,.6), 0 0 44px rgba(163,230,53,.08);
  transform: translateY(10px) scale(.985);
  transition: transform .18s ease;
}

#cmdk-overlay.open .cmdk-box {
  transform: none;
}

.cmdk-input {
  width: 100%;
  padding: .95rem 1.15rem;
  border: 0;
  border-bottom: 1px solid var(--border);
  outline: none;
  background: none;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: .9rem;
  caret-color: var(--accent);
}

.cmdk-input::placeholder {
  color: var(--muted);
}

.cmdk-list {
  max-height: 330px;
  overflow-y: auto;
  padding: .45rem;
}

.cmdk-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  width: 100%;
  padding: .6rem .8rem;
  border: 0;
  border-radius: .6rem;
  background: none;
  color: var(--muted2);
  font-family: var(--font-body);
  font-size: .86rem;
  text-align: left;
  cursor: pointer;
}

.cmdk-item.active {
  background: rgba(163,230,53,.12);
  color: #fff;
}

.cmdk-item .cmdk-cat {
  flex-shrink: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cmdk-item.active .cmdk-cat {
  color: var(--accent);
}

.cmdk-empty {
  padding: 1rem 1.1rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .8rem;
}

/* ============================================================
   PLAYGROUND — TACHOMETER
   ============================================================ */
#tach {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 950;
  width: 86px;
  height: 86px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(13,13,16,.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 14px 38px rgba(0,0,0,.45);
  cursor: pointer;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

#tach:hover {
  transform: translateY(-3px);
  border-color: rgba(163,230,53,.4);
  box-shadow: 0 18px 44px rgba(0,0,0,.5), 0 0 24px rgba(163,230,53,.12);
}

#tach.tach-red {
  border-color: rgba(248,113,113,.45);
  box-shadow: 0 14px 38px rgba(0,0,0,.45), 0 0 26px rgba(248,113,113,.16);
}

#tach svg {
  display: block;
  width: 100%;
  height: 100%;
}

#tach #tachNeedle {
  transition: transform .18s ease-out;
}

.tach-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .56rem;
  text-align: center;
  pointer-events: none;
}

#tach.tach-red .tach-label {
  color: #f87171;
}

@media (max-width: 640px) {
  #tach {
    width: 62px;
    height: 62px;
    right: .85rem;
    bottom: .85rem;
  }

  .tach-label {
    bottom: 7px;
    font-size: .5rem;
  }
}

/* ============================================================
   PLAYGROUND — INTERACTIVE TERMINAL
   ============================================================ */
#jmTerminal {
  cursor: text;
}

.ct-out {
  max-height: 240px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.ct-out a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ct-out a:hover {
  color: #bef264;
}

.ct-hint,
.ct-dim {
  color: var(--muted);
}

.ct-echo {
  color: var(--text);
}

.ct-inputline {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .4rem;
}

.ct-prompt {
  color: var(--accent);
  flex-shrink: 0;
}

.ct-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: none;
  color: var(--text);
  font: inherit;
  caret-color: var(--accent);
}

.ct-inputline .ct-cursor {
  pointer-events: none;
}

.ct-input:focus + .ct-cursor {
  display: none;
}

/* ============================================================
   PLAYGROUND v2 — SCROLL LOCK
   ============================================================ */
body.no-scroll {
  overflow: hidden;
}

/* ============================================================
   PLAYGROUND v2 — BOOT SEQUENCE
   ============================================================ */
.boot-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  background: radial-gradient(circle at 50% 30%, #131316 0%, #08080a 70%);
  opacity: 1;
  transition: opacity .45s ease;
}

.boot-overlay.boot-done {
  opacity: 0;
  pointer-events: none;
}

.boot-skip {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .78rem;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}

.boot-skip:hover {
  color: var(--accent);
  border-color: var(--accent-border);
}

.boot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.25rem;
}

.boot-gauges {
  width: 92px;
  height: 92px;
}

.boot-gauge-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.boot-gauge-ring {
  fill: none;
  stroke: rgba(255,255,255,.08);
  stroke-width: 4;
}

.boot-gauge-sweep {
  fill: none;
  stroke: var(--accent);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  animation: bootSweep 2.4s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(163,230,53,.55));
}

@keyframes bootSweep {
  0%   { stroke-dashoffset: 264; }
  50%  { stroke-dashoffset: 40; }
  100% { stroke-dashoffset: 264; }
}

.boot-lines {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  min-height: 7.5em;
  color: var(--muted2);
  font-family: var(--font-mono);
  font-size: .92rem;
  text-align: center;
}

.boot-line {
  opacity: 0;
  animation: bootLineIn .4s ease forwards;
}

.boot-line:last-child {
  color: var(--accent);
  font-weight: 700;
}

@keyframes bootLineIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .boot-gauge-sweep {
    animation: none;
    stroke-dashoffset: 60;
  }

  .boot-line {
    animation: none;
    opacity: 1;
  }
}

/* ============================================================
   PLAYGROUND v2 — ROAD TRACK
   ============================================================ */
.road-track {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 40;
  width: 22px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.road-line {
  position: relative;
  width: 2px;
  height: 100%;
  background: rgba(255,255,255,.06);
}

.road-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--accent), var(--cyan));
  box-shadow: 0 0 10px rgba(163,230,53,.35);
}

.road-dot {
  position: absolute;
  left: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: #0d0d10;
  transform: translate(-50%, -50%);
  transition: background .25s, border-color .25s, box-shadow .25s;
  pointer-events: auto;
  cursor: help;
}

.road-dot.passed {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 10px rgba(163,230,53,.55);
}

@media (max-width: 1080px) {
  .road-track {
    display: none;
  }
}

/* ============================================================
   PLAYGROUND v2 — QUICK ACTIONS DOCK
   ============================================================ */
.quick-dock {
  position: fixed;
  left: 1.1rem;
  bottom: 1.1rem;
  z-index: 950;
  display: flex;
  gap: .5rem;
}

.quick-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem .85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(13,13,16,.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--muted2);
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  transition: transform .2s, border-color .2s, color .2s, background .2s;
}

.quick-btn:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: rgba(255,255,255,.22);
}

.quick-btn-primary {
  border-color: rgba(163,230,53,.4);
  background: var(--accent);
  color: #111;
}

.quick-btn-primary:hover {
  background: #bef264;
  border-color: rgba(163,230,53,.6);
  color: #111;
}

@media (max-width: 640px) {
  .quick-dock {
    left: .7rem;
    bottom: .7rem;
  }

  .quick-btn span {
    display: none;
  }

  .quick-btn {
    padding: .6rem;
  }
}

/* ============================================================
   PLAYGROUND v2 — LIFT MODAL (case study reveal)
   ============================================================ */
.lift-trigger {
  align-self: flex-start;
  margin-top: .3rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: color .2s;
}

.lift-trigger:hover {
  color: #bef264;
}

.lift-trigger:hover .link-arr {
  transform: translateX(3px);
}

.lift-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: rgba(5,5,7,.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.lift-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.lift-modal {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 84vh;
  overflow-y: auto;
  padding: 2.1rem 1.9rem;
  border: 1px solid rgba(163,230,53,.28);
  border-radius: 1.1rem;
  background:
    linear-gradient(180deg, rgba(20,20,23,.98), rgba(12,12,15,.99));
  box-shadow: 0 34px 90px rgba(0,0,0,.55), 0 0 48px rgba(163,230,53,.1);
}

.lift-overlay:not(.open) .lift-modal {
  transform: translateY(30px);
}

.lift-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-size: .85rem;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}

.lift-close:hover {
  color: var(--accent);
  border-color: var(--accent-border);
}

.lift-eyebrow {
  display: block;
  margin-bottom: 1.1rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.lift-content .case-study-item {
  margin-bottom: 1.1rem;
}

.lift-content .case-study-item:last-child {
  margin-bottom: 0;
}

.lift-content .case-study-label {
  display: block;
  margin-bottom: .35rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.lift-content p {
  margin: 0;
  color: var(--muted2);
  font-size: .9rem;
  line-height: 1.68;
}

/* ============================================================
   PLAYGROUND v2 — HEADLIGHT CURSOR + DRIVE TINT
   ============================================================ */
#headlightBeam,
#driveTint {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

#driveTint {
  z-index: 0;
  opacity: .12;
  transition: opacity .2s linear;
}

/* ============================================================
   PROJECT LOGO BADGES
   ============================================================ */
.proj-title-row {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.proj-logo {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: .8rem;
  background: rgba(255,255,255,.04);
  overflow: hidden;
}

.proj-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
