/* ============ portfolio archive page ============ */
.pt-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--nav-pad-top) var(--section-pad-x) var(--nav-pad-bottom);
  color: var(--c-ink);
}
.pt-brand-link { font-size: var(--fs-small); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pt-year { opacity: .6; }
.pt-contact { font-size: var(--fs-small); font-weight: 600; text-transform: uppercase; }

.pt-header {
  max-width: var(--container-max);
  margin: 5rem auto 3rem;
  padding: 0 var(--section-pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}
.pt-title { 
  font-size: var(--fs-h2); 
  line-height: 1.2; 
  font-weight: 700; 
  margin: 0 0 1.5rem; 
  text-align: center; 
}
.pt-sub { font-size: var(--fs-medium); line-height: 1.6; font-weight: 400; opacity: .65; margin: 0; }

.pt-grid-wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-pad-x) 6rem;
}
.pt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  justify-content: center;
}
.pt-item {
  border-radius: var(--r-card);
  overflow: hidden;
  background-color: var(--c-white);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(44,45,47,.08);
}
.pt-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  background-color: #f8fafc;
}
.pt-item figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .8rem .9rem;
  height: 3.2rem;
  box-sizing: border-box;
  background-color: var(--c-white);
}
.pt-brand { 
  font-size: var(--fs-small); 
  font-weight: 600; 
  line-height: 1.2; 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis;
  flex: 1;
}
.pt-tags {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.15rem;
  flex: none;
}
.pt-industry {
  font-size: 0.55rem;
  font-weight: 600;
  color: #333;
  letter-spacing: -0.03em;
  line-height: 1;
}
.pt-cat { font-size: var(--fs-tiny); font-weight: 500; opacity: .5; letter-spacing: .02em; line-height: 1; }

.pt-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: var(--foot-bar-pad-y) var(--section-pad-x);
  background-color: var(--c-black-bar);
  color: var(--c-credit-dim);
  font-size: var(--fs-small);
}
.pt-footer p { margin: 0; }
.pt-strong { color: var(--c-off-white); font-weight: 600; }
.pt-footer-link, .pt-footer-links a { color: var(--c-credit-dim); font-weight: 500; }
.pt-footer-link:hover, .pt-footer-links a:hover { color: var(--c-off-white); }
.pt-footer-links { display: flex; align-items: center; gap: 1em; }
.pt-divider { width: 1px; height: 12px; background-color: var(--c-vline); opacity: .4; }

@media screen and (max-width: 991px) {
  .pt-navbar, .pt-header, .pt-grid-wrap { padding-left: 2em; padding-right: 2em; }
  .pt-grid { grid-template-columns: repeat(2, 1fr); }
  .pt-title { font-size: 2.5rem; }
}
@media screen and (max-width: 767px) {
  .pt-grid { grid-template-columns: 1fr; }
  .pt-footer { flex-direction: column; gap: .75rem; text-align: center; }
}

/* Filter Tabs Style */
.pt-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  user-select: none;
}
.pt-filter-btn {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: var(--fs-regular);
  font-weight: 500;
  color: var(--c-ink);
  opacity: 0.5;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  text-decoration: underline;
  text-underline-offset: 6px;
  transition: opacity 0.2s ease, color 0.2s ease;
  font-family: inherit;
  display: inline-block;
  user-select: none;
}
.pt-filter-btn:hover {
  opacity: 0.9;
  color: #000000;
}
.pt-filter-btn.active {
  opacity: 1;
  font-weight: 700;
  color: #000000;
}
.pt-filter-btn:focus, .pt-filter-btn:active {
  outline: none !important;
  border: none !important;
  background: transparent !important;
}
.pt-filter-divider {
  opacity: 0.3;
  color: var(--c-ink);
  font-size: var(--fs-regular);
  user-select: none;
}
