/* ============================================================
   tomsharp.io — Design System
   ============================================================ */

/* --- Variables -------------------------------------------- */
:root {
  --bg-base:       #0d0d0d;
  --bg-surface:    #141414;
  --bg-elevated:   #1a1a1a;
  --bg-border:     #242424;

  --text-primary:  #e8e8e8;
  --text-secondary:#8a8a8a;
  --text-muted:    #4a4a4a;

  --accent:        #4ade80;
  --accent-dim:    rgba(74,222,128,0.10);
  --accent-border: rgba(74,222,128,0.25);
  --focus-ring:    rgba(74,222,128,0.30);

  --danger:        #f87171;
  --danger-dim:    rgba(248,113,113,0.12);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", "Cascadia Code", ui-monospace,
               "SF Mono", Menlo, Consolas, monospace;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-4xl:  2.25rem;
  --text-6xl:  3.75rem;

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  --radius-sm: 4px;
  --radius:    6px;
  --radius-lg: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
ul, ol { list-style: none; }

/* --- Scrollbar -------------------------------------------- */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--bg-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }

::selection { background: var(--accent-dim); color: var(--accent); }

/* --- Layout ----------------------------------------------- */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; padding: var(--space-16) 0; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* --- Typography ------------------------------------------- */
.mono { font-family: var(--font-mono); }

h1, h2, h3 { line-height: 1.2; font-weight: 700; }

.section-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--space-3);
}

/* --- Navigation ------------------------------------------- */
#site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--bg-border);
  background: rgba(13,13,13,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--accent);
  letter-spacing: 0.05em;
  transition: opacity 150ms ease;
}
.nav-logo:hover { opacity: 0.8; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-link {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color 150ms ease;
  position: relative;
  padding: 4px 6px;
}
.nav-link:hover { color: var(--text-primary); }
.nav-link--active { color: var(--text-primary); }
.nav-link--active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 6px; right: 6px;
  height: 1px;
  background: var(--accent);
}

.nav-logout {
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: none;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  padding: 3px 10px;
  transition: all 150ms ease;
}
.nav-logout:hover { color: var(--text-secondary); border-color: #3a3a3a; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: var(--space-2);
}
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--text-secondary);
  transition: background 150ms ease;
}
.nav-hamburger:hover span { background: var(--text-primary); }

@media (max-width: 640px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg-surface);
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--bg-border);
    gap: var(--space-4);
  }
  .nav-links--open { display: flex; }
}

/* --- Footer ----------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--bg-border);
  padding: var(--space-6) 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 150ms ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #0d0d0d;
  border-color: var(--accent);
  font-weight: 600;
}
.btn-primary:hover { filter: brightness(1.1); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--bg-border);
}
.btn-ghost:hover { color: var(--text-primary); border-color: #3a3a3a; background: var(--bg-elevated); }

.btn-danger {
  background: var(--danger-dim);
  color: var(--danger);
  border-color: transparent;
}
.btn-danger:hover { border-color: var(--danger); }

.btn-sm {
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
}

/* --- Cards ------------------------------------------------- */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color 200ms ease, transform 200ms ease;
}
.card:hover {
  border-color: #303030;
  transform: translateY(-2px);
}

/* --- Tags -------------------------------------------------- */
.tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  white-space: nowrap;
  display: inline-block;
}

.tag-neutral {
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border-color: var(--bg-border);
}

/* --- Form elements ---------------------------------------- */
.form-group { margin-bottom: var(--space-6); }

label {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.input, .textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  color: var(--text-primary);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.input:focus, .textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.input::placeholder, .textarea::placeholder { color: var(--text-muted); }

.textarea { resize: vertical; min-height: 100px; line-height: 1.5; }

.char-counter {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: right;
  margin-top: var(--space-1);
  font-family: var(--font-mono);
}

/* Tag input component */
.tag-input-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--bg-elevated);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  min-height: 42px;
  align-items: center;
  cursor: text;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.tag-input-container:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.tag-removable {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
}
.tag-removable button {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  opacity: 0.6;
  transition: opacity 100ms ease;
}
.tag-removable button:hover { opacity: 1; }
.tag-input-field {
  border: none;
  background: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  min-width: 120px;
  flex: 1;
}
.tag-input-field::placeholder { color: var(--text-muted); }

/* Checkbox */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  margin-bottom: 0;
  color: var(--text-primary);
  font-size: var(--text-sm);
}
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}

/* --- Modal ------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: var(--space-4);
}
.modal-overlay[hidden] { display: none; }

.modal-panel {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6);
  border-bottom: 1px solid var(--bg-border);
  flex-shrink: 0;
}
.modal-header h2 {
  font-size: var(--text-lg);
  font-family: var(--font-mono);
  font-weight: 600;
}
.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0 var(--space-1);
  transition: color 150ms ease;
}
.modal-close:hover { color: var(--text-primary); }
.modal-body {
  padding: var(--space-6);
  overflow-y: auto;
  flex: 1;
}
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--bg-border);
  flex-shrink: 0;
}

/* --- Project cards ---------------------------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
}

.project-card {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms ease, transform 200ms ease;
}
.project-card:hover { border-color: #303030; transform: translateY(-3px); }

.project-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}
.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}
.project-card:hover .project-card__image img { transform: scale(1.03); }

.project-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.project-card__title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
}

.project-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

a.project-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.project-link {
  font-size: var(--text-sm);
  color: var(--accent);
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: gap 150ms ease;
}
.project-link:hover { gap: var(--space-3); }

/* --- Skeleton loader -------------------------------------- */
@keyframes shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--bg-surface) 25%, var(--bg-elevated) 50%, var(--bg-surface) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: var(--radius);
}
.skeleton-card {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.skeleton-image { aspect-ratio: 16/9; }
.skeleton-body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.skeleton-line { height: 14px; }
.skeleton-line--short { width: 40%; }
.skeleton-line--med { width: 70%; }

/* --- Animations ------------------------------------------- */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.cursor {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 1.1s step-end infinite;
}

@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%,60% { transform: translateX(-8px); }
  40%,80% { transform: translateX(8px); }
}
.shake { animation: shake 400ms ease; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 500ms ease both; }
.fade-up-delay-1 { animation-delay: 100ms; }
.fade-up-delay-2 { animation-delay: 200ms; }
.fade-up-delay-3 { animation-delay: 300ms; }

/* --- Hero -------------------------------------------------- */
.hero {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }

.hero-label {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--accent);
  margin-bottom: var(--space-4);
  display: block;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, var(--text-6xl));
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: var(--space-4);
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  display: flex;
  align-items: center;
  gap: 2px;
}

.hero-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* --- Section headers -------------------------------------- */
.section-header {
  margin-bottom: var(--space-8);
}
.section-header h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
}
.section-header p {
  color: var(--text-secondary);
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  max-width: 55ch;
}

/* --- Filter bar ------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}
.filter-btn {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--bg-border);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 150ms ease;
}
.filter-btn:hover { color: var(--text-primary); border-color: #3a3a3a; }
.filter-btn--active {
  background: var(--accent-dim);
  border-color: var(--accent-border);
  color: var(--accent);
}

/* --- Currently-working strip ------------------------------ */
.current-strip {
  border-top: 1px solid var(--bg-border);
  border-bottom: 1px solid var(--bg-border);
  padding: var(--space-4) 0;
  margin: var(--space-16) 0;
}
.current-strip-inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-muted);
  overflow: hidden;
}
.current-strip-inner a {
  color: var(--text-secondary);
  transition: color 150ms ease;
}
.current-strip-inner a:hover { color: var(--accent); }

/* --- Social links ----------------------------------------- */
.social-links {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.social-link {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  padding: var(--space-2) var(--space-4);
  transition: all 150ms ease;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.social-link:hover { color: var(--text-primary); border-color: #3a3a3a; background: var(--bg-elevated); }

/* --- About page ------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-12);
  align-items: start;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}

.avatar-placeholder {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--bg-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 3rem;
  color: var(--text-muted);
  letter-spacing: -0.05em;
  margin-bottom: var(--space-6);
}

.quick-facts { display: flex; flex-direction: column; gap: var(--space-3); }
.quick-fact {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
}
.quick-fact__key {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  min-width: 80px;
  padding-top: 2px;
}
.quick-fact__val { color: var(--text-secondary); }

.bio-text { font-size: var(--text-base); color: var(--text-secondary); line-height: 1.8; }
.bio-text + .bio-text { margin-top: var(--space-4); }
.bio-text strong { color: var(--text-primary); font-weight: 600; }

.skills-section { margin-top: var(--space-16); }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-8);
}
.skill-group__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.skill-group__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.timeline { margin-top: var(--space-16); }
.timeline-items { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--space-6);
  padding: var(--space-6) 0;
  border-left: 1px solid var(--bg-border);
  padding-left: var(--space-6);
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: calc(var(--space-6) + 8px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bg-border);
  border: 1px solid var(--bg-elevated);
}
.timeline-date {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  padding-top: 3px;
}
.timeline-role { font-weight: 600; font-size: var(--text-base); }
.timeline-company { color: var(--text-secondary); font-size: var(--text-sm); margin-top: 2px; }
.timeline-desc { color: var(--text-muted); font-size: var(--text-sm); margin-top: var(--space-2); line-height: 1.6; }

@media (max-width: 640px) {
  .timeline-item { grid-template-columns: 1fr; gap: var(--space-2); }
}

/* --- Login page ------------------------------------------- */
.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-base);
  padding: var(--space-6);
}
.login-logo {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--accent);
  margin-bottom: var(--space-12);
  letter-spacing: 0.05em;
}
.login-card {
  width: 100%;
  max-width: 360px;
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.login-card__title {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.login-error {
  font-size: var(--text-xs);
  color: var(--danger);
  font-family: var(--font-mono);
  margin-top: var(--space-4);
  display: none;
}

/* --- Admin panel ------------------------------------------ */
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--bg-border);
}
.admin-title {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: 700;
}
.admin-title span { color: var(--text-muted); font-weight: 400; font-size: var(--text-sm); margin-left: var(--space-3); }
.admin-actions { display: flex; gap: var(--space-3); }

.project-table {
  width: 100%;
  border-collapse: collapse;
}
.project-table th {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--bg-border);
}
.project-table td {
  padding: var(--space-4);
  border-bottom: 1px solid var(--bg-border);
  font-size: var(--text-sm);
  vertical-align: middle;
}
.project-table tr:last-child td { border-bottom: none; }
.project-table tr:hover td { background: var(--bg-elevated); }

.table-thumb {
  width: 48px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  display: block;
}
.table-actions { display: flex; gap: var(--space-2); align-items: center; white-space: nowrap; }

.empty-state {
  text-align: center;
  padding: var(--space-16);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}
.empty-state p { margin-top: var(--space-2); font-size: var(--text-xs); }

/* Image preview */
.img-preview {
  width: 120px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  margin-top: var(--space-3);
  border: 1px solid var(--bg-border);
  display: none;
}

/* Responsive table → cards at mobile */
@media (max-width: 768px) {
  .project-table thead { display: none; }
  .project-table, .project-table tbody, .project-table tr, .project-table td {
    display: block; width: 100%;
  }
  .project-table tr {
    background: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius);
    margin-bottom: var(--space-3);
    padding: var(--space-4);
  }
  .project-table td { border: none; padding: var(--space-1) 0; }
  .project-table tr:hover td { background: transparent; }
}

/* --- Dividers / misc -------------------------------------- */
.divider {
  border: none;
  border-top: 1px solid var(--bg-border);
  margin: var(--space-16) 0;
}

.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
