/* A quiet editorial light, keeping the work itself in the foreground. */
.portfolio-cover {
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  row-gap: 32px;
}
.portfolio-cover [data-hero] {
  min-width: 0;
  container-type: inline-size;
}
.portfolio-title {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 200;
  font-size: min(143px, 14vw);
  font-size: min(143px, 16cqw);
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.portfolio-cover-header {
  flex-wrap: wrap;
  gap: 12px 24px;
}
.portfolio-cover-header > span,
.portfolio-cover [data-scrollhint] {
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .portfolio-cover-header,
  .portfolio-cover-footer {
    font-size: 10px !important;
    line-height: 1.6;
  }
  .portfolio-cover-footer {
    flex-direction: column;
    align-items: flex-start !important;
  }
}
.portfolio-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at var(--light-x, 50%) var(--light-y, 45%), rgba(255, 249, 235, .42), transparent 65%);
}
@keyframes portfolio-title-enter {
  from { opacity: 0; transform: translateY(24px); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .portfolio-cover [data-hero] > div {
    animation: portfolio-title-enter 1.6s cubic-bezier(.2,.7,.2,1) both;
  }
}
a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  body *, body *::before, body *::after {
    animation: none !important;
    transition: none !important;
  }
}
