/* Portfolio heroes: approved brand artwork, responsive composition and readable tint. */
.portfolio-banner{position:relative;isolation:isolate;overflow:hidden;background:#180b1c;color:#fff}
.portfolio-banner:before{content:"";position:absolute;z-index:-1;inset:-80px;background-image:var(--banner-art);background-size:cover;background-position:center;filter:blur(55px) brightness(.42);transform:scale(1.08)}
.portfolio-banner picture{display:block;position:relative;height:clamp(610px,55vw,810px);padding:20px 0 105px}
.portfolio-banner picture img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;position:static}
.portfolio-banner-details{position:absolute;inset:auto 0 0;z-index:1;display:grid;grid-template-columns:1.1fr 1fr;align-items:end;gap:25px;padding:80px 4% 30px;background:linear-gradient(180deg,#14061200,#140612c7 38%,#140612f5)}
.portfolio-banner-details p{font-size:10px;line-height:1.7;letter-spacing:1.6px;color:#eee4f4;margin:0 0 12px}
.portfolio-banner-details h1{font-size:clamp(44px,5.2vw,80px);line-height:.98;letter-spacing:-.02em;text-transform:uppercase;color:#fff;margin:0;overflow-wrap:anywhere;text-wrap:balance}
.portfolio-banner-disciplines{justify-self:end;max-width:100%}
.portfolio-banner .student-tags{display:flex;flex-wrap:wrap;gap:7px}
.portfolio-banner .student-tags span{font-size:12px;line-height:1.4;padding:9px 15px;border:1px solid #d9c8e566;border-radius:30px;background:#ffffff14;color:#fff;backdrop-filter:blur(5px)}
.portfolio-banner .student-tags span:first-child{background:var(--yellow);border-color:var(--yellow);color:var(--ink)}
@media(min-width:701px) and (max-width:1100px){.portfolio-banner picture{height:720px;padding-bottom:140px}.portfolio-banner-details h1{font-size:56px}.portfolio-banner .student-tags span{font-size:11px;padding:8px 12px}}
@media(max-width:700px){.portfolio-banner picture{height:auto;padding:0 0 175px}.portfolio-banner picture img{height:auto;width:100%;aspect-ratio:1;object-fit:contain}.portfolio-banner-details{grid-template-columns:1fr;gap:17px;padding:65px 5% 26px}.portfolio-banner-details h1{font-size:clamp(40px,11vw,58px)}.portfolio-banner-details p{font-size:9px;letter-spacing:1.3px;margin-bottom:10px}.portfolio-banner-disciplines{justify-self:start}.portfolio-banner .student-tags span{font-size:11px;padding:8px 12px}}
@media(prefers-reduced-transparency:reduce){.portfolio-banner .student-tags span{backdrop-filter:none;background:#33243e}}

/* Keep the whole image behind the overlay; no separate text panel or image cut. */
.portfolio-banner picture{padding:0;height:clamp(610px,55vw,810px)}
.portfolio-banner-details{background:linear-gradient(180deg,rgba(20,6,18,0),rgba(20,6,18,.58) 38%,rgba(20,6,18,.9) 100%)}
@media(min-width:701px) and (max-width:1100px){.portfolio-banner picture{height:720px;padding:0}}
@media(max-width:700px){.portfolio-banner picture{height:auto;padding:0}.portfolio-banner picture img{height:auto;aspect-ratio:auto}.portfolio-banner-details{padding-top:65px}}

/* Full-width artwork at its native proportions; no artificial side panels. */
.portfolio-banner{width:100%;max-width:none}
.portfolio-banner:before{content:none}
.portfolio-banner picture{display:block;width:100%;height:auto;padding:0}
.portfolio-banner picture img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}
@media(min-width:701px) and (max-width:1100px){.portfolio-banner picture{height:auto;padding:0}}
@media(max-width:700px){.portfolio-banner picture{height:auto;padding:0}.portfolio-banner picture img{width:100%;height:auto;aspect-ratio:auto}}
