/* Shared introduction and closing for Showcase pages. */

.portfolio-hero { --hero-edge:max(48px,calc((100vw - var(--width))/2)); position:relative; isolation:isolate; display:flex; align-items:center; min-height:610px; padding:96px 0; }
.portfolio-hero-photo { position:absolute; z-index:-2; inset:0 calc(-1 * var(--hero-edge)); margin:0; overflow:hidden; pointer-events:none; mask-image:linear-gradient(180deg,#000 75%,transparent); }
.portfolio-hero-photo img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.portfolio-hero::after { content:""; position:absolute; z-index:-1; inset:0 calc(-1 * var(--hero-edge)); background:linear-gradient(90deg,#060d15ed 5%,#060d15bb 30%,#060d1533 66%,transparent),linear-gradient(0deg,var(--bg),transparent 30%); pointer-events:none; }
.portfolio-hero-copy { width:min(610px,53%); min-width:0; }
.portfolio-hero-photo,.portfolio-hero::after { bottom:-12px; }
.portfolio-hero-copy .eyebrow { margin-bottom:22px; }
.portfolio-hero-copy h1 { font-size:clamp(36px,4.2vw,58px); font-weight:600; line-height:1.08; letter-spacing:-.05em; text-wrap:balance; }
.portfolio-hero-copy>p:last-child { max-width:490px; margin-top:24px; color:#bed0db; font-size:16px; line-height:1.8; }
.portfolio-cta { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:40px; margin-block:var(--space-home-section); padding:36px 0; }
.portfolio-cta-visual { min-width:0; color:var(--cyan); filter:drop-shadow(0 20px 14px #0004); }
.portfolio-cta-visual svg { display:block; width:100%; height:auto; }
.portfolio-cta-copy { min-width:0; }
.portfolio-cta .eyebrow { margin-bottom:18px; }
.portfolio-cta h2 { max-width:560px; font-size:var(--closing-title-size); line-height:1.16; letter-spacing:-.035em; }
.portfolio-cta-description { max-width:480px; margin-top:20px; font-size:16px; line-height:1.8; }
.portfolio-cta .button { margin-top:26px; }
@media(max-width:1150px) {
.portfolio-hero { --hero-edge:32px; }
}

@media(max-width:900px) {
.portfolio-hero-copy { width:62%; }
}

@media(max-width:760px) {
.portfolio-hero { min-height:450px; padding:64px 0; }
.portfolio-hero-copy { width:100%; max-width:540px; }
.portfolio-hero-copy h1 { font-size:clamp(32px,7.5vw,46px); }
.portfolio-hero-photo img { object-position:66% center; }
.portfolio-hero::after { background:linear-gradient(90deg,#060d15eb,#060d1580),linear-gradient(0deg,var(--bg),transparent 40%); }
.portfolio-cta { grid-template-columns:1fr; gap:16px; padding:16px 0; }
.portfolio-cta-visual { max-width:440px; margin-inline:auto; }
.portfolio-cta-description { font-size:15px; }
}

@media(max-width:680px) {
.portfolio-hero { --hero-edge:20px; }
}

@media(max-width:370px) {
.portfolio-hero { --hero-edge:16px; }
}

