/* Stats row on the home page */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.stat { border: 1px solid var(--line); border-radius: 14px; padding: 14px 12px; background: var(--chip); }
.stat b { display: block; font-size: 24px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat span { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 2px; }
@media (max-width: 480px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Click to enlarge on the work pages */
#work-grid .thumb img, #work-grid .thumb video { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img, .lightbox video { max-width: 100%; max-height: 100%; border-radius: 12px; cursor: default; }
.lightbox button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.26); }

/* The text shown after clicking the discord or email icon uses the normal site font */
.note { font-family: var(--font); font-size: 14px; }

/* Open for work line on the home page */
.hire { display: flex; gap: 10px; align-items: baseline; }
.hire .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); transform: translateY(-1px); }

/* Open for work status in the header */
.meta .status { color: var(--muted); }
.meta .status .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); }
