/* Hazel — matches vintageunicorn.com: fixed left sidebar with the logo and
   nav, filterable 4-across project grid, minimal type. */
:root { --ui-font: "Source Sans Pro", -apple-system, sans-serif; }
body { font-family: var(--ui-font); font-size: 15px; background: #fff; color: #3c3c3c; }
h1, h2, h3, h4 { font-family: var(--ui-font); font-weight: 600; }

.site-header {
  position: fixed; top: 0; left: 0; bottom: 0; width: 260px; z-index: 60;
  background: #fff; border-bottom: none; border-right: 1px solid #f0f0f0;
  backdrop-filter: none; display: flex; align-items: flex-start;
}
.header-inner { flex-direction: column; align-items: stretch; padding: 210px 30px 40px; gap: 22px; width: 100%; }
.header-inner .logo { display: none; }
.nav-list { flex-direction: column; align-items: flex-end; text-align: right; gap: 12px; }
.nav-list a, .nav-sub-toggle {
  font-family: var(--ui-font); font-size: 13px; text-transform: uppercase;
  letter-spacing: 1.4px; color: #6d6d6d; font-weight: 600;
}
.nav-list a:hover { color: var(--accent); text-decoration: none; }
.brand-band { position: fixed; top: 34px; left: 0; width: 260px; text-align: center; padding: 0 30px; z-index: 62; background: none; pointer-events: auto; }
.brand-band img { max-height: 150px; margin: 0 auto; }
main, .site-footer { margin-left: 260px; }

/* filter bar */
.pf-filters {
  display: flex; flex-wrap: wrap; gap: 0; justify-content: center;
  margin: 34px 0 26px; font-size: 15px;
}
.pf-filters button {
  background: none; border: 0; cursor: pointer; font: inherit; color: #4a4a4a;
  padding: 4px 18px; position: relative;
}
.pf-filters button + button::before {
  content: "|"; position: absolute; left: -2px; color: #ccc;
}
.pf-filters button:hover, .pf-filters button.active { color: var(--accent); }

/* project grid */
.pf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 0 0 60px; }
.pf-item { display: block; color: inherit; position: relative; overflow: hidden; background: #fafafa; }
.pf-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.5s ease, opacity 0.3s; }
.pf-item:hover img { transform: scale(1.04); opacity: 0.9; }
.pf-item:hover { text-decoration: none; }
.pf-cap {
  position: absolute; inset: auto 0 0 0; background: rgba(255,255,255,0.94);
  padding: 10px 14px; transform: translateY(100%); transition: transform 0.28s ease;
}
.pf-item:hover .pf-cap { transform: translateY(0); }
.pf-cap strong { display: block; font-size: 0.92rem; font-weight: 600; color: #333; }
.pf-cap span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); }
/* animated filtering: items fade + scale out, then the grid reflows —
   mirrors the MixItUp transition the original theme used. */
.pf-item {
  transition: opacity 0.32s ease, transform 0.32s ease;
  opacity: 1; transform: scale(1);
}
.pf-item.leaving { opacity: 0; transform: scale(0.86); }
.pf-item.hide { display: none; }
.pf-item.entering { opacity: 0; transform: scale(0.86); }
.pf-grid { transition: height 0.32s ease; }

/* project detail */
.page-project .post-head { text-align: center; padding: 46px 0 8px; }
.page-project h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.pf-cats-line { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.6px; color: var(--accent); }
.pf-gallery { display: grid; gap: 22px; padding: 24px 0 70px; }
.pf-gallery img { width: 100%; border-radius: 0; }
.site-footer { background: #4a4a4a; text-align: center; }

@media (max-width: 1000px) { .pf-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .site-header { position: static; width: auto; border-right: none; border-bottom: 1px solid #eee; }
  .header-inner { flex-direction: row; justify-content: space-between; padding: 14px 20px; }
  .brand-band { position: static; width: auto; }
  .nav-list { flex-direction: row; align-items: center; text-align: left; }
  .brand-band { position: static; width: auto; padding: 20px; }
  main, .site-footer { margin-left: 0; }
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
}
