:root {
  --bg: #111118;  --bg-deep: #0D0D13;  --card: #1A1A28;  --line: #2E2E42;
  --text: #F0ECE4; --soft: #C9C6BE;  --muted: #A3A3B5;  --sand: #D9CDB0;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; }
a { color: inherit; }
.hero { min-height: 100svh; display: flex; flex-direction: column; }
.hero__grid { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 64px; 
              width: 100%; max-width: 1200px; margin: 0 auto; padding: 24px 40px; }
.hero__photo { flex: 0 1 420px; min-width: 280px; height: 560px; margin: 0;
               position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); }
.hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; }
.hero__text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__name { margin: 0; font: 700 72px/1 'Space Grotesk', sans-serif; letter-spacing: -.03em; }
.hero__intro { margin: 0; font-size: 20px; line-height: 1.55; color: var(--soft); max-width: 560px; }
.actions { display: flex; flex-direction: column; gap: 12px; }
.glass { position: absolute; inset: auto 16px 16px; backdrop-filter: blur(14px);
         background: rgba(17,17,24,.55); border: 1px solid rgba(240,236,228,.16); 
        padding: 14px 16px; border-radius: 14px; font-size: 14px;
        display: flex; flex-direction: column; gap: 4px; -webkit-backdrop-filter: blur(14px);}
.glass__tags { color: var(--sand); }
.contact { display: flex; align-items: center; gap: 10px; height: 52px; }
.contact__btn { width: 172px; height: 48px; flex: none; 
display: flex; align-items: center; justify-content: center; gap: 8px;
border: none; border-radius: 12px; background: var(--text); color: var(--bg);
font: 600 15px Inter, sans-serif; cursor: pointer;}
.contact__btn[aria-expanded="true"] .contact__label--closed,
.contact__btn[aria-expanded="false"] .contact__label--open {
  opacity: 0; visibility: hidden;
  transition: opacity .4s, visibility 0s .4s;
}
.contact__panel {
  display: flex; align-items: center; gap: 6px; height: 52px;
  max-width: 0; overflow: hidden; white-space: nowrap;
  padding: 0; border: 1px solid transparent; border-radius: 12px; background: var(--card);
  opacity: 0; visibility: hidden;
  transition: max-width .3s ease-in, padding .3s ease-in, opacity .2s ease,
              border-color .2s ease, visibility 0s .3s;
}
.contact__panel.is-open {
  max-width: 440px; padding: 0 4px 0 14px; border-color: var(--line);
  opacity: 1; visibility: visible;
  transition: max-width .35s ease-out, padding .35s ease-out, opacity .25s ease .1s,
              border-color .25s ease .1s, visibility 0s;
}
.contact__email { font: 14px 'JetBrains Mono', monospace; padding-right: 4px; }
.contact__panel button, .contact__panel a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  border: 1px solid #3E3E58; border-radius: 8px; background: transparent;
  color: inherit; font: 500 14px Inter, sans-serif; text-decoration: none; cursor: pointer;
}
.contact__labels { display: grid; justify-items: center; }
.contact__label { grid-area: 1 / 1; transition: opacity .2s .2s, visibility 0s .2s;}
/* .contact__btn { background: } */
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px;
          border: 1px solid #3E3E58; border-radius: 12px; text-decoration: none; font-weight: 500; }
.social i { color: #A8B4CC; }
.social:hover { background: #2A2A3E;}
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px;
         padding-top: 24px; border-top: 1px solid var(--line); }
.facts__label { margin: 0 0 12px; font: 500 12px 'JetBrains Mono', monospace;
                letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact { margin: 0 0 12px; display: flex; flex-direction: column; font-size: 15.5px; }
.fact span { color: var(--muted); font-size: 14px; }


.cols { display: grid; grid-template-columns: minmax(0,1fr) 110px 190px 180px; gap: 16px; align-items: center; }
.projects { background: var(--bg-deep); border-top: 1px solid #23233A; padding: 104px 28px 120px; min-height: 100svh; }
.projects__inner { max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.eyebrow { margin: 0; font: 500 12px 'JetBrains Mono', monospace; letter-spacing: .08em;
           text-transform: uppercase; color: var(--sand); }
.projects__title { margin: 10px 0; font: 700 48px/1.05 'Space Grotesk', sans-serif; letter-spacing: -.02em; }
.projects__sub { margin: 0; color: var(--muted); font-size: 17px; }
.explorer { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.explorer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
                 gap: 12px; padding: 16px 22px; background: #171724; border-bottom: 1px solid var(--line); }
.explorer__path { display: flex; align-items: center; gap: 10px; font: 14px 'JetBrains Mono', monospace; }
.explorer__path i { color: var(--sand); }
.explorer__tilde { color: var(--muted); }
.explorer__tools { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.tool-btn { min-height: 36px; padding: 0 12px; border: 1px solid #3E3E58; border-radius: 8px;
            background: transparent; color: var(--text); font: 500 13px Inter, sans-serif; cursor: pointer; }
.tool-btn--icon { width: 44px; min-height: 44px; padding: 0; display: grid; place-items: center; font-size: 16px; }
.explorer__scroll { overflow: auto; height: min(640, 65svh); scrollbar-gutter: stable; }
.explorer__table { min-width: 820px; }
.explorer__header { padding: 10px 22px; border-bottom: 1px solid var(--line); color: var(--muted); position: sticky; top: 0; z-index: 1; background: var(--card);
                    font: 500 11.5px 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.folder__summary { display: flex; align-items: center; gap: 10px; padding: 12px 22px; cursor: pointer;
                   border-bottom: 1px solid var(--line); font-weight: 600; font-size: 14.5px; list-style: none; }
.folder__summary::-webkit-details-marker { display: none; }
.folder__summary::before { content: '▸'; width: 14px; color: var(--muted); font-size: 12px; }
.folder[open] > .folder__summary::before { content: '▾'; }
.folder__summary:hover { background: #20202F; }
.folder__summary i { color: var(--sand); }
.folder__name { font-family: 'JetBrains Mono', monospace; }
.folder__count { color: var(--muted); font-weight: 400; font-size: 13px; }
.row { padding: 12px 22px 12px 46px; border-bottom: 1px solid #26263A; }
.row:hover { background: #20202F; }
.row__name { display: flex; align-items: center; gap: 16px; min-width: 0; }
.thumb { flex: 0 0 96px; height: 68px; border-radius: 10px; background: #ECE8DF; display: grid; place-items: center; }
.thumb img { width: 72px; height: 52px; object-fit: contain; }
.row__text { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.row__title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-weight: 600; font-size: 16px; }
.row__blurb { margin: 0; color: var(--soft); font-size: 13.5px; line-height: 1.45; }
.row__type { font-size: 13.5px; color: var(--soft); }
.row__stack { font: 12px/1.5 'JetBrains Mono', monospace; color: var(--muted); }
.row__links { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; min-height: 34px; padding: 0 11px; border: 1px solid #3E3E58;
        border-radius: 8px; font-size: 13px; font-weight: 500; text-decoration: none; }
.pill:hover { background: #2A2A3E; }
.badge { font: 400 11px 'JetBrains Mono', monospace; padding: 2px 7px; border-radius: 5px; }
.badge--live { background: #1F2B22; color: #B5D6BC; }
.badge--wip { background: #2B2618; color: #E3CF9C; }