/* ENBER V9.0 - Project video: listing + detail + admin */
.enber-project-film-label{position:absolute;left:16px;bottom:16px;z-index:2;display:inline-flex;align-items:center;gap:8px;color:#fff;background:rgba(2,26,17,.83);border:1px solid rgba(177,247,198,.5);border-radius:40px;font-weight:750;font-size:11px;letter-spacing:.12em;padding:9px 14px;backdrop-filter:blur(8px)}
#enber-project-grid .project-cover{position:relative;overflow:hidden}
#enber-project-grid .enber-project-video-preview{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1;display:block;background:#12291e;transition:transform .7s ease}
#enber-project-grid .project-card:hover .enber-project-video-preview{transform:scale(1.025)}
.enber-project-cinema{padding:clamp(30px,5vw,76px) 0;background:#0b2119;color:#f6faf7}
.enber-project-cinema .shell{width:min(100% - 48px,1180px);margin-inline:auto}
.enber-cinema-heading{margin-bottom:24px}.enber-cinema-heading h2{color:#fff;font-size:clamp(29px,3.2vw,48px);letter-spacing:-.04em;margin:12px 0 7px}.enber-cinema-heading p{color:#c3d8cc}
.enber-cinema-frame{position:relative;border-radius:22px;overflow:hidden;aspect-ratio:16/9;border:1px solid #37634b;box-shadow:0 36px 84px rgba(0,0,0,.25);background:radial-gradient(circle at center,#1c5038,#061910)}
.enber-cinema-frame video{display:block;width:100%;height:100%;object-fit:contain;background:#071c14}
.enber-cinema-corner{pointer-events:none;position:absolute;left:18px;top:17px;color:#fff;letter-spacing:.17em;font-size:11px;text-shadow:0 2px 8px #000}
.enber-admin-video-field{margin:16px 0;padding:18px;border-radius:14px;border:1px solid #3b6650;background:rgba(38,95,65,.09)}
.enber-admin-video-field input{display:block;width:100%;margin-top:12px}.enber-admin-video-preview{display:block;width:min(100%,490px);aspect-ratio:16/9;object-fit:contain;margin-top:12px;border-radius:10px;background:#061a12}.enber-admin-video-remove{margin-bottom:18px}
@media(max-width:640px){.enber-project-cinema .shell{width:calc(100% - 32px)}.enber-cinema-frame{border-radius:12px}.enber-cinema-corner{font-size:9px;left:10px;top:10px}}
@media(prefers-reduced-motion:reduce){#enber-project-grid .enber-project-video-preview{transition:none}}

/* V9.1 — Compact cinematic hero: no extra tall video section */
.enber-project-detail-hero{position:relative;isolation:isolate;overflow:hidden;min-height:clamp(270px,29vw,410px);display:flex;align-items:center;padding:clamp(48px,6vw,90px) 0!important}
.enber-project-detail-hero.enber-project-has-film{background:#071c14;color:#fff}
.enber-project-detail-hero .enber-project-hero-content{position:relative;z-index:2;width:100%}
.enber-project-detail-hero.enber-project-has-film::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(5,20,15,.95) 0%,rgba(5,20,15,.83) 37%,rgba(5,20,15,.42) 78%,rgba(5,20,15,.28) 100%)}
.enber-project-hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;z-index:0;pointer-events:none}
.enber-project-has-film h1{color:#fff!important;max-width:860px;text-shadow:0 2px 20px rgba(0,0,0,.27)}
.enber-project-has-film .enber-project-hero-content>p{color:#e2f0e8!important;max-width:700px}
.enber-project-has-film .section-kicker{color:#a0ebbd!important}
.enber-project-has-film .text-link{color:#ebfff3!important}
.enber-project-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin-top:22px}
.enber-project-watch{appearance:none;cursor:pointer;border:1px solid rgba(186,244,204,.57);background:rgba(13,43,29,.65);color:#fff;border-radius:100px;padding:12px 18px;font:inherit;font-weight:700;backdrop-filter:blur(8px);transition:background .2s ease}
.enber-project-watch:hover,.enber-project-watch:focus-visible{background:#2b7650;outline-offset:3px}
.enber-project-video-dialog{position:fixed;inset:0;margin:auto;border:1px solid #356249;border-radius:18px;padding:0;width:min(94vw,1100px);max-height:94vh;background:#081c14;color:#fff;box-shadow:0 30px 100px #0009;overflow:hidden}
.enber-project-video-dialog::backdrop{background:rgba(0,9,6,.85);backdrop-filter:blur(5px)}
.enber-project-dialog-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 20px;color:#b4e1c7;font-size:12px;letter-spacing:.12em}
.enber-project-dialog-bar button{border:1px solid #466752;border-radius:50%;height:36px;width:36px;background:#183b2a;color:white;cursor:pointer;font-size:16px}
.enber-project-video-dialog video{width:100%;max-height:calc(94vh - 64px);display:block;object-fit:contain;background:#040b07}
@media(max-width:700px){.enber-project-detail-hero{min-height:320px;padding:50px 0!important}.enber-project-detail-hero.enber-project-has-film::after{background:linear-gradient(90deg,rgba(5,20,15,.90),rgba(5,20,15,.53))}.enber-project-hero-actions{gap:12px}.enber-project-watch{font-size:13px}}
@media(prefers-reduced-motion:reduce){.enber-project-hero-video{display:none}}

/* V9.2 — Keep full-bleed footage, restore original shell alignment. */
.enber-project-detail-hero .shell.enber-project-hero-content {
  box-sizing:border-box;
  width:min(1376px, calc(100% - 96px));
  max-width:1376px;
  margin-inline:auto;
  flex:0 1 auto;
  min-width:0;
}
.enber-project-detail-hero .enber-project-hero-content h1 {
  overflow-wrap:break-word;
}
@media(max-width:700px){
  .enber-project-detail-hero .shell.enber-project-hero-content{
    width:calc(100% - 32px);
  }
}
