/* My Work (portfolio) — hero matches shop / process storefront pattern */

.page-portfolio {
    background: var(--home-cream, #fbfaf7);
}

.page-portfolio #main {
    padding-top: 0;
}

.page-portfolio .site-header.site-header--mockup {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid #ece7df;
}

.page-portfolio .header-mockup__nav a.is-active {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1.5px;
}

.portfolio-hero {
    position: relative;
    min-height: clamp(420px, 56vh, 640px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    margin-bottom: 0;
}

.portfolio-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.portfolio-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 42%;
}

.portfolio-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.58) 0%,
        rgba(0, 0, 0, 0.34) 42%,
        rgba(0, 0, 0, 0.08) 70%,
        rgba(0, 0, 0, 0) 100%
    );
}

.portfolio-hero__shell {
    position: relative;
    z-index: 1;
    width: var(--home-shell);
    margin-inline: auto;
    padding: clamp(36px, 6vh, 56px) 0;
}

.portfolio-hero__content {
    width: min(27rem, 100%);
    text-align: left;
}

.portfolio-hero__content .home-kicker {
    color: rgba(255, 255, 255, 0.88);
}

.portfolio-hero__title {
    margin: 0 0 16px;
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    line-height: 1.08;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.22);
}

.portfolio-hero__lead {
    margin: 0;
    max-width: 26rem;
    font-size: clamp(0.95rem, 1.7vw, 1.05rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
}

/* Grid section — matches shop catalog / custom order head */
.portfolio-catalog {
    padding: clamp(24px, 3.5vw, 32px) 0 clamp(12px, 2vw, 20px);
    background: var(--home-cream, #fbfaf7);
}

.portfolio-catalog__shell {
    width: var(--home-shell);
    margin-inline: auto;
}

.portfolio-catalog-head {
    margin-bottom: clamp(20px, 3vw, 28px);
}

.portfolio-catalog__title {
    margin: 0;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    line-height: 1.1;
    color: var(--home-ink, #1a1a1a);
    text-align: left;
}

.page-portfolio .portfolio-filters--scroll {
    margin-bottom: clamp(20px, 3vw, 28px);
}

.portfolio-catalog .portfolio-empty-state {
    margin: 0;
    width: 100%;
    padding: clamp(32px, 5vw, 40px) 24px;
    font-size: 0.95rem;
}
