/*
 * portfolio.css — Client Portfolio page styles
 * Page-specific styles for portfolio.html.
 * Global tokens, resets, and shared components live in styles.css.
 */

/* ── FULL-HEIGHT LAYOUT ── */
/* main needs column flex so .portfolio-hero can flex: 1 within it */
main {
  display: flex;
  flex-direction: column;
}

/* ── PORTFOLIO HERO ── */
.portfolio-hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 20vh;
}

.portfolio-headline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1em;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 1;
  padding-right: 20%;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 55%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.parallax-row {
  display: flex;
  gap: 0.45em;
  transform-origin: left center;
  will-change: transform;
}

.parallax-word {
  display: block;
  font-size: clamp(2.5rem, 5.5vw, 6.5rem);
  font-weight: 800;
  transform-origin: left center;
  will-change: transform;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .portfolio-hero { min-height: calc(100vh - 10rem); }
}

/* ── PRINT ── */
@media print {
  .portfolio-headline {
    -webkit-text-fill-color: var(--text);
    background: none;
  }
}
