/* Energy Bess: project evidence and confirmed partners. Scoped additive layer. */
.project-case { scroll-margin-top: 100px; }
.project-case .section-heading { margin-bottom: 36px; }
.project-case .section-heading h2 { max-width: 800px; font-size: clamp(2rem, 3.8vw, 3.8rem); line-height: 1.12; }
.project-case .project-case__location { margin: 20px 0 0; color: #f1ede5; font-size: .88rem; line-height: 1.6; }
.project-case__grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; gap: clamp(28px, 4vw, 60px); }
.project-case__grid > * { min-width: 0; }
.project-case__figure { margin: 0; }
.project-video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #090909; border: 1px solid rgba(255,255,255,.2); overflow: hidden; border-radius: 10px; }
.project-video__start { position: absolute; inset: 0; display: flex; align-items: flex-end; text-decoration: none; color: #fff; }
.project-video__start[hidden] { display: none; }
.project-video__start::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, transparent 38%, rgba(0,0,0,.86)); pointer-events: none; }
.project-video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-video__label { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; padding: clamp(16px, 2.5vw, 30px); }
.project-video__play { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; background: #e17339; color: #141414; border-radius: 50%; transition: transform .18s ease; }
.project-video__play svg { width: 18px; height: 18px; margin-left: 3px; fill: currentColor; }
.project-video__label strong { display: block; font-size: clamp(.9rem, 1.4vw, 1.1rem); font-weight: 600; }
.project-video__label small { display: block; margin-top: 5px; font-size: .75rem; color: #f1ede5; }
.project-video__start:hover .project-video__play { transform: scale(1.08); }
.project-video__start:focus-visible { outline: 3px solid #fff; outline-offset: -6px; box-shadow: none; }
.project-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.project-video__loading { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; margin: 0; padding: 24px; color: #f1ede5; background: #141414; font-size: .85rem; text-align: center; pointer-events: none; }
.project-video__loading[hidden] { display: none; }
.project-video__meta { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-top: 14px; font-size: .75rem; line-height: 1.7; color: #f1ede5; }
.project-video__meta p { margin: 0; max-width: 38ch; }
.project-video__meta a, .project-video__close { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.project-video__close { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.project-video__close[hidden] { display: none; }
.project-video__status { margin: 10px 0 0; color: #f1ede5; font-size: .75rem; line-height: 1.6; }
.project-video__status:empty { display: none; }
.project-case__summary { margin: 0 0 23px; font-size: .95rem; line-height: 1.8; color: #f1ede5; }
.project-specs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.2); }
.project-specs > div { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.project-specs > div:nth-child(odd) { padding-right: 16px; }
.project-specs dt { color: #f1ede5; font-size: .7rem; line-height: 1.5; margin-bottom: 7px; }
.project-specs dd { color: #fff; margin: 0; font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.3; letter-spacing: -.035em; }
.project-specs dd span { font-size: .7em; letter-spacing: 0; }
.project-case__roles { margin: 22px 0 24px; font-size: .78rem; color: #f1ede5; line-height: 1.85; }
.project-case__roles strong { color: #fff; font-weight: 600; }
.project-case__cta { display: inline-flex; max-width: 100%; white-space: normal; text-align: left; }
.project-details { margin-top: 42px; border-top: 1px solid rgba(255,255,255,.22); }
.project-details > summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 0; cursor: pointer; list-style: none; font-size: .85rem; font-weight: 500; }
.project-details > summary::-webkit-details-marker { display: none; }
.project-details > summary::after { content: '+'; font-size: 1.5rem; font-weight: 400; color: #e17339; }
.project-details[open] > summary::after { content: '−'; }
.project-details .field-gallery { padding-top: 12px; }
.project-details .field-shot { opacity: 1; transform: none; visibility: visible; }
.project-partners { padding: clamp(40px, 5vw, 68px) 0; color: #141414; background: #f1ede5; }
.project-partners__inner { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 1.4fr); align-items: center; gap: 36px; }
.project-partners h2 { margin: 0 0 12px; color: #141414; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.3; }
.project-partners p { max-width: 37ch; margin: 0; color: #141414; font-size: .8rem; line-height: 1.75; }
.project-partners__logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; gap: 16px; }
.project-partners__logos li { min-height: 112px; display: flex; align-items: center; justify-content: center; padding: 24px; background: #fff; border: 1px solid rgba(20,20,20,.1); border-radius: 6px; }
.project-partners__logos img { display: block; width: 100%; max-width: 230px; height: auto; max-height: 60px; object-fit: contain; }
.project-partners__logos .project-partners__logo--dark { background: #141414; border-color: #141414; }
@media(max-width: 900px) {
 .project-case__grid { grid-template-columns: 1fr; }
 .project-case__info { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; align-items: start; }
 .project-case__summary { grid-column: 1; }
 .project-specs { grid-column: 2; grid-row: 1 / span 3; }
 .project-case__roles { grid-column: 1; margin: 0 0 24px; }
 .project-case__cta { grid-column: 1; justify-self: start; }
 .project-partners__inner { grid-template-columns: 1fr; gap: 24px; }
 .project-partners p { max-width: 60ch; }
}
@media(max-width: 560px) {
 .project-case__info { display: block; }
 .project-case__summary { margin-bottom: 22px; }
 .project-case__roles { margin: 22px 0; }
 .project-case__cta { width: 100%; justify-content: space-between; font-size: .78rem; }
 .project-video__label { gap: 10px; }
 .project-video__play { flex-basis: 40px; width: 40px; height: 40px; }
 .project-video__label small { font-size: .65rem; }
 .project-partners__logos { gap: 10px; }
 .project-partners__logos li { padding: 18px 14px; min-height: 86px; }
 .project-partners__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .project-partners__logos li:last-child { grid-column: 1 / -1; justify-self: center; width: calc((100% - 10px) / 2); box-sizing: border-box; }
 .project-details { margin-top: 30px; }
 .project-details > summary { font-size: .78rem; }
}
@media(prefers-reduced-motion: reduce) { .project-video__play { transition: none; } }
