/* Styles for portfolio.qmd only. Everything is scoped under .portfolio so it
   can't leak into the rest of the site; fonts, link colors, and the footer
   come from the site theme (cosmo + custom.scss). */

.portfolio {
  --pf-muted: #4a5160;     /* darkened from #5b626f for stronger contrast */
  --pf-line: #e6e2d9;
  --pf-accent: #1a5fb4;    /* same blue as the site's link color */
}

.portfolio .intro { font-size: 1.08rem; margin: 0 0 8px; }

.portfolio section.project {
  margin: 44px 0 0;
  padding-top: 34px;
  border-top: 1px solid var(--pf-line);
}
.portfolio > section.project:first-of-type { border-top: none; padding-top: 0; }

.portfolio .project h2 { font-size: 1.5rem; margin: 0 0 4px; }

.portfolio .kicker {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--pf-accent);
  font-weight: 600;
  margin: 0 0 10px;
}

.portfolio .desc { margin: 0 0 14px; }
.portfolio .links { font-size: .96rem; margin: 0 0 20px; }
.portfolio .links a { margin-right: 18px; white-space: nowrap; }
.portfolio .archived { color: var(--pf-muted); font-style: italic; }

.portfolio .shots { display: flex; flex-wrap: wrap; gap: 16px; }
.portfolio figure.shot { flex: 1 1 340px; margin: 0; }
.portfolio figure.shot img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--pf-line);
  border-radius: 8px;
  box-shadow: 0 8px 26px rgba(20, 24, 31, .09);
}
.portfolio figcaption { font-size: .85rem; color: var(--pf-muted); margin-top: 8px; }

.portfolio .more h2 { font-size: 1.25rem; margin: 0 0 10px; }
.portfolio .more ul { margin: 0; padding-left: 1.1em; }
.portfolio .more li { margin: 6px 0; }
