/* Shared grid and image dimensions for the approved single-page study. */
.bayview-case{--bv-gap:64px;--bv-space:64px;--bv-image:min(580px,calc(100vh - 190px));color:#20232a}
@supports(height:100svh){.bayview-case{--bv-image:min(580px,calc(100svh - 190px))}}
.bv-intro{padding-top:18px;padding-bottom:var(--bv-space)}
.bv-back{display:inline-flex;align-items:center;min-height:40px;font-size:13px;color:#6b6c74;margin-bottom:24px}
.bv-hero,.bv-identity{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:var(--bv-gap);align-items:center}
.bv-title,.bv-section-heading{min-width:0;max-width:460px}
.bv-kicker{font-size:11px;line-height:1.5;text-transform:uppercase;letter-spacing:.15em;font-weight:600;color:var(--accent);margin:0 0 22px}
.bv-title h1{font-size:clamp(42px,4.5vw,64px);line-height:1.04;letter-spacing:-.055em;font-weight:600;margin:0}
.bv-title h1 span{display:block;font-size:clamp(23px,2.4vw,32px);font-weight:400;letter-spacing:-.035em;color:#7b7c81;margin-top:18px;line-height:1.2}
.bv-description{max-width:430px;margin:24px 0 0;font-size:16px;line-height:1.75;color:#6a6b72}
.bv-description>p{margin:0 0 16px}.bv-description>p:last-child{margin-bottom:0}
.bv-detail-link{display:inline-flex;align-items:center;gap:24px;font-size:13px;min-height:44px;margin-top:20px}.bv-detail-link span,.bv-service-link a{color:var(--accent)}
.bv-description .bv-service-link{font-size:13px;margin-top:24px;line-height:1.7}
.bv-main-image,.bv-original{margin:0;width:100%;max-width:var(--bv-image);justify-self:end}
.bv-main-image img,.bv-original img{display:block;width:100%;height:auto;aspect-ratio:1;border-radius:16px}
.bv-identity{border-top:1px solid var(--line);padding-top:var(--bv-space);padding-bottom:var(--bv-space);scroll-margin-top:110px}
.bv-section-heading h2,.bv-end h2{font-size:clamp(30px,3.3vw,44px);line-height:1.12;letter-spacing:-.045em;font-weight:500;margin:0}
.bv-end{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:32px;padding-top:48px;padding-bottom:48px}.bv-end .bv-kicker{margin-bottom:18px}.bv-end .pill{gap:24px}
.bv-project-nav{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid var(--line);padding-top:28px;padding-bottom:40px;font-size:13px}.bv-project-nav>a:last-child{display:flex;align-items:center;gap:22px;color:#777880}.bv-project-nav strong{font-size:17px;font-weight:500;color:#20232a}
@media(max-width:1000px){.bayview-case{--bv-gap:36px;--bv-space:52px}.bv-title h1{font-size:46px}.bv-description{font-size:15px}}
@media(max-width:760px){.bayview-case{--bv-gap:28px;--bv-space:40px;--bv-image:min(580px,calc(100svh - 160px))}.bv-intro{padding-top:12px}.bv-back{margin-bottom:22px}.bv-hero,.bv-identity{grid-template-columns:1fr}.bv-title,.bv-section-heading{max-width:none}.bv-kicker{margin-bottom:16px}.bv-title h1{font-size:42px}.bv-title h1 br{display:none}.bv-title h1 span{margin-top:14px;font-size:25px}.bv-description{margin-top:22px;max-width:none;font-size:16px}.bv-detail-link{display:none}.bv-main-image,.bv-original{justify-self:center}.bv-end{align-items:flex-start;flex-direction:column;padding-top:36px;padding-bottom:36px;gap:26px}.bv-project-nav{align-items:flex-start}.bv-project-nav>a:last-child{align-items:flex-end;flex-direction:column;gap:8px}}
@media(max-height:650px) and (min-width:761px){.bv-title h1{font-size:40px}.bv-title h1 span{font-size:24px;margin-top:12px}.bv-kicker{margin-bottom:14px}.bv-description{margin-top:18px;font-size:15px}.bv-detail-link{margin-top:12px}}
/* Consistent blue links and blue call-to-action buttons. */
.bayview-case a:not(.pill),.bayview-case .bv-project-nav a strong{color:var(--accent)}
.bayview-case a:not(.pill):hover,.bayview-case .bv-project-nav a:hover strong{color:var(--accent-hover)}
.bayview-case .pill{background:var(--accent);border-color:var(--accent);color:#fff}
.bayview-case .pill:hover{background:var(--accent-hover);border-color:var(--accent-hover);color:#fff}

/* Allow longer project names to wrap within the same approved grid. */
.approved-featured .bv-title h1,.approved-featured .bv-project-nav strong{overflow-wrap:break-word}
.approved-featured .bv-project-nav>a{min-width:0}
.approved-featured .bv-project-nav>a:last-child{text-align:right}

/* Match the homepage project presentations to the approved square frames. */
.home-selected-case .bv-main-image,.home-selected-case .bv-original{aspect-ratio:1;overflow:hidden;border-radius:16px}
.home-selected-case .bv-main-image img,.home-selected-case .bv-original img{height:100%;object-fit:cover}
.home-copperhead .bv-main-image img{object-position:62.5% center}
.home-selected-case .bv-label-detail img{transform:scale(1.45);transform-origin:50% 65%}
